instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: tries against is 55, what is the try bonus? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (try_bonus VARCHAR, tries_against VARCHAR) | SELECT try_bonus FROM table_name_80 WHERE tries_against = "55" |
Write a SQL query that answers the following question: tries against is 29, what is the points against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (points_against VARCHAR, tries_against VARCHAR) | SELECT points_against FROM table_name_97 WHERE tries_against = "29" |
Write a SQL query that answers the following question: tries against correct as of 2007-10-15 has what tries for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (tries_for VARCHAR, tries_against VARCHAR) | SELECT tries_for FROM table_name_54 WHERE tries_against = "correct as of 2007-10-15" |
Write a SQL query that answers the following question: tries against correct as of 2007-10-15 has what tries for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (tries_for VARCHAR, tries_against VARCHAR) | SELECT tries_for FROM table_name_31 WHERE tries_against = "correct as of 2007-10-15" |
Write a SQL query that answers the following question: tries against is 88, played is 22, what is the lost? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (lost VARCHAR, played VARCHAR, tries_against VARCHAR) | SELECT lost FROM table_name_57 WHERE played = "22" AND tries_against = "88" |
Write a SQL query that answers the following question: Who won silver in the year before 2010, the year Chan Ming Shu won gold? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (silver VARCHAR, year VARCHAR, gold VARCHAR) | SELECT silver FROM table_name_21 WHERE year < 2010 AND gold = "chan ming shu" |
Write a SQL query that answers the following question: What is the location for the year under 2010 and the year Hei Zhi Hong won silver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (location VARCHAR, year VARCHAR, silver VARCHAR) | SELECT location FROM table_name_67 WHERE year < 2010 AND silver = "hei zhi hong" |
Write a SQL query that answers the following question: Which location had a year over 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (location VARCHAR, year INTEGER) | SELECT location FROM table_name_68 WHERE year > 2006 |
Write a SQL query that answers the following question: Score F–A of 2–0, and a Opponents of walsall has what date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (date VARCHAR, score_f_a VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_49 WHERE score_f_a = "2–0" AND opponents = "walsall" |
Write a SQL query that answers the following question: Score F–A of 3–0, and a Date of 31 july 2007 had what opponents? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (opponents VARCHAR, score_f_a VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_13 WHERE score_f_a = "3–0" AND date = "31 july 2007" |
Write a SQL query that answers the following question: Opponents of sheffield wednesday had what date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (date VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_81 WHERE opponents = "sheffield wednesday" |
Write a SQL query that answers the following question: Opponents of sheffield wednesday had what date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (date VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_63 WHERE opponents = "sheffield wednesday" |
Write a SQL query that answers the following question: Date of 4 august 2007 had what opponents? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (opponents VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_17 WHERE date = "4 august 2007" |
Write a SQL query that answers the following question: WHich Position has a Player of david laliberte? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_50 WHERE player = "david laliberte" |
Write a SQL query that answers the following question: Which Position has a Player of gino pisellini? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_13 WHERE player = "gino pisellini" |
Write a SQL query that answers the following question: What is the winning score of standard register ping tournament, which has Kelly Robbins as the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (winning_score VARCHAR, tournament VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_46 WHERE tournament = "standard register ping" AND runner_s__up = "kelly robbins" |
Write a SQL query that answers the following question: What is the winning score of the tournament on 16 May 1993? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (winning_score VARCHAR, date VARCHAR) | SELECT winning_score FROM table_name_20 WHERE date = "16 may 1993" |
Write a SQL query that answers the following question: What is the margin of victory of the tournament on 5 Jun 1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (margin_of_victory VARCHAR, date VARCHAR) | SELECT margin_of_victory FROM table_name_75 WHERE date = "5 jun 1988" |
Write a SQL query that answers the following question: What is the winning scor of the tournament with Robin Walton as the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_88 WHERE runner_s__up = "robin walton" |
Write a SQL query that answers the following question: which NHL team has a College/Junior/Club Team (League) of shattuck-saint mary's school (midget major aaa)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR) | SELECT nhl_team FROM table_name_63 WHERE college_junior_club_team__league_ = "shattuck-saint mary's school (midget major aaa)" |
Write a SQL query that answers the following question: How many Rounds have a Nationality of canada, and a College/Junior/Club Team (League) of fort mcmurray oil barons (ajhl)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (round VARCHAR, nationality VARCHAR, college_junior_club_team__league_ VARCHAR) | SELECT COUNT(round) FROM table_name_66 WHERE nationality = "canada" AND college_junior_club_team__league_ = "fort mcmurray oil barons (ajhl)" |
Write a SQL query that answers the following question: Which Round has a NHL team of edmonton oilers and a Player of vyacheslav trukhno? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (round INTEGER, nhl_team VARCHAR, player VARCHAR) | SELECT AVG(round) FROM table_name_12 WHERE nhl_team = "edmonton oilers" AND player = "vyacheslav trukhno" |
Write a SQL query that answers the following question: Which Round has a Nationality of united states, and a College/Junior/Club Team (League) of breck school (ushs)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (round INTEGER, nationality VARCHAR, college_junior_club_team__league_ VARCHAR) | SELECT MIN(round) FROM table_name_19 WHERE nationality = "united states" AND college_junior_club_team__league_ = "breck school (ushs)" |
Write a SQL query that answers the following question: What is the max 1-min wind mph when the minimum press is 997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (max_1_min_wind_mph__km_h_ VARCHAR, min_press___mbar__ VARCHAR) | SELECT max_1_min_wind_mph__km_h_ FROM table_name_57 WHERE min_press___mbar__ = "997" |
Write a SQL query that answers the following question: How many deaths occurred during Darby? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (deaths VARCHAR, storm_name VARCHAR) | SELECT deaths FROM table_name_64 WHERE storm_name = "darby" |
Write a SQL query that answers the following question: What is the distance from Jaffa of Jerusalem station? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (distance_from_jaffa VARCHAR, name_location VARCHAR) | SELECT distance_from_jaffa FROM table_name_1 WHERE name_location = "jerusalem" |
Write a SQL query that answers the following question: What visitor has February 11 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_37 WHERE date = "february 11" |
Write a SQL query that answers the following question: Which venue is the friendly match in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (venue VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_7 WHERE competition = "friendly match" |
Write a SQL query that answers the following question: What is the result of the friendly match in Seoul? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (result VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT result FROM table_name_47 WHERE competition = "friendly match" AND venue = "seoul" |
Write a SQL query that answers the following question: What is the result of the 2007 AFC asian cup? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (result VARCHAR, competition VARCHAR) | SELECT result FROM table_name_19 WHERE competition = "2007 afc asian cup" |
Write a SQL query that answers the following question: Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_34 WHERE margin_of_victory = "1 stroke" AND tournament = "world seniors invitational" |
Write a SQL query that answers the following question: Which Runner(s)-up has a Tournament of general foods pga seniors' championship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (runner_s__up VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_65 WHERE tournament = "general foods pga seniors' championship" |
Write a SQL query that answers the following question: Which Tournament has a Margin of victory of 2 strokes, and a Winning score of −14 (68-66-68=202)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_name_10 WHERE margin_of_victory = "2 strokes" AND winning_score = −14(68 - 66 - 68 = 202) |
Write a SQL query that answers the following question: Which Date has a Winning score of −9 (70-64-70=203)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (date VARCHAR, winning_score VARCHAR) | SELECT date FROM table_name_19 WHERE winning_score = −9(70 - 64 - 70 = 203) |
Write a SQL query that answers the following question: What was the High points when date was February 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_55 WHERE date = "february 11" |
Write a SQL query that answers the following question: What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (team VARCHAR, high_rebounds VARCHAR, record VARCHAR) | SELECT team FROM table_name_86 WHERE high_rebounds = "popeye jones (14)" AND record = "16-28" |
Write a SQL query that answers the following question: What is the Location Attendance when the Date was February 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_83 WHERE date = "february 27" |
Write a SQL query that answers the following question: What is the score of the scores when Game had a Record of 17-29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (game INTEGER, record VARCHAR) | SELECT SUM(game) FROM table_name_27 WHERE record = "17-29" |
Write a SQL query that answers the following question: Who has the lead on Lisa Weagle? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (skip VARCHAR, lead VARCHAR) | SELECT skip FROM table_name_80 WHERE lead = "lisa weagle" |
Write a SQL query that answers the following question: Which event shows Matt St. Louis in second and a skip of John Morris? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (event VARCHAR, skip VARCHAR, second VARCHAR) | SELECT event FROM table_name_24 WHERE skip = "john morris" AND second = "matt st. louis" |
Write a SQL query that answers the following question: What are the highest attempts that have net yards less than 631, and 2 for the touchdowns? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (attempts INTEGER, net_yards VARCHAR, touchdowns VARCHAR) | SELECT MAX(attempts) FROM table_name_53 WHERE net_yards < 631 AND touchdowns = 2 |
Write a SQL query that answers the following question: What are the average net yards that have 9 as the touchdowns, 145 as the attempts, and yards per attempt greater than 4.8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (net_yards INTEGER, yards_per_attempt VARCHAR, touchdowns VARCHAR, attempts VARCHAR) | SELECT AVG(net_yards) FROM table_name_87 WHERE touchdowns = 9 AND attempts = 145 AND yards_per_attempt > 4.8 |
Write a SQL query that answers the following question: How many yards per attempt have net yards greater than 631? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (yards_per_attempt INTEGER, net_yards INTEGER) | SELECT SUM(yards_per_attempt) FROM table_name_17 WHERE net_yards > 631 |
Write a SQL query that answers the following question: What are the highest touchdowns that have net yards greater than 631, with attempts less than 145? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (touchdowns INTEGER, net_yards VARCHAR, attempts VARCHAR) | SELECT MAX(touchdowns) FROM table_name_34 WHERE net_yards > 631 AND attempts < 145 |
Write a SQL query that answers the following question: What is the value for Slalom in seasons later than 1994 and overall value greater than 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (slalom VARCHAR, season VARCHAR, overall VARCHAR) | SELECT slalom FROM table_name_90 WHERE season > 1994 AND overall > 22 |
Write a SQL query that answers the following question: How many seasons had a Super G of 2 and overall of 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (season VARCHAR, super_g VARCHAR, overall VARCHAR) | SELECT COUNT(season) FROM table_name_61 WHERE super_g = "2" AND overall = 3 |
Write a SQL query that answers the following question: Who was the Opponent in the Auckland, New Zealand Tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (opponent VARCHAR, tournament VARCHAR) | SELECT opponent FROM table_name_50 WHERE tournament = "auckland, new zealand" |
Write a SQL query that answers the following question: On what Date was Rafael Nadal the Opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_37 WHERE opponent = "rafael nadal" |
Write a SQL query that answers the following question: Who was the Opponent on a Hard (i) Surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (opponent VARCHAR, surface VARCHAR) | SELECT opponent FROM table_name_5 WHERE surface = "hard (i)" |
Write a SQL query that answers the following question: What was the Score at the Auckland, New Zealand Tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_7 WHERE tournament = "auckland, new zealand" |
Write a SQL query that answers the following question: What team plays in Dinamo, Brest? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (team VARCHAR, venue VARCHAR) | SELECT team FROM table_name_97 WHERE venue = "dinamo, brest" |
Write a SQL query that answers the following question: What team plays at Spartak, Mogilev? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (team VARCHAR, venue VARCHAR) | SELECT team FROM table_name_26 WHERE venue = "spartak, mogilev" |
Write a SQL query that answers the following question: Who was the Producer/Director of Fear Beneath? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (producer_director VARCHAR, film VARCHAR) | SELECT producer_director FROM table_name_40 WHERE film = "fear beneath" |
Write a SQL query that answers the following question: What film was released in 1996? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (film VARCHAR, year VARCHAR) | SELECT film FROM table_name_76 WHERE year = 1996 |
Write a SQL query that answers the following question: Who is the Producer/Director of Political Engagement? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (producer_director VARCHAR, film VARCHAR) | SELECT producer_director FROM table_name_67 WHERE film = "political engagement" |
Write a SQL query that answers the following question: What is the original airdate for episode 7-17 (195) from writer Sidney Slon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (original_airdate VARCHAR, writer_s_ VARCHAR, episode VARCHAR) | SELECT original_airdate FROM table_name_5 WHERE writer_s_ = "sidney slon" AND episode = "7-17 (195)" |
Write a SQL query that answers the following question: What is the date of the tournament played in Madrid, Spain? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_90 WHERE tournament = "madrid, spain" |
Write a SQL query that answers the following question: What opponent has final as the round? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_34 WHERE round = "final" |
Write a SQL query that answers the following question: What round has hereford united as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_50 WHERE opponent = "hereford united" |
Write a SQL query that answers the following question: Which Location /State has a Winner of craig lowndes, and a Date of 29–31 may? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (location___state VARCHAR, winner VARCHAR, date VARCHAR) | SELECT location___state FROM table_name_67 WHERE winner = "craig lowndes" AND date = "29–31 may" |
Write a SQL query that answers the following question: Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (team VARCHAR, winner VARCHAR, circuit VARCHAR) | SELECT team FROM table_name_69 WHERE winner = "craig lowndes" AND circuit = "phillip island grand prix circuit" |
Write a SQL query that answers the following question: Which Location/ State has a Date of 29–31 may? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (location___state VARCHAR, date VARCHAR) | SELECT location___state FROM table_name_36 WHERE date = "29–31 may" |
Write a SQL query that answers the following question: Who won at the Circuit of lakeside international raceway? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (winner VARCHAR, circuit VARCHAR) | SELECT winner FROM table_name_89 WHERE circuit = "lakeside international raceway" |
Write a SQL query that answers the following question: What is the service charge of the boat howitzers with 456 made? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (service_charge VARCHAR, number_made VARCHAR) | SELECT service_charge FROM table_name_38 WHERE number_made = 456 |
Write a SQL query that answers the following question: What is the service chage of the boat howitzers with a 12-pdr light destination? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (service_charge VARCHAR, designation VARCHAR) | SELECT service_charge FROM table_name_42 WHERE designation = "12-pdr light" |
Write a SQL query that answers the following question: What is the service charge of the boat howitzers with 1009 made? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (service_charge VARCHAR, number_made VARCHAR) | SELECT service_charge FROM table_name_9 WHERE number_made = 1009 |
Write a SQL query that answers the following question: What is the bore of the boat howitzers with a 12-pdr heavy designation? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (bore VARCHAR, designation VARCHAR) | SELECT bore FROM table_name_8 WHERE designation = "12-pdr heavy" |
Write a SQL query that answers the following question: Which attendance has 9 as the tie no.? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (attendance VARCHAR, tie_no VARCHAR) | SELECT attendance FROM table_name_43 WHERE tie_no = 9 |
Write a SQL query that answers the following question: How many Picks have a Position of defensive end, and an Overall smaller than 33? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (pick__number VARCHAR, position VARCHAR, overall VARCHAR) | SELECT COUNT(pick__number) FROM table_name_22 WHERE position = "defensive end" AND overall < 33 |
Write a SQL query that answers the following question: Which Overall is the highest one that has a Name of gregory spann, and a Pick # larger than 19? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (overall INTEGER, name VARCHAR, pick__number VARCHAR) | SELECT MAX(overall) FROM table_name_9 WHERE name = "gregory spann" AND pick__number > 19 |
Write a SQL query that answers the following question: Which Pick # has a Round larger than 5, and a Position of wide receiver, and a Name of gregory spann, and an Overall larger than 228? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (pick__number INTEGER, overall VARCHAR, name VARCHAR, round VARCHAR, position VARCHAR) | SELECT AVG(pick__number) FROM table_name_67 WHERE round > 5 AND position = "wide receiver" AND name = "gregory spann" AND overall > 228 |
Write a SQL query that answers the following question: What is the score from the 21-27 Record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_96 WHERE record = "21-27" |
Write a SQL query that answers the following question: How many people attended the May 28 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_99 WHERE date = "may 28" |
Write a SQL query that answers the following question: What is the average drawn number of the team with less than 70 points and less than 46 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (drawn INTEGER, points VARCHAR, played VARCHAR) | SELECT AVG(drawn) FROM table_name_76 WHERE points < 70 AND played < 46 |
Write a SQL query that answers the following question: What is the highest position of the team with 24 lost and a drawn greater than 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (position INTEGER, lost VARCHAR, drawn VARCHAR) | SELECT MAX(position) FROM table_name_62 WHERE lost = 24 AND drawn > 9 |
Write a SQL query that answers the following question: How many Points has a Game of 82 and a April larger than 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (points INTEGER, game VARCHAR, april VARCHAR) | SELECT AVG(points) FROM table_name_11 WHERE game = 82 AND april > 10 |
Write a SQL query that answers the following question: How many Games have a Score of 3–3 ot? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (game VARCHAR, score VARCHAR) | SELECT COUNT(game) FROM table_name_98 WHERE score = "3–3 ot" |
Write a SQL query that answers the following question: Which April has a Game of 84 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (april INTEGER, game VARCHAR) | SELECT MAX(april) FROM table_name_54 WHERE game = 84 |
Write a SQL query that answers the following question: what's the played status when the club was banwen rfc? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (played VARCHAR, club VARCHAR) | SELECT played FROM table_name_88 WHERE club = "banwen rfc" |
Write a SQL query that answers the following question: what's the points total when points against was points against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (points_for VARCHAR, points_against VARCHAR) | SELECT points_for FROM table_name_8 WHERE points_against = "points against" |
Write a SQL query that answers the following question: when points were 36 and points against 489 what is the lost? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (lost VARCHAR, points VARCHAR, points_against VARCHAR) | SELECT lost FROM table_name_58 WHERE points = "36" AND points_against = "489" |
Write a SQL query that answers the following question: when points against was 387 what was the lost? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (lost VARCHAR, points_against VARCHAR) | SELECT lost FROM table_name_8 WHERE points_against = "387" |
Write a SQL query that answers the following question: when points for was points for what was the points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (points VARCHAR, points_for VARCHAR) | SELECT points FROM table_name_86 WHERE points_for = "points for" |
Write a SQL query that answers the following question: What was 1948's pick? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (pick VARCHAR, year VARCHAR) | SELECT pick FROM table_name_72 WHERE year = 1948 |
Write a SQL query that answers the following question: What was the pick in 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (pick VARCHAR, year VARCHAR) | SELECT pick FROM table_name_24 WHERE year = 2004 |
Write a SQL query that answers the following question: How many years have a Pick of 12, and a Position of dt, and a College of penn state? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (year VARCHAR, college VARCHAR, pick VARCHAR, position VARCHAR) | SELECT COUNT(year) FROM table_name_20 WHERE pick = "12" AND position = "dt" AND college = "penn state" |
Write a SQL query that answers the following question: What is the scoring average where the wins are 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (scoring_average VARCHAR, wins INTEGER) | SELECT COUNT(scoring_average) FROM table_name_56 WHERE wins < 0 |
Write a SQL query that answers the following question: What year has earnings of $557,158? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (year INTEGER, earnings__$_ VARCHAR) | SELECT MAX(year) FROM table_name_25 WHERE earnings__$_ = "557,158" |
Write a SQL query that answers the following question: Which Points have an Opponent of @ florida panthers, and a Game larger than 58? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (points INTEGER, opponent VARCHAR, game VARCHAR) | SELECT MIN(points) FROM table_name_17 WHERE opponent = "@ florida panthers" AND game > 58 |
Write a SQL query that answers the following question: Which February has a Game of 64? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (february INTEGER, game VARCHAR) | SELECT AVG(february) FROM table_name_77 WHERE game = 64 |
Write a SQL query that answers the following question: Which Points have a Game smaller than 60, and a Score of 2–0, and a February larger than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (points INTEGER, february VARCHAR, game VARCHAR, score VARCHAR) | SELECT AVG(points) FROM table_name_99 WHERE game < 60 AND score = "2–0" AND february > 1 |
Write a SQL query that answers the following question: Which Game is the highest one that has a February of 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (game INTEGER, february VARCHAR) | SELECT MAX(game) FROM table_name_96 WHERE february = 25 |
Write a SQL query that answers the following question: Which Game is the highest one that has a Score of 3–4 ot, and Points larger than 75? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (game INTEGER, score VARCHAR, points VARCHAR) | SELECT MAX(game) FROM table_name_96 WHERE score = "3–4 ot" AND points > 75 |
Write a SQL query that answers the following question: How much February has a Score of 5–2, and Points of 70? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (february VARCHAR, score VARCHAR, points VARCHAR) | SELECT COUNT(february) FROM table_name_44 WHERE score = "5–2" AND points = 70 |
Write a SQL query that answers the following question: Which result happened more recently than week 2, and had a date of November 30, 1958? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (result VARCHAR, week VARCHAR, date VARCHAR) | SELECT result FROM table_name_98 WHERE week > 2 AND date = "november 30, 1958" |
Write a SQL query that answers the following question: what album is 4:30 long | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (album VARCHAR, length VARCHAR) | SELECT album FROM table_name_95 WHERE length = "4:30" |
Write a SQL query that answers the following question: What is the Head Coach of Novy Urengoy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (head_coach VARCHAR, town VARCHAR) | SELECT head_coach FROM table_name_43 WHERE town = "novy urengoy" |
Write a SQL query that answers the following question: What is the Arena o Kazan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (arena__capacity_ VARCHAR, town VARCHAR) | SELECT arena__capacity_ FROM table_name_19 WHERE town = "kazan" |
Write a SQL query that answers the following question: What is the Website of Head Coach Yuriy Korotkevich? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (website VARCHAR, head_coach VARCHAR) | SELECT website FROM table_name_49 WHERE head_coach = "yuriy korotkevich" |
Write a SQL query that answers the following question: Opponents of sebastián decoud santiago giraldo had what surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (surface VARCHAR, opponents VARCHAR) | SELECT surface FROM table_name_71 WHERE opponents = "sebastián decoud santiago giraldo" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.