instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the record of game 26 with beno udrih (4) as the highest assists? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (record VARCHAR, high_assists VARCHAR, game VARCHAR) | SELECT record FROM table_name_41 WHERE high_assists = "beno udrih (4)" AND game = 26 |
Write a SQL query that answers the following question: What is the score of game 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_37 WHERE game = 25 |
Write a SQL query that answers the following question: WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (draw INTEGER, song VARCHAR, points VARCHAR) | SELECT MAX(draw) FROM table_name_73 WHERE song = "u ritmu ljubavi" AND points > 87 |
Write a SQL query that answers the following question: WHAT IS THE DRAW FOR PERFORMER ANDREA CUBRIC? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (draw VARCHAR, performer VARCHAR) | SELECT draw FROM table_name_76 WHERE performer = "andrea cubric" |
Write a SQL query that answers the following question: What is the game number when the record is 30-22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (game INTEGER, record VARCHAR) | SELECT AVG(game) FROM table_name_77 WHERE record = "30-22" |
Write a SQL query that answers the following question: At what location was the score W 82-76? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (location VARCHAR, score VARCHAR) | SELECT location FROM table_name_68 WHERE score = "w 82-76" |
Write a SQL query that answers the following question: What was the record when the game was at the Rose Garden? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (record VARCHAR, location VARCHAR) | SELECT record FROM table_name_75 WHERE location = "rose garden" |
Write a SQL query that answers the following question: What is the highest number of games with more than 0 draws and 11 losses? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (games INTEGER, draws VARCHAR, lost VARCHAR) | SELECT MAX(games) FROM table_name_33 WHERE draws > 0 AND lost = 11 |
Write a SQL query that answers the following question: What is the 1994 finish in the event that had a 1998 finish of 2R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (Id VARCHAR) | SELECT 1994 FROM table_name_22 WHERE 1998 = "2r" |
Write a SQL query that answers the following question: Which tournament had a 1994 finish of RR and 1996 and 1998 finishes of A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (tournament VARCHAR) | SELECT tournament FROM table_name_75 WHERE 1996 = "a" AND 1998 = "a" AND 1994 = "rr" |
Write a SQL query that answers the following question: What is the 1994 finish associated with a 1995 finish of 3R and 1997 of QF? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (Id VARCHAR) | SELECT 1994 FROM table_name_92 WHERE 1997 = "qf" AND 1995 = "3r" |
Write a SQL query that answers the following question: What is the 1999 finish for the tournament in Rome? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (tournament VARCHAR) | SELECT 1999 FROM table_name_24 WHERE tournament = "rome" |
Write a SQL query that answers the following question: What is the 1991 finish for the 1993 Grand Slams? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (Id VARCHAR) | SELECT 1991 FROM table_name_60 WHERE 1993 = "grand slams" |
Write a SQL query that answers the following question: What was the playoff apps for Thomas Heary, that had the position df? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (playoff_apps VARCHAR, position VARCHAR, name VARCHAR) | SELECT playoff_apps FROM table_name_10 WHERE position = "df" AND name = "thomas heary" |
Write a SQL query that answers the following question: What's the lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (squad_no INTEGER, playoff_goals VARCHAR, total_goals VARCHAR, league_goals VARCHAR) | SELECT MIN(squad_no) FROM table_name_28 WHERE total_goals > 6 AND league_goals < 8 AND playoff_goals > 0 |
Write a SQL query that answers the following question: How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (total_goals INTEGER, league_cup_goals VARCHAR, playoff_apps VARCHAR, fa_cup_apps VARCHAR) | SELECT SUM(total_goals) FROM table_name_88 WHERE playoff_apps = "2" AND fa_cup_apps = "2" AND league_cup_goals < 0 |
Write a SQL query that answers the following question: Which title had rank 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (title VARCHAR, rank VARCHAR) | SELECT title FROM table_name_28 WHERE rank = 9 |
Write a SQL query that answers the following question: Which title placed in rank 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (title VARCHAR, rank VARCHAR) | SELECT title FROM table_name_7 WHERE rank = 7 |
Write a SQL query that answers the following question: shows for the artist Santana featuring the product g&b? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (volume VARCHAR, artist VARCHAR) | SELECT volume AS :issue FROM table_name_78 WHERE artist = "santana featuring the product g&b" |
Write a SQL query that answers the following question: What volume 3 weeks on top for Third Eye Blind? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) | SELECT volume AS :issue FROM table_name_47 WHERE weeks_on_top = "3" AND artist = "third eye blind" |
Write a SQL query that answers the following question: What was the music video that was from the album High Society, with a length of 3:50? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (music_video VARCHAR, album VARCHAR, length VARCHAR) | SELECT music_video FROM table_name_91 WHERE album = "high society" AND length = "3:50" |
Write a SQL query that answers the following question: Which music video was from the album Map of the Human Soul? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (music_video VARCHAR, album VARCHAR) | SELECT music_video FROM table_name_96 WHERE album = "map of the human soul" |
Write a SQL query that answers the following question: What is the agg when team 2 was Cementarnica? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (agg VARCHAR, team_2 VARCHAR) | SELECT agg FROM table_name_94 WHERE team_2 = "cementarnica" |
Write a SQL query that answers the following question: What are the total number of podiums for more than 4 laps, and less than 149 races? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (podiums VARCHAR, fastest_laps VARCHAR, races VARCHAR) | SELECT COUNT(podiums) FROM table_name_86 WHERE fastest_laps > 4 AND races < 149 |
Write a SQL query that answers the following question: What was the score for the golfer from the country of fiji? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (score VARCHAR, country VARCHAR) | SELECT COUNT(score) FROM table_name_88 WHERE country = "fiji" |
Write a SQL query that answers the following question: What was the score of the golfer from the united states who had a To par of e? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (score INTEGER, to_par VARCHAR, country VARCHAR) | SELECT SUM(score) FROM table_name_96 WHERE to_par = "e" AND country = "united states" |
Write a SQL query that answers the following question: Which united states player finished with a place of t10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (player VARCHAR, country VARCHAR, place VARCHAR) | SELECT player FROM table_name_2 WHERE country = "united states" AND place = "t10" |
Write a SQL query that answers the following question: What label uses the stereo LP for catalog scyl-934,623? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (label VARCHAR, format VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_24 WHERE format = "stereo lp" AND catalog = "scyl-934,623" |
Write a SQL query that answers the following question: On what date was the catalog cy-24623 for New Zealand? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (date VARCHAR, region VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_64 WHERE region = "new zealand" AND catalog = "cy-24623" |
Write a SQL query that answers the following question: On what date was the catalog scyl-934,623 for Australia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (date VARCHAR, catalog VARCHAR, region VARCHAR) | SELECT date FROM table_name_29 WHERE catalog = "scyl-934,623" AND region = "australia" |
Write a SQL query that answers the following question: Which label has a catalog of y8hr 1006 in 1972? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (label VARCHAR, catalog VARCHAR, date VARCHAR) | SELECT label FROM table_name_91 WHERE catalog = "y8hr 1006" AND date = "1972" |
Write a SQL query that answers the following question: What catalog uses the stereo compact cassette format? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (catalog VARCHAR, format VARCHAR) | SELECT catalog FROM table_name_10 WHERE format = "stereo compact cassette" |
Write a SQL query that answers the following question: What is the average game that has December 6 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (game INTEGER, date VARCHAR) | SELECT AVG(game) FROM table_name_91 WHERE date = "december 6" |
Write a SQL query that answers the following question: What is the average game that has December 17 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (game INTEGER, date VARCHAR) | SELECT AVG(game) FROM table_name_32 WHERE date = "december 17" |
Write a SQL query that answers the following question: Can you tell me the average Total that had the Silver of 0, and the Rank of 6, and the Gold smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) | SELECT AVG(total) FROM table_name_92 WHERE silver = 0 AND rank = "6" AND gold < 0 |
Write a SQL query that answers the following question: Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (gold INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MAX(gold) FROM table_name_15 WHERE bronze > 3 AND total < 24 |
Write a SQL query that answers the following question: Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (gold INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MAX(gold) FROM table_name_87 WHERE bronze < 1 AND total > 4 |
Write a SQL query that answers the following question: What is the number of physicians in the region with an all nurses number of 91? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (_specialist_ VARCHAR, physician__gp_ INTEGER, all_nurses VARCHAR) | SELECT MIN(physician__gp_) & _specialist_ FROM table_name_76 WHERE all_nurses = 91 |
Write a SQL query that answers the following question: What is Moving, when Type is "Transfer", and when Name is "Andy Webster"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (moving_from VARCHAR, type VARCHAR, name VARCHAR) | SELECT moving_from FROM table_name_27 WHERE type = "transfer" AND name = "andy webster" |
Write a SQL query that answers the following question: What is Moving From, when Ends is before 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (moving_from VARCHAR, ends INTEGER) | SELECT moving_from FROM table_name_65 WHERE ends < 2011 |
Write a SQL query that answers the following question: What was the category that sheridan smith was nominated for in 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (category VARCHAR, year VARCHAR) | SELECT category FROM table_name_80 WHERE year = 2011 |
Write a SQL query that answers the following question: What ward was she nominated at for her work, Flare Path for the category of best featured actress in a play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (award VARCHAR, nominated_work VARCHAR, category VARCHAR) | SELECT award FROM table_name_62 WHERE nominated_work = "flare path" AND category = "best featured actress in a play" |
Write a SQL query that answers the following question: What is the result for the nomination at the Laurence Olivier award in 2009 for best actress in a musical? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (result VARCHAR, year VARCHAR, category VARCHAR, award VARCHAR) | SELECT result FROM table_name_33 WHERE category = "best actress in a musical" AND award = "laurence olivier award" AND year = 2009 |
Write a SQL query that answers the following question: What is the lowest attendance when the Atlanta Falcons were the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (week INTEGER, opponent VARCHAR) | SELECT MIN(week) FROM table_name_69 WHERE opponent = "atlanta falcons" |
Write a SQL query that answers the following question: What's the departed date for Grimsby Class Sloop? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (date_departed VARCHAR, class VARCHAR) | SELECT date_departed FROM table_name_38 WHERE class = "grimsby class sloop" |
Write a SQL query that answers the following question: What's the departed date that the HMS Leith of the Royal Navy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (date_departed VARCHAR, navy VARCHAR, name VARCHAR) | SELECT date_departed FROM table_name_51 WHERE navy = "royal navy" AND name = "hms leith" |
Write a SQL query that answers the following question: What's the class of the HMS Fowey? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (class VARCHAR, name VARCHAR) | SELECT class FROM table_name_51 WHERE name = "hms fowey" |
Write a SQL query that answers the following question: What's the class of the HMS Heartsease? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (class VARCHAR, name VARCHAR) | SELECT class FROM table_name_75 WHERE name = "hms heartsease" |
Write a SQL query that answers the following question: Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (record VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_9 WHERE game > 15 AND opponent = "edmonton oilers" |
Write a SQL query that answers the following question: Can you tell me the Score that has the Date of 11/17/1979? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_98 WHERE date = "11/17/1979" |
Write a SQL query that answers the following question: Can you tell me the Opponent that has the Record of 7-7-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_8 WHERE record = "7-7-1" |
Write a SQL query that answers the following question: Can you tell me the Score that has the Opponent of at edmonton oilers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_97 WHERE opponent = "at edmonton oilers" |
Write a SQL query that answers the following question: Can you tell me the Date thay has the Reocrd of 9-10-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_11 WHERE record = "9-10-2" |
Write a SQL query that answers the following question: What is the finishing position for the person who had a grid of 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (fin_pos VARCHAR, grid VARCHAR) | SELECT fin_pos FROM table_name_44 WHERE grid = "3" |
Write a SQL query that answers the following question: Which team had car number 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (team VARCHAR, car_no VARCHAR) | SELECT team FROM table_name_72 WHERE car_no = "15" |
Write a SQL query that answers the following question: What is the number of laps completed by the car in grid 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (laps VARCHAR, grid VARCHAR) | SELECT laps FROM table_name_19 WHERE grid = "10" |
Write a SQL query that answers the following question: Which driver earned 32 points from the Andretti Green team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (driver VARCHAR, team VARCHAR, points VARCHAR) | SELECT driver FROM table_name_91 WHERE team = "andretti green" AND points = "32" |
Write a SQL query that answers the following question: What is the date for the 10b serial? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (date VARCHAR, serial VARCHAR) | SELECT date FROM table_name_46 WHERE serial = "10b" |
Write a SQL query that answers the following question: What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (team VARCHAR, goals_for VARCHAR, goals_against VARCHAR, points_2 VARCHAR) | SELECT team FROM table_name_20 WHERE goals_against < 64 AND points_2 = 63 AND goals_for = 101 |
Write a SQL query that answers the following question: What is the Points 2 average of teams that have played more than 46 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (points_2 INTEGER, played INTEGER) | SELECT AVG(points_2) FROM table_name_96 WHERE played > 46 |
Write a SQL query that answers the following question: What is the Mkhedruli symbol for the Asomtavruli ⴒ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (mkhedruli VARCHAR, asomtavruli VARCHAR) | SELECT mkhedruli FROM table_name_41 WHERE asomtavruli = "ⴒ" |
Write a SQL query that answers the following question: What is the letter name for the Asomtavruli ⴙ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (letter_name VARCHAR, asomtavruli VARCHAR) | SELECT letter_name FROM table_name_74 WHERE asomtavruli = "ⴙ" |
Write a SQL query that answers the following question: What is the Phoneme symbol for ⴥ in Nuskhuri? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (phoneme VARCHAR, nuskhuri VARCHAR) | SELECT phoneme FROM table_name_43 WHERE nuskhuri = "ⴥ" |
Write a SQL query that answers the following question: What is the Phoneme symbol for the letter name zɛn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (phoneme VARCHAR, letter_name VARCHAR) | SELECT phoneme FROM table_name_18 WHERE letter_name = "zɛn" |
Write a SQL query that answers the following question: What is teh Nuskhuri symbol for ⴋ in Asomtavruli? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (nuskhuri VARCHAR, asomtavruli VARCHAR) | SELECT nuskhuri FROM table_name_80 WHERE asomtavruli = "ⴋ" |
Write a SQL query that answers the following question: What is the average value for Pick #, when Position is Linebacker, when Player is Bob Bruenig, and when Round is less than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (pick__number INTEGER, round VARCHAR, position VARCHAR, player VARCHAR) | SELECT AVG(pick__number) FROM table_name_87 WHERE position = "linebacker" AND player = "bob bruenig" AND round < 3 |
Write a SQL query that answers the following question: What is the sum of Pick #, when Position is Guard, and when Round is greater than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (pick__number INTEGER, position VARCHAR, round VARCHAR) | SELECT SUM(pick__number) FROM table_name_36 WHERE position = "guard" AND round > 2 |
Write a SQL query that answers the following question: What is the average Round, when Pick # is greater than 70, and when Position is Tackle? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (round INTEGER, pick__number VARCHAR, position VARCHAR) | SELECT AVG(round) FROM table_name_22 WHERE pick__number > 70 AND position = "tackle" |
Write a SQL query that answers the following question: What is the lowest Round, when Position is Linebacker, and when Player is Thomas Henderson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (round INTEGER, position VARCHAR, player VARCHAR) | SELECT MIN(round) FROM table_name_50 WHERE position = "linebacker" AND player = "thomas henderson" |
Write a SQL query that answers the following question: What is the total number of Pick #, when College is Oklahoma, and when Round is less than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (pick__number VARCHAR, college VARCHAR, round VARCHAR) | SELECT COUNT(pick__number) FROM table_name_55 WHERE college = "oklahoma" AND round < 4 |
Write a SQL query that answers the following question: Which Team has a Head Coach of michalis pamboris? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (team VARCHAR, head_coach VARCHAR) | SELECT team FROM table_name_60 WHERE head_coach = "michalis pamboris" |
Write a SQL query that answers the following question: What is umbro's highest capacity? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (capacity INTEGER, kitmaker VARCHAR) | SELECT MAX(capacity) FROM table_name_23 WHERE kitmaker = "umbro" |
Write a SQL query that answers the following question: Which Venue has a Kitmaker of lotto, and a Team of apoel? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (venue VARCHAR, kitmaker VARCHAR, team VARCHAR) | SELECT venue FROM table_name_37 WHERE kitmaker = "lotto" AND team = "apoel" |
Write a SQL query that answers the following question: What is the drawn number when there are 58 tries? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (drawn VARCHAR, tries_for VARCHAR) | SELECT drawn FROM table_name_12 WHERE tries_for = "58" |
Write a SQL query that answers the following question: What is the played number when the tries against shows correct as of 18:13 26 May 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (played VARCHAR, tries_against VARCHAR) | SELECT played FROM table_name_1 WHERE tries_against = "correct as of 18:13 26 may 2008" |
Write a SQL query that answers the following question: What is the drawn when there are 402 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (drawn VARCHAR, points_for VARCHAR) | SELECT drawn FROM table_name_85 WHERE points_for = "402" |
Write a SQL query that answers the following question: What is the try bonus when there are 492 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (try_bonus VARCHAR, points_against VARCHAR) | SELECT try_bonus FROM table_name_90 WHERE points_against = "492" |
Write a SQL query that answers the following question: What is the number of points against when the tries against was 53? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (points_against VARCHAR, tries_against VARCHAR) | SELECT points_against FROM table_name_19 WHERE tries_against = "53" |
Write a SQL query that answers the following question: What is the played number when the points against is 179? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (played VARCHAR, points_against VARCHAR) | SELECT played FROM table_name_78 WHERE points_against = "179" |
Write a SQL query that answers the following question: what is the total series percent that has total attempted less than 49, and a percent made of 0.777 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (series_percent VARCHAR, total_attempted VARCHAR, percent_made VARCHAR) | SELECT COUNT(series_percent) FROM table_name_63 WHERE total_attempted < 49 AND percent_made = 0.777 |
Write a SQL query that answers the following question: what is the total attempted with a total made 16 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (total_attempted VARCHAR, total_made VARCHAR) | SELECT COUNT(total_attempted) FROM table_name_21 WHERE total_made = 16 |
Write a SQL query that answers the following question: What is the sum of District, when Took Office is greater than 1981, and when Senator is Cyndi Taylor Krier? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (district INTEGER, took_office VARCHAR, senator VARCHAR) | SELECT SUM(district) FROM table_name_67 WHERE took_office > 1981 AND senator = "cyndi taylor krier" |
Write a SQL query that answers the following question: What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (party VARCHAR, home_town VARCHAR, district VARCHAR, took_office VARCHAR) | SELECT party FROM table_name_22 WHERE district < 10 AND took_office < 1991 AND home_town = "mount pleasant" |
Write a SQL query that answers the following question: What is the lowest Took Office, when Senator is Eddie Bernice Johnson, and when District is greater than 23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (took_office INTEGER, senator VARCHAR, district VARCHAR) | SELECT MIN(took_office) FROM table_name_50 WHERE senator = "eddie bernice johnson" AND district > 23 |
Write a SQL query that answers the following question: In which period did Stanislav Chistov get a penalty? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (period VARCHAR, player VARCHAR) | SELECT period FROM table_name_9 WHERE player = "stanislav chistov" |
Write a SQL query that answers the following question: What was a penalty given for at time 29:17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (penalty VARCHAR, time VARCHAR) | SELECT penalty FROM table_name_89 WHERE time = "29:17" |
Write a SQL query that answers the following question: What team was the player that received a penalty at time 32:17 playing for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (team VARCHAR, time VARCHAR) | SELECT team FROM table_name_13 WHERE time = "32:17" |
Write a SQL query that answers the following question: What team was Ryan Callahan, who received a penalty for roughing, playing for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (team VARCHAR, penalty VARCHAR, player VARCHAR) | SELECT team FROM table_name_87 WHERE penalty = "roughing" AND player = "ryan callahan" |
Write a SQL query that answers the following question: Who was the head coach when the opponent was Arsenal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (head_coach VARCHAR, opponent VARCHAR) | SELECT head_coach FROM table_name_95 WHERE opponent = "arsenal" |
Write a SQL query that answers the following question: Who was the opponent when the head coach was B. Sathianathan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (opponent VARCHAR, head_coach VARCHAR) | SELECT opponent FROM table_name_33 WHERE head_coach = "b. sathianathan" |
Write a SQL query that answers the following question: When was the opponent Arsenal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_62 WHERE opponent = "arsenal" |
Write a SQL query that answers the following question: What was the result when the opponent was Arsenal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_56 WHERE opponent = "arsenal" |
Write a SQL query that answers the following question: What is the sum of the home wins of the Boston College Eagles, which has more than 6 wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (Home INTEGER, institution VARCHAR, wins VARCHAR) | SELECT SUM(Home) AS wins FROM table_name_89 WHERE institution = "boston college eagles" AND wins > 6 |
Write a SQL query that answers the following question: What is the Record when Evangelista Cyborg was the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_40 WHERE opponent = "evangelista cyborg" |
Write a SQL query that answers the following question: What is the Method for Brazil? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (method VARCHAR, location VARCHAR) | SELECT method FROM table_name_55 WHERE location = "brazil" |
Write a SQL query that answers the following question: What round was the method submission (punches)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (round VARCHAR, method VARCHAR) | SELECT COUNT(round) FROM table_name_18 WHERE method = "submission (punches)" |
Write a SQL query that answers the following question: What is the method when the record was 3-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (method VARCHAR, record VARCHAR) | SELECT method FROM table_name_63 WHERE record = "3-2" |
Write a SQL query that answers the following question: What is the method when the round shows 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (method VARCHAR, round VARCHAR) | SELECT method FROM table_name_35 WHERE round = 3 |
Write a SQL query that answers the following question: What was the run 3 for the team in rank 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (run_3 VARCHAR, rank VARCHAR) | SELECT run_3 FROM table_name_4 WHERE rank = "12" |
Write a SQL query that answers the following question: What was the run 3 for the team with a run 1 of 1:17.6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (run_3 VARCHAR, run_1 VARCHAR) | SELECT run_3 FROM table_name_40 WHERE run_1 = "1:17.6" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.