instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the average week number for games that had 28,800 fans in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (week INTEGER, attendance VARCHAR) | SELECT AVG(week) FROM table_name_19 WHERE attendance = "28,800" |
Write a SQL query that answers the following question: Who did the argonauts play against during the game that had 19,423 fans in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_45 WHERE attendance = "19,423" |
Write a SQL query that answers the following question: What was Juli's winning margin on Aug 24, 1986? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (margin_of_victory VARCHAR, date VARCHAR) | SELECT margin_of_victory FROM table_name_10 WHERE date = "aug 24, 1986" |
Write a SQL query that answers the following question: What was the margin of victory at the LPGA Championship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_65 WHERE tournament = "lpga championship" |
Write a SQL query that answers the following question: What is the highest value for Ties, when Losses is less than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (ties INTEGER, losses INTEGER) | SELECT MAX(ties) FROM table_name_72 WHERE losses < 8 |
Write a SQL query that answers the following question: What is the total number of Losses, when Ties is 2, and when Wins is greater than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (losses VARCHAR, ties VARCHAR, wins VARCHAR) | SELECT COUNT(losses) FROM table_name_81 WHERE ties = 2 AND wins > 8 |
Write a SQL query that answers the following question: What is the highest React that has a 7.61 Mark and a heat bigger than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (react INTEGER, mark VARCHAR, heat VARCHAR) | SELECT MAX(react) FROM table_name_84 WHERE mark = "7.61" AND heat > 1 |
Write a SQL query that answers the following question: What is the Cause of death of the Officer with a Date of death of 1956-09-07? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (cause_of_death VARCHAR, date_of_death VARCHAR) | SELECT cause_of_death FROM table_name_49 WHERE date_of_death = "1956-09-07" |
Write a SQL query that answers the following question: What is the Tenure of the Officer who died in a helicopter accident with Badge/Serial Number 16805? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (tenure VARCHAR, cause_of_death VARCHAR, badge_serial_number VARCHAR) | SELECT tenure FROM table_name_95 WHERE cause_of_death = "helicopter accident" AND badge_serial_number = "16805" |
Write a SQL query that answers the following question: What is the Badge/Serial Number of the Policeman who died in Gunfire on 1919-02-18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (badge_serial_number VARCHAR, date_of_death VARCHAR, rank VARCHAR, cause_of_death VARCHAR) | SELECT badge_serial_number FROM table_name_58 WHERE rank = "policeman" AND cause_of_death = "gunfire" AND date_of_death = "1919-02-18" |
Write a SQL query that answers the following question: What is the Rank of the Officer with Badge/Serial Number 11755 who died in Gunfire? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (rank VARCHAR, cause_of_death VARCHAR, badge_serial_number VARCHAR) | SELECT rank FROM table_name_17 WHERE cause_of_death = "gunfire" AND badge_serial_number = "11755" |
Write a SQL query that answers the following question: What is Team, when Tries Against is 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (team VARCHAR, tries_against VARCHAR) | SELECT team FROM table_name_40 WHERE tries_against = "8" |
Write a SQL query that answers the following question: What is Tries Against, when Tries For is 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (tries_against VARCHAR, tries_for VARCHAR) | SELECT tries_against FROM table_name_22 WHERE tries_for = "20" |
Write a SQL query that answers the following question: What is Tries Against, when Points For is 98? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (tries_against VARCHAR, points_for VARCHAR) | SELECT tries_against FROM table_name_22 WHERE points_for = "98" |
Write a SQL query that answers the following question: What is Points Against, when Try Diff is +22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (points_against VARCHAR, try_diff VARCHAR) | SELECT points_against FROM table_name_88 WHERE try_diff = "+22" |
Write a SQL query that answers the following question: What is Record, when Event is "Independent Event", and when Method is "Submission (Peruvian Necktie)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (record VARCHAR, event VARCHAR, method VARCHAR) | SELECT record FROM table_name_2 WHERE event = "independent event" AND method = "submission (peruvian necktie)" |
Write a SQL query that answers the following question: What is Event, when Method is "Submission (Armbar)", and when Opponent is "Jason St. Louis"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (event VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_54 WHERE method = "submission (armbar)" AND opponent = "jason st. louis" |
Write a SQL query that answers the following question: What is Res., when Event is "KOTC 11 - Domination"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (res VARCHAR, event VARCHAR) | SELECT res FROM table_name_81 WHERE event = "kotc 11 - domination" |
Write a SQL query that answers the following question: How many were in attendance with a Result of l 17–10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_76 WHERE result = "l 17–10" |
Write a SQL query that answers the following question: How many were in attendance in a week lower than 5 with a Bye result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (attendance VARCHAR, week VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_69 WHERE week < 5 AND result = "bye" |
Write a SQL query that answers the following question: On what date was the result w 26–20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_54 WHERE result = "w 26–20" |
Write a SQL query that answers the following question: Who was the opponent in a week below 14 on October 10, 1993? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_18 WHERE week < 14 AND date = "october 10, 1993" |
Write a SQL query that answers the following question: Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (top_5 INTEGER, position VARCHAR, year VARCHAR) | SELECT AVG(top_5) FROM table_name_29 WHERE position = "52nd" AND year < 2000 |
Write a SQL query that answers the following question: Name the average Wins which has a Top 10 smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (wins INTEGER, top_10 INTEGER) | SELECT AVG(wins) FROM table_name_5 WHERE top_10 < 0 |
Write a SQL query that answers the following question: Which Points Classification does the General Classification of Cyril Dessel have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (points_classification VARCHAR, general_classification VARCHAR) | SELECT points_classification FROM table_name_9 WHERE general_classification = "cyril dessel" |
Write a SQL query that answers the following question: What is the Team Classification if the Winner is Cyril Dessel? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (team_classification VARCHAR, winner VARCHAR) | SELECT team_classification FROM table_name_30 WHERE winner = "cyril dessel" |
Write a SQL query that answers the following question: In the final Stage with a Mountains Classification of Christophe Moreau, what is the Team Classification? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (team_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR) | SELECT team_classification FROM table_name_8 WHERE mountains_classification = "christophe moreau" AND stage = "final" |
Write a SQL query that answers the following question: What is the Mountains Classification for Winner Thor hushovd with Sprints Classification of no award? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (mountains_classification VARCHAR, winner VARCHAR, sprints_classification VARCHAR) | SELECT mountains_classification FROM table_name_94 WHERE winner = "thor hushovd" AND sprints_classification = "no award" |
Write a SQL query that answers the following question: What is the Mountains Classification for Winner josé luis carrasco? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (mountains_classification VARCHAR, winner VARCHAR) | SELECT mountains_classification FROM table_name_2 WHERE winner = "josé luis carrasco" |
Write a SQL query that answers the following question: Which channel has Joel Meyers as the Play by play commentator? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (channel VARCHAR, play_by_play VARCHAR) | SELECT channel FROM table_name_71 WHERE play_by_play = "joel meyers" |
Write a SQL query that answers the following question: Who is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (studio_host VARCHAR, play_by_play VARCHAR, studio_analysts VARCHAR) | SELECT studio_host FROM table_name_19 WHERE play_by_play = "paul sunderland" AND studio_analysts = "jack haley" |
Write a SQL query that answers the following question: Who is the studio host for the game broadcasted by Fox Sports Net west and has Chick Hearn as the play by play commentator ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (studio_host VARCHAR, channel VARCHAR, play_by_play VARCHAR) | SELECT studio_host FROM table_name_57 WHERE channel = "fox sports net west" AND play_by_play = "chick hearn" |
Write a SQL query that answers the following question: Who is the play by play commentator for the game that has Alan Massengale as Studio Host? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (play_by_play VARCHAR, studio_host VARCHAR) | SELECT play_by_play FROM table_name_17 WHERE studio_host = "alan massengale" |
Write a SQL query that answers the following question: which channel will have play by play commentator Paul Sunderland, Studio Host Bill Macdonald and Studi Analysty Jack Haley? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (channel VARCHAR, studio_analysts VARCHAR, play_by_play VARCHAR, studio_host VARCHAR) | SELECT channel FROM table_name_82 WHERE play_by_play = "paul sunderland" AND studio_host = "bill macdonald" AND studio_analysts = "jack haley" |
Write a SQL query that answers the following question: How many Assists have a Club of adler mannheim, and Points larger than 57? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (assists INTEGER, club VARCHAR, points VARCHAR) | SELECT SUM(assists) FROM table_name_60 WHERE club = "adler mannheim" AND points > 57 |
Write a SQL query that answers the following question: How many points have 41 assists? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (points INTEGER, assists VARCHAR) | SELECT SUM(points) FROM table_name_28 WHERE assists = 41 |
Write a SQL query that answers the following question: Which Goals have a Player of david mcllwain, and Games larger than 52? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (goals INTEGER, player VARCHAR, games VARCHAR) | SELECT MAX(goals) FROM table_name_7 WHERE player = "david mcllwain" AND games > 52 |
Write a SQL query that answers the following question: Which Platform is the one that has a Stop number of 99014? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (platform VARCHAR, stop_no VARCHAR) | SELECT platform FROM table_name_28 WHERE stop_no = "99014" |
Write a SQL query that answers the following question: Which Line has a Platform of 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (line VARCHAR, platform VARCHAR) | SELECT line FROM table_name_62 WHERE platform = "3" |
Write a SQL query that answers the following question: Which Destination has a Stopping pattern of [2777] mciver station platforms? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (destination VARCHAR, stopping_pattern VARCHAR) | SELECT destination FROM table_name_47 WHERE stopping_pattern = "[2777] mciver station platforms" |
Write a SQL query that answers the following question: Which Stop # has a Platform of [2777] mciver station platforms? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (stop_no VARCHAR, platform VARCHAR) | SELECT stop_no FROM table_name_50 WHERE platform = "[2777] mciver station platforms" |
Write a SQL query that answers the following question: Which Line has a Stopping pattern of all stations, A, b, p? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (line VARCHAR, stopping_pattern VARCHAR) | SELECT line FROM table_name_59 WHERE stopping_pattern = "all stations, a, b, p" |
Write a SQL query that answers the following question: Which Stopping pattern has a Platform of [2777] mciver station platforms? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (stopping_pattern VARCHAR, platform VARCHAR) | SELECT stopping_pattern FROM table_name_50 WHERE platform = "[2777] mciver station platforms" |
Write a SQL query that answers the following question: Who was runner-up at Berlin when the result was 2-0 with 100,000 fans in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (runner_up VARCHAR, attendance VARCHAR, venue VARCHAR, result VARCHAR) | SELECT runner_up FROM table_name_20 WHERE venue = "berlin" AND result = "2-0" AND attendance = "100,000" |
Write a SQL query that answers the following question: Who was the champion at berlin when the result was 2-0 with 100,000 fans in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (champion VARCHAR, result VARCHAR, venue VARCHAR, attendance VARCHAR) | SELECT champion FROM table_name_65 WHERE venue = "berlin" AND attendance = "100,000" AND result = "2-0" |
Write a SQL query that answers the following question: What year had an attendance of 90,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (year VARCHAR, attendance VARCHAR) | SELECT year FROM table_name_38 WHERE attendance = "90,000" |
Write a SQL query that answers the following question: What is the sum of the years where the attendance was 95,000 and the runner-up was dresdner sc? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (year INTEGER, attendance VARCHAR, runner_up VARCHAR) | SELECT SUM(year) FROM table_name_39 WHERE attendance = "95,000" AND runner_up = "dresdner sc" |
Write a SQL query that answers the following question: Who was the champion when the attendance was 70,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (champion VARCHAR, attendance VARCHAR) | SELECT champion FROM table_name_43 WHERE attendance = "70,000" |
Write a SQL query that answers the following question: What is the Height (ft) of the Churchill House with a Height (m) less than 59? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (height__ft_ VARCHAR, name VARCHAR, height__m_ VARCHAR) | SELECT COUNT(height__ft_) FROM table_name_12 WHERE name = "churchill house" AND height__m_ < 59 |
Write a SQL query that answers the following question: Total for 1994, 1997 years won? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (total INTEGER, year_s__won VARCHAR) | SELECT SUM(total) FROM table_name_33 WHERE year_s__won = "1994, 1997" |
Write a SQL query that answers the following question: Player than won in 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (player VARCHAR, year_s__won VARCHAR) | SELECT player FROM table_name_94 WHERE year_s__won = "2003" |
Write a SQL query that answers the following question: Average total for jim furyk? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (total INTEGER, player VARCHAR) | SELECT AVG(total) FROM table_name_33 WHERE player = "jim furyk" |
Write a SQL query that answers the following question: Which record had a visitor of New Jersey Devils on May 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (record VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT record FROM table_name_78 WHERE visitor = "new jersey devils" AND date = "may 7" |
Write a SQL query that answers the following question: What was the record on May 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_44 WHERE date = "may 8" |
Write a SQL query that answers the following question: What is Nelspruit's population? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (population__2013_ VARCHAR, largest_city VARCHAR) | SELECT COUNT(population__2013_) FROM table_name_74 WHERE largest_city = "nelspruit" |
Write a SQL query that answers the following question: Which Time has a Round of 3, and a Record of 2–0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (time VARCHAR, round VARCHAR, record VARCHAR) | SELECT time FROM table_name_12 WHERE round = 3 AND record = "2–0" |
Write a SQL query that answers the following question: What were the average laps on a grid of 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (laps INTEGER, grid VARCHAR) | SELECT AVG(laps) FROM table_name_37 WHERE grid = 11 |
Write a SQL query that answers the following question: Where is the location with a record of 50-19? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_34 WHERE record = "50-19" |
Write a SQL query that answers the following question: Which game had a record of 45-16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (game INTEGER, record VARCHAR) | SELECT AVG(game) FROM table_name_12 WHERE record = "45-16" |
Write a SQL query that answers the following question: Which game is located in Boston Garden and has a record of 49-17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (game VARCHAR, location VARCHAR, record VARCHAR) | SELECT game FROM table_name_81 WHERE location = "boston garden" AND record = "49-17" |
Write a SQL query that answers the following question: What is the largest 1st LBSC number with a LBSC Name of northcote? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (lbsc_name VARCHAR) | SELECT MAX(1 AS st_lbsc_no) FROM table_name_23 WHERE lbsc_name = "northcote" |
Write a SQL query that answers the following question: What is the result when the round shows 34? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (result VARCHAR, round VARCHAR) | SELECT result FROM table_name_17 WHERE round = 34 |
Write a SQL query that answers the following question: What is the venue when Woking was the opponent, and the round was less than 29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (venue VARCHAR, opponent VARCHAR, round VARCHAR) | SELECT venue FROM table_name_28 WHERE opponent = "woking" AND round < 29 |
Write a SQL query that answers the following question: What is the round number when the opponent was Wrexham, and the venue shows as Away? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (round VARCHAR, opponent VARCHAR, venue VARCHAR) | SELECT COUNT(round) FROM table_name_19 WHERE opponent = "wrexham" AND venue = "away" |
Write a SQL query that answers the following question: what is the lowest position when the name is esv türkheim, and Drawn more than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (position INTEGER, name VARCHAR, drawn VARCHAR) | SELECT MIN(position) FROM table_name_12 WHERE name = "esv türkheim" AND drawn > 0 |
Write a SQL query that answers the following question: what is the highest drawn when played is more than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (drawn INTEGER, played INTEGER) | SELECT MAX(drawn) FROM table_name_79 WHERE played > 14 |
Write a SQL query that answers the following question: what is the least drawn when the name is sv apfeldorf and the position is more than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (drawn INTEGER, name VARCHAR, position VARCHAR) | SELECT MIN(drawn) FROM table_name_94 WHERE name = "sv apfeldorf" AND position > 8 |
Write a SQL query that answers the following question: who is the winner when the team is mobil 1 racing? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (winner VARCHAR, team VARCHAR) | SELECT winner FROM table_name_31 WHERE team = "mobil 1 racing" |
Write a SQL query that answers the following question: what is the circuit when the date is 16 april? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (circuit VARCHAR, date VARCHAR) | SELECT circuit FROM table_name_60 WHERE date = "16 april" |
Write a SQL query that answers the following question: what is the circuit when the date is 4 june? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (circuit VARCHAR, date VARCHAR) | SELECT circuit FROM table_name_94 WHERE date = "4 june" |
Write a SQL query that answers the following question: what is the race title when the winner is dick johnson and the circuit is sandown raceway? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (race_title VARCHAR, winner VARCHAR, circuit VARCHAR) | SELECT race_title FROM table_name_53 WHERE winner = "dick johnson" AND circuit = "sandown raceway" |
Write a SQL query that answers the following question: On what date was the game 1 played at Portland? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (date VARCHAR, home_team VARCHAR, game VARCHAR) | SELECT date FROM table_name_73 WHERE home_team = "portland" AND game = "game 1" |
Write a SQL query that answers the following question: Who was the road team on May 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (road_team VARCHAR, date VARCHAR) | SELECT road_team FROM table_name_3 WHERE date = "may 2" |
Write a SQL query that answers the following question: Who was the road team on May 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (road_team VARCHAR, date VARCHAR) | SELECT road_team FROM table_name_24 WHERE date = "may 2" |
Write a SQL query that answers the following question: On what date did Portland play game 5 at home? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (date VARCHAR, home_team VARCHAR, game VARCHAR) | SELECT date FROM table_name_98 WHERE home_team = "portland" AND game = "game 5" |
Write a SQL query that answers the following question: Which game of the season was played on April 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (game VARCHAR, date VARCHAR) | SELECT game FROM table_name_5 WHERE date = "april 22" |
Write a SQL query that answers the following question: What is the highest round a fight lasted against masutatsu yano? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (round INTEGER, opponent VARCHAR) | SELECT MAX(round) FROM table_name_26 WHERE opponent = "masutatsu yano" |
Write a SQL query that answers the following question: What was the method of resolution when Katsuhisa Fujii's record was 0-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (method VARCHAR, record VARCHAR) | SELECT method FROM table_name_31 WHERE record = "0-1" |
Write a SQL query that answers the following question: What is the jersey number of the player from years 1986 – 1991 1997 – 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (jersey_number_s_ VARCHAR, years VARCHAR) | SELECT jersey_number_s_ FROM table_name_54 WHERE years = "1986 – 1991 1997 – 1999" |
Write a SQL query that answers the following question: What position was played by the player during 1986 – 1991 1997 – 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (position VARCHAR, years VARCHAR) | SELECT position FROM table_name_57 WHERE years = "1986 – 1991 1997 – 1999" |
Write a SQL query that answers the following question: During what years was the Jersey Numbers 34, 30 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (years VARCHAR, jersey_number_s_ VARCHAR) | SELECT years FROM table_name_13 WHERE jersey_number_s_ = "34, 30" |
Write a SQL query that answers the following question: What is Record, when Opponent is San Francisco Warriors? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_78 WHERE opponent = "san francisco warriors" |
Write a SQL query that answers the following question: What is H/A/N, when Date is October 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (h_a_n VARCHAR, date VARCHAR) | SELECT h_a_n FROM table_name_50 WHERE date = "october 31" |
Write a SQL query that answers the following question: What is Score, when Opponent is Atlanta Hawks? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_44 WHERE opponent = "atlanta hawks" |
Write a SQL query that answers the following question: What is H/A/N, when Record is 2-5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (h_a_n VARCHAR, record VARCHAR) | SELECT h_a_n FROM table_name_74 WHERE record = "2-5" |
Write a SQL query that answers the following question: What is Record, when Date is October 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_37 WHERE date = "october 31" |
Write a SQL query that answers the following question: What is Record, when H/A/N is n? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (record VARCHAR, h_a_n VARCHAR) | SELECT record FROM table_name_42 WHERE h_a_n = "n" |
Write a SQL query that answers the following question: What was the guage of the concessionaire ferrosur roca? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (gauge VARCHAR, concessionaire VARCHAR) | SELECT gauge FROM table_name_8 WHERE concessionaire = "ferrosur roca" |
Write a SQL query that answers the following question: What is the takeover date of the FA division mitre? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (takeover_date VARCHAR, fa_division_s_ VARCHAR) | SELECT takeover_date FROM table_name_19 WHERE fa_division_s_ = "mitre" |
Write a SQL query that answers the following question: What date was the tournament in Indian Wells? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_39 WHERE tournament = "indian wells" |
Write a SQL query that answers the following question: Who was the opponent in the math that was played in Nice on a clay court? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (opponent VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT opponent FROM table_name_23 WHERE surface = "clay" AND tournament = "nice" |
Write a SQL query that answers the following question: What was the score in the match against Sergi Bruguera? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_70 WHERE opponent = "sergi bruguera" |
Write a SQL query that answers the following question: What was the score of the tournament in Wellington? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_5 WHERE tournament = "wellington" |
Write a SQL query that answers the following question: Which race was in round 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (race_name VARCHAR, round VARCHAR) | SELECT race_name FROM table_name_10 WHERE round = 6 |
Write a SQL query that answers the following question: Which round did jonathan bomarito win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (round VARCHAR, winning_driver VARCHAR) | SELECT round FROM table_name_23 WHERE winning_driver = "jonathan bomarito" |
Write a SQL query that answers the following question: What race did the team Mi-Jack Conquest racing win with a pole position of andreas wirth? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (race_name VARCHAR, winning_team VARCHAR, pole_position VARCHAR) | SELECT race_name FROM table_name_16 WHERE winning_team = "mi-jack conquest racing" AND pole_position = "andreas wirth" |
Write a SQL query that answers the following question: What race after round 6 did Graham Rahal win with a pole position of graham rahal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (race_name VARCHAR, pole_position VARCHAR, winning_driver VARCHAR, round VARCHAR) | SELECT race_name FROM table_name_59 WHERE winning_driver = "graham rahal" AND round > 6 AND pole_position = "graham rahal" |
Write a SQL query that answers the following question: What pole position did 2006 gehl championship finale have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (pole_position VARCHAR, race_name VARCHAR) | SELECT pole_position FROM table_name_82 WHERE race_name = "2006 gehl championship finale" |
Write a SQL query that answers the following question: who is the player when the place is t5 and the score is 69-74=143? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_26 WHERE place = "t5" AND score = 69 - 74 = 143 |
Write a SQL query that answers the following question: what is the score when the country is united states, the to par is +2 and the player is phil hancock? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (score VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT score FROM table_name_49 WHERE country = "united states" AND to_par = "+2" AND player = "phil hancock" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.