instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What type of architecture does the Saturn Vue have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (architecture VARCHAR, vehicle_name VARCHAR) | SELECT architecture FROM table_name_15 WHERE vehicle_name = "saturn vue" |
Write a SQL query that answers the following question: What architecture type does the Ford Escort Wagon have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (architecture VARCHAR, original_vehicle VARCHAR) | SELECT architecture FROM table_name_73 WHERE original_vehicle = "ford escort wagon" |
Write a SQL query that answers the following question: What original vehicle has uwhvt homepage architecture? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (original_vehicle VARCHAR, architecture VARCHAR) | SELECT original_vehicle FROM table_name_76 WHERE architecture = "uwhvt homepage" |
Write a SQL query that answers the following question: Which Winner has a Last 16 of £400? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (winner VARCHAR, last_16 VARCHAR) | SELECT winner FROM table_name_4 WHERE last_16 = "£400" |
Write a SQL query that answers the following question: Which Runner-Up has a Total of £31,200? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (runner_up VARCHAR, total VARCHAR) | SELECT runner_up FROM table_name_44 WHERE total = "£31,200" |
Write a SQL query that answers the following question: Which Runner-Up has a Last 16 of £300? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (runner_up VARCHAR, last_16 VARCHAR) | SELECT runner_up FROM table_name_52 WHERE last_16 = "£300" |
Write a SQL query that answers the following question: Which Last 64 has a Total of £34,600? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (last_64 VARCHAR, total VARCHAR) | SELECT last_64 FROM table_name_65 WHERE total = "£34,600" |
Write a SQL query that answers the following question: Which Winner has Semi-Finalists of £2,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (winner VARCHAR, semi_finalists VARCHAR) | SELECT winner FROM table_name_71 WHERE semi_finalists = "£2,000" |
Write a SQL query that answers the following question: Which Year has a Quarter-Finalists of £1,000, and Semi-Finalists of £1,500? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (year VARCHAR, quarter_finalists VARCHAR, semi_finalists VARCHAR) | SELECT year FROM table_name_16 WHERE quarter_finalists = "£1,000" AND semi_finalists = "£1,500" |
Write a SQL query that answers the following question: How tall is Dylan Postl? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (height VARCHAR, name VARCHAR) | SELECT height FROM table_name_69 WHERE name = "dylan postl" |
Write a SQL query that answers the following question: What is the largest amount of goals when the points are less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (goals INTEGER, points INTEGER) | SELECT MAX(goals) FROM table_name_3 WHERE points < 0 |
Write a SQL query that answers the following question: Which player has more than 0 goals and less than 12 tries? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (player VARCHAR, goals VARCHAR, tries VARCHAR) | SELECT player FROM table_name_5 WHERE goals > 0 AND tries < 12 |
Write a SQL query that answers the following question: What is the smallest number of tries when Matt Diskin is the player and there are more than 16 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (tries INTEGER, player VARCHAR, points VARCHAR) | SELECT MIN(tries) FROM table_name_84 WHERE player = "matt diskin" AND points > 16 |
Write a SQL query that answers the following question: Which position has more than 4 points, less than 12 tries, a squad number of more than 1, and where Ali Lauitiiti is a player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR, squad_no VARCHAR, points VARCHAR, tries VARCHAR) | SELECT position FROM table_name_58 WHERE points > 4 AND tries < 12 AND squad_no > 1 AND player = "ali lauitiiti" |
Write a SQL query that answers the following question: What is the total number of squad no when there are more than 8 points, Danny Mcguire is a player, and there are more than 0 goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (squad_no INTEGER, goals VARCHAR, points VARCHAR, player VARCHAR) | SELECT SUM(squad_no) FROM table_name_23 WHERE points > 8 AND player = "danny mcguire" AND goals > 0 |
Write a SQL query that answers the following question: What is the lowest lost from drawn of 1 or greater? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (lost INTEGER, drawn INTEGER) | SELECT MIN(lost) FROM table_name_18 WHERE drawn > 1 |
Write a SQL query that answers the following question: What is the highest games from a game with points less than 4, drawn of 1 and a lost less than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (games INTEGER, lost VARCHAR, points VARCHAR, drawn VARCHAR) | SELECT MAX(games) FROM table_name_58 WHERE points < 4 AND drawn = 1 AND lost < 6 |
Write a SQL query that answers the following question: What is the score of the game on January 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_85 WHERE date = "january 18" |
Write a SQL query that answers the following question: What is the score of the game on January 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_82 WHERE date = "january 10" |
Write a SQL query that answers the following question: What is the score of the game on November 12 with the Chicago Black Hawks as the visitor team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (score VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT score FROM table_name_24 WHERE visitor = "chicago black hawks" AND date = "november 12" |
Write a SQL query that answers the following question: What is the series score of the game on May 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (series VARCHAR, date VARCHAR) | SELECT series FROM table_name_55 WHERE date = "may 6" |
Write a SQL query that answers the following question: The Zeehond was built by whom? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (builder VARCHAR, ship VARCHAR) | SELECT builder FROM table_name_49 WHERE ship = "zeehond" |
Write a SQL query that answers the following question: What college, junior, or club team did Victor Ignatjev play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_name_90 WHERE player = "victor ignatjev" |
Write a SQL query that answers the following question: Which player is from Sweden? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (player VARCHAR, nationality VARCHAR) | SELECT player FROM table_name_47 WHERE nationality = "sweden" |
Write a SQL query that answers the following question: What was the score on April 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_17 WHERE date = "april 22" |
Write a SQL query that answers the following question: What opponent has a score of 1-3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_70 WHERE score = "1-3" |
Write a SQL query that answers the following question: What is the record for April 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_42 WHERE date = "april 21" |
Write a SQL query that answers the following question: Which Player has a Round larger than 5, and a School/Club Team of bethune-cookman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (player VARCHAR, round VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_52 WHERE round > 5 AND school_club_team = "bethune-cookman" |
Write a SQL query that answers the following question: Which Position has a Pick smaller than 152, and a Round smaller than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (position VARCHAR, pick VARCHAR, round VARCHAR) | SELECT position FROM table_name_92 WHERE pick < 152 AND round < 3 |
Write a SQL query that answers the following question: How many Picks have a Position of defensive back? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (pick VARCHAR, position VARCHAR) | SELECT COUNT(pick) FROM table_name_61 WHERE position = "defensive back" |
Write a SQL query that answers the following question: Which Player has a Round smaller than 11, and a Pick smaller than 152, and a Position of guard? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (player VARCHAR, position VARCHAR, round VARCHAR, pick VARCHAR) | SELECT player FROM table_name_10 WHERE round < 11 AND pick < 152 AND position = "guard" |
Write a SQL query that answers the following question: Which participants won the silver medal for the Men's Doubles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (name VARCHAR, medal VARCHAR, event VARCHAR) | SELECT name FROM table_name_57 WHERE medal = "silver" AND event = "men's doubles" |
Write a SQL query that answers the following question: What event did Rashid Sidek participate in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (event VARCHAR, name VARCHAR) | SELECT event FROM table_name_8 WHERE name = "rashid sidek" |
Write a SQL query that answers the following question: Which Olympic Games had a silver medal for the Men's Singles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (games VARCHAR, event VARCHAR, medal VARCHAR) | SELECT games FROM table_name_33 WHERE event = "men's singles" AND medal = "silver" |
Write a SQL query that answers the following question: Which sport was in the 1992 Barcelona games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (sport VARCHAR, games VARCHAR) | SELECT sport FROM table_name_92 WHERE games = "1992 barcelona" |
Write a SQL query that answers the following question: What event was in the 2008 Beijing games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (event VARCHAR, games VARCHAR) | SELECT event FROM table_name_81 WHERE games = "2008 beijing" |
Write a SQL query that answers the following question: What is the round of the defense player from the United States? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (round VARCHAR, position VARCHAR, nationality VARCHAR) | SELECT round FROM table_name_32 WHERE position = "defense" AND nationality = "united states" |
Write a SQL query that answers the following question: What is the position of Dale Craigwell? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_67 WHERE player = "dale craigwell" |
Write a SQL query that answers the following question: What is the position of the player from Sweden? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (position VARCHAR, nationality VARCHAR) | SELECT position FROM table_name_93 WHERE nationality = "sweden" |
Write a SQL query that answers the following question: Who is the player from a round larger than 5 and the college/junior/club team of Leningrad SKA (russia)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (player VARCHAR, round VARCHAR, college_junior_club_team VARCHAR) | SELECT player FROM table_name_94 WHERE round > 5 AND college_junior_club_team = "leningrad ska (russia)" |
Write a SQL query that answers the following question: What position does Mikhail Kravets play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_15 WHERE player = "mikhail kravets" |
Write a SQL query that answers the following question: Which date was held at Laguna Seca Raceway, in class GTX/GTO? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (date VARCHAR, circuit VARCHAR, class VARCHAR) | SELECT date FROM table_name_94 WHERE circuit = "laguna seca raceway" AND class = "gtx/gto" |
Write a SQL query that answers the following question: Which circuit was held on May 7 for 1 hour? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (circuit VARCHAR, date VARCHAR, length VARCHAR) | SELECT circuit FROM table_name_24 WHERE date = "may 7" AND length = "1 hour" |
Write a SQL query that answers the following question: Which circuit has a length of 45 minutes and is held on August 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (circuit VARCHAR, length VARCHAR, date VARCHAR) | SELECT circuit FROM table_name_78 WHERE length = "45 minutes" AND date = "august 6" |
Write a SQL query that answers the following question: What is the length of the 6 Hours of Talladega? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (length VARCHAR, race VARCHAR) | SELECT length FROM table_name_82 WHERE race = "6 hours of talladega" |
Write a SQL query that answers the following question: Name the class AA with class A of rule and school year of 1995-96 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (class_aA VARCHAR, class_a VARCHAR, school_year VARCHAR) | SELECT class_aA FROM table_name_52 WHERE class_a = "rule" AND school_year = "1995-96" |
Write a SQL query that answers the following question: Name the class A with school year of 2004-05 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (class_a VARCHAR, school_year VARCHAR) | SELECT class_a FROM table_name_59 WHERE school_year = "2004-05" |
Write a SQL query that answers the following question: Name the clas AAAA of school year 2000-01 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (class_aAAA VARCHAR, school_year VARCHAR) | SELECT class_aAAA FROM table_name_76 WHERE school_year = "2000-01" |
Write a SQL query that answers the following question: What school is from 45 Lake county and is located in Merrillville? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (school VARCHAR, county VARCHAR, location VARCHAR) | SELECT school FROM table_name_32 WHERE county = "45 lake" AND location = "merrillville" |
Write a SQL query that answers the following question: What school is located in Michigan City? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (school VARCHAR, location VARCHAR) | SELECT school FROM table_name_37 WHERE location = "michigan city" |
Write a SQL query that answers the following question: What is the IHSAA class for Chesterton? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (ihsaa_class VARCHAR, school VARCHAR) | SELECT ihsaa_class FROM table_name_49 WHERE school = "chesterton" |
Write a SQL query that answers the following question: What is the IHSAA class for Portage? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (ihsaa_class VARCHAR, school VARCHAR) | SELECT ihsaa_class FROM table_name_69 WHERE school = "portage" |
Write a SQL query that answers the following question: What is the IHSAA class for Crown Point? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (ihsaa_class VARCHAR, school VARCHAR) | SELECT ihsaa_class FROM table_name_98 WHERE school = "crown point" |
Write a SQL query that answers the following question: What is the average grid of driver Christian Vietoris who has less than 12 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_79 WHERE driver = "christian vietoris" AND laps < 12 |
Write a SQL query that answers the following question: What is the grid of driver joão urbano? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR) | SELECT SUM(grid) FROM table_name_75 WHERE driver = "joão urbano" |
Write a SQL query that answers the following question: What is the lowest laps a grid less than 22 with a time of +35.268 has? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (laps INTEGER, grid VARCHAR, time VARCHAR) | SELECT MIN(laps) FROM table_name_92 WHERE grid < 22 AND time = "+35.268" |
Write a SQL query that answers the following question: What is the lowest laps driver Christian Vietoris with a grid smaller than 6 has? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (laps INTEGER, driver VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_62 WHERE driver = "christian vietoris" AND grid < 6 |
Write a SQL query that answers the following question: What is the primary sponsor of driver Mark Martin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR) | SELECT primary_sponsor_s_ FROM table_name_78 WHERE driver_s_ = "mark martin" |
Write a SQL query that answers the following question: Who is the crew chief of team Joe Gibbs Racing, which has a Chevrolet Monte Carlo and Fedex as the primary sponsor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (crew_chief VARCHAR, primary_sponsor_s_ VARCHAR, car_s_ VARCHAR, team VARCHAR) | SELECT crew_chief FROM table_name_81 WHERE car_s_ = "chevrolet monte carlo" AND team = "joe gibbs racing" AND primary_sponsor_s_ = "fedex" |
Write a SQL query that answers the following question: Who is the driver of the team with the crew chief Derrick Finley? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (driver_s_ VARCHAR, crew_chief VARCHAR) | SELECT driver_s_ FROM table_name_16 WHERE crew_chief = "derrick finley" |
Write a SQL query that answers the following question: Who is the crew chief of team Chip Ganassi Racing with Felix Sabates, which has Casey Mears as the driver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (crew_chief VARCHAR, team VARCHAR, driver_s_ VARCHAR) | SELECT crew_chief FROM table_name_10 WHERE team = "chip ganassi racing with felix sabates" AND driver_s_ = "casey mears" |
Write a SQL query that answers the following question: Which team has Peak Fitness as the primary sponsor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (team VARCHAR, primary_sponsor_s_ VARCHAR) | SELECT team FROM table_name_87 WHERE primary_sponsor_s_ = "peak fitness" |
Write a SQL query that answers the following question: What date has w 20-17 as the result, and 1-0 as the record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, result VARCHAR, record VARCHAR) | SELECT date FROM table_name_32 WHERE result = "w 20-17" AND record = "1-0" |
Write a SQL query that answers the following question: What game site has december 24, 2000 as a date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (game_site VARCHAR, date VARCHAR) | SELECT game_site FROM table_name_58 WHERE date = "december 24, 2000" |
Write a SQL query that answers the following question: What date has dallas cowboys as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_91 WHERE opponent = "dallas cowboys" |
Write a SQL query that answers the following question: What is the attendance that has fedex field as the game site with 3 as the week? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (attendance VARCHAR, game_site VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_24 WHERE game_site = "fedex field" AND week = 3 |
Write a SQL query that answers the following question: What is the record for April 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_25 WHERE date = "april 22" |
Write a SQL query that answers the following question: What is the record when the visiting team was the Quebec Nordiques on April 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (record VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT record FROM table_name_26 WHERE visitor = "quebec nordiques" AND date = "april 22" |
Write a SQL query that answers the following question: What is the longitude of Taurus? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (longitude_အင်္သာ VARCHAR, latin VARCHAR) | SELECT longitude_အင်္သာ FROM table_name_98 WHERE latin = "taurus" |
Write a SQL query that answers the following question: What is the Location for Belshina? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (location VARCHAR, team VARCHAR) | SELECT location FROM table_name_99 WHERE team = "belshina" |
Write a SQL query that answers the following question: What is the total number for Capacity at city stadium, borisov? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (capacity VARCHAR, venue VARCHAR) | SELECT COUNT(capacity) FROM table_name_28 WHERE venue = "city stadium, borisov" |
Write a SQL query that answers the following question: Which rating larger than 5 have the lowest amount of views in #3 rank with a share of 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (viewers__millions_ INTEGER, rating VARCHAR, weekly_rank VARCHAR, share VARCHAR) | SELECT MIN(viewers__millions_) FROM table_name_11 WHERE weekly_rank = "#3" AND share = 9 AND rating > 5 |
Write a SQL query that answers the following question: What is the highest played that has a drawn less than 9, 36 as the difference, with a lost greater than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (played INTEGER, lost VARCHAR, drawn VARCHAR, difference VARCHAR) | SELECT MAX(played) FROM table_name_60 WHERE drawn < 9 AND difference = "36" AND lost > 7 |
Write a SQL query that answers the following question: How many positions have figueirense as the team, with a played greater than 38? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (position VARCHAR, team VARCHAR, played VARCHAR) | SELECT COUNT(position) FROM table_name_39 WHERE team = "figueirense" AND played > 38 |
Write a SQL query that answers the following question: What is the largest drawn that has a played less than 38? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (drawn INTEGER, played INTEGER) | SELECT MAX(drawn) FROM table_name_8 WHERE played < 38 |
Write a SQL query that answers the following question: How many positions have 9 as a drawn, 5 as a difference, with a lost less than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (position VARCHAR, lost VARCHAR, drawn VARCHAR, difference VARCHAR) | SELECT COUNT(position) FROM table_name_9 WHERE drawn = 9 AND difference = "5" AND lost < 14 |
Write a SQL query that answers the following question: What date did Episode 2-01 (42) air? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (original_airdate VARCHAR, episode VARCHAR) | SELECT original_airdate FROM table_name_56 WHERE episode = "2-01 (42)" |
Write a SQL query that answers the following question: Who wrote Episode 2-15 (56)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (writer_s_ VARCHAR, episode VARCHAR) | SELECT writer_s_ FROM table_name_51 WHERE episode = "2-15 (56)" |
Write a SQL query that answers the following question: What is the highest number of games with 1 loss and points less than 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (games INTEGER, lost VARCHAR, points VARCHAR) | SELECT MAX(games) FROM table_name_9 WHERE lost = 1 AND points < 18 |
Write a SQL query that answers the following question: Which City has a Result of w, and a Competition of international friendly (unofficial match), and a Score of 1-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (city VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR) | SELECT city FROM table_name_91 WHERE result = "w" AND competition = "international friendly (unofficial match)" AND score = "1-0" |
Write a SQL query that answers the following question: Which Date has a Result of w, and a Score of 3-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR, score VARCHAR) | SELECT date FROM table_name_94 WHERE result = "w" AND score = "3-0" |
Write a SQL query that answers the following question: Which City has a Date of june 9, 1976? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (city VARCHAR, date VARCHAR) | SELECT city FROM table_name_39 WHERE date = "june 9, 1976" |
Write a SQL query that answers the following question: Which City has a Date of may 19, 1976? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (city VARCHAR, date VARCHAR) | SELECT city FROM table_name_23 WHERE date = "may 19, 1976" |
Write a SQL query that answers the following question: What are the total number of laps for Tom Bridger? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (laps VARCHAR, driver VARCHAR) | SELECT COUNT(laps) FROM table_name_63 WHERE driver = "tom bridger" |
Write a SQL query that answers the following question: What are the lowest laps of Graham Hill? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (laps INTEGER, driver VARCHAR) | SELECT MIN(laps) FROM table_name_68 WHERE driver = "graham hill" |
Write a SQL query that answers the following question: What are the lowest laps of grid 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (laps INTEGER, grid VARCHAR) | SELECT MIN(laps) FROM table_name_69 WHERE grid = 17 |
Write a SQL query that answers the following question: Which Avg/G has a Gain of 16, and a Name of barnes, freddie, and a Loss smaller than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (avg_g INTEGER, loss VARCHAR, gain VARCHAR, name VARCHAR) | SELECT SUM(avg_g) FROM table_name_91 WHERE gain = 16 AND name = "barnes, freddie" AND loss < 2 |
Write a SQL query that answers the following question: Which average Long has a Gain smaller than 16, and a Loss smaller than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (long INTEGER, gain VARCHAR, loss VARCHAR) | SELECT AVG(long) FROM table_name_51 WHERE gain < 16 AND loss < 6 |
Write a SQL query that answers the following question: Which Gain is the lowest one that has a Loss larger than 2, and an Avg/G larger than -6, and a Name of sheehan, tyler, and a Long larger than 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (gain INTEGER, long VARCHAR, name VARCHAR, loss VARCHAR, avg_g VARCHAR) | SELECT MIN(gain) FROM table_name_84 WHERE loss > 2 AND avg_g > -6 AND name = "sheehan, tyler" AND long > 11 |
Write a SQL query that answers the following question: Which Avg/G is the lowest one that has a Long larger than 8, and a Loss smaller than 34, and a Gain larger than 16, and a Name of bullock, chris? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (avg_g INTEGER, name VARCHAR, gain VARCHAR, long VARCHAR, loss VARCHAR) | SELECT MIN(avg_g) FROM table_name_52 WHERE long > 8 AND loss < 34 AND gain > 16 AND name = "bullock, chris" |
Write a SQL query that answers the following question: Which Loss has a Name of bullock, chris, and a Long smaller than 36? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (loss INTEGER, name VARCHAR, long VARCHAR) | SELECT SUM(loss) FROM table_name_72 WHERE name = "bullock, chris" AND long < 36 |
Write a SQL query that answers the following question: How much Long has a Loss larger than 2, and a Gain of 157, and an Avg/G smaller than 129? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (long INTEGER, avg_g VARCHAR, loss VARCHAR, gain VARCHAR) | SELECT SUM(long) FROM table_name_58 WHERE loss > 2 AND gain = 157 AND avg_g < 129 |
Write a SQL query that answers the following question: What is the fewest number of places for a skater from Norway with fewer than 1524.9 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (places INTEGER, nation VARCHAR, points VARCHAR) | SELECT MIN(places) FROM table_name_11 WHERE nation = "norway" AND points < 1524.9 |
Write a SQL query that answers the following question: What home has Philadelphia as the visitor, and december 4 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (home VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT home FROM table_name_1 WHERE visitor = "philadelphia" AND date = "december 4" |
Write a SQL query that answers the following question: What record has a decision of parent, Philadelphia as the home, with december 12 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (record VARCHAR, date VARCHAR, decision VARCHAR, home VARCHAR) | SELECT record FROM table_name_81 WHERE decision = "parent" AND home = "philadelphia" AND date = "december 12" |
Write a SQL query that answers the following question: Which Tournament has a Score of 6–4, 6–2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_62 WHERE score = "6–4, 6–2" |
Write a SQL query that answers the following question: Which Score has an Opponent in the final of mehdi tahiri? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (score VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_96 WHERE opponent_in_the_final = "mehdi tahiri" |
Write a SQL query that answers the following question: Which Date has a Score of 6–3, 7–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (date INTEGER, score VARCHAR) | SELECT SUM(date) FROM table_name_3 WHERE score = "6–3, 7–6" |
Write a SQL query that answers the following question: Which Date has a Score of 7–6(3), 4–6, 6–2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (date INTEGER, score VARCHAR) | SELECT SUM(date) FROM table_name_68 WHERE score = "7–6(3), 4–6, 6–2" |
Write a SQL query that answers the following question: Which Surface has a Tournament of olbia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_62 WHERE tournament = "olbia" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.