instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: How many years was the 400 m event in the olympic games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (year VARCHAR, competition VARCHAR, event VARCHAR) | SELECT COUNT(year) FROM table_name_28 WHERE competition = "olympic games" AND event = "400 m" |
Write a SQL query that answers the following question: How many were in attendance of the game with l 26-21 result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_28 WHERE result = "l 26-21" |
Write a SQL query that answers the following question: Who is the opponent for the game with 37,845 people in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_64 WHERE attendance = "37,845" |
Write a SQL query that answers the following question: How many silver medals were there with 2 gold medals and more than 2 bronze medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (silver VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT silver FROM table_name_11 WHERE gold = 2 AND bronze > 2 |
Write a SQL query that answers the following question: What is the smallest total number of medals for rank 11 and more than 0 silver medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (total INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_25 WHERE rank = "11" AND silver > 0 |
Write a SQL query that answers the following question: What is the sum of all total medals with more than 2 bronze medals and more than 1 gold medal for the United States? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR) | SELECT SUM(total) FROM table_name_27 WHERE bronze > 2 AND nation = "united states" AND gold > 1 |
Write a SQL query that answers the following question: What is the largest number of gold medals for Canada with more than 7 bronze medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (gold INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT MAX(gold) FROM table_name_31 WHERE nation = "canada" AND bronze > 7 |
Write a SQL query that answers the following question: What is the sum of all silver medals with less than 23 medals in total and more than 3 bronze medals for the United States? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (silver INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR) | SELECT SUM(silver) FROM table_name_21 WHERE total < 23 AND nation = "united states" AND bronze > 3 |
Write a SQL query that answers the following question: When was Steve Williams in Zurich and his result was 10.07? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, location VARCHAR, result VARCHAR) | SELECT date FROM table_name_28 WHERE location = "zurich" AND result = 10.07 |
Write a SQL query that answers the following question: What is the largest number lost with 0 draws and less than 12 points for Gwardia Katowice? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (lost INTEGER, points VARCHAR, draw VARCHAR, team VARCHAR) | SELECT MAX(lost) FROM table_name_81 WHERE draw = 0 AND team = "gwardia katowice" AND points < 12 |
Write a SQL query that answers the following question: What is the highest number of draws with 6 losses and less than 15 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (draw INTEGER, lost VARCHAR, points VARCHAR) | SELECT MAX(draw) FROM table_name_94 WHERE lost = 6 AND points < 15 |
Write a SQL query that answers the following question: How many draws correspond to more than 11 losses in a match less than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (draw VARCHAR, lost VARCHAR, match VARCHAR) | SELECT COUNT(draw) FROM table_name_36 WHERE lost > 11 AND match < 14 |
Write a SQL query that answers the following question: What is the Director of Children of Sarajevo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (director VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT director FROM table_name_39 WHERE film_title_used_in_nomination = "children of sarajevo" |
Write a SQL query that answers the following question: What is the Result of the 2010 (83rd) Ceremony? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (result VARCHAR, year__ceremony_ VARCHAR) | SELECT result FROM table_name_11 WHERE year__ceremony_ = "2010 (83rd)" |
Write a SQL query that answers the following question: What is the Result of the 2013 (86th) Ceremony? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (result VARCHAR, year__ceremony_ VARCHAR) | SELECT result FROM table_name_77 WHERE year__ceremony_ = "2013 (86th)" |
Write a SQL query that answers the following question: What is the Original title of Children of Sarajevo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_title FROM table_name_42 WHERE film_title_used_in_nomination = "children of sarajevo" |
Write a SQL query that answers the following question: In the 2012 (85th) Ceremony, what was the Original title of the film not nominated? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (original_title VARCHAR, result VARCHAR, year__ceremony_ VARCHAR) | SELECT original_title FROM table_name_66 WHERE result = "not nominated" AND year__ceremony_ = "2012 (85th)" |
Write a SQL query that answers the following question: What is the lowest draw number for the song ranked 6th with more than 43 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (draw INTEGER, points VARCHAR, rank VARCHAR) | SELECT MIN(draw) FROM table_name_22 WHERE points > 43 AND rank = "6th" |
Write a SQL query that answers the following question: What is the total sum of points for songs performed by Partners in Crime? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (points INTEGER, performer VARCHAR) | SELECT SUM(points) FROM table_name_16 WHERE performer = "partners in crime" |
Write a SQL query that answers the following question: What is the class of facility ID 150935? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (class VARCHAR, facility_id VARCHAR) | SELECT class FROM table_name_21 WHERE facility_id = 150935 |
Write a SQL query that answers the following question: Which city has a facility ID greater than 150833? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (city_of_license VARCHAR, facility_id INTEGER) | SELECT city_of_license FROM table_name_17 WHERE facility_id > 150833 |
Write a SQL query that answers the following question: What position does the player from the Toronto Argonauts play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_name_99 WHERE cfl_team = "toronto argonauts" |
Write a SQL query that answers the following question: What was the 1st leg for Team 2 Concepto Egile? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (team_2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_88 WHERE team_2 = "concepto egile" |
Write a SQL query that answers the following question: Which team 1 has team 2, Gomera? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_54 WHERE team_2 = "gomera" |
Write a SQL query that answers the following question: What public team was founded prior to 1883? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (team VARCHAR, founded VARCHAR, type VARCHAR) | SELECT team FROM table_name_45 WHERE founded < 1883 AND type = "public" |
Write a SQL query that answers the following question: Who has exactly 342 spikes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (name VARCHAR, spike VARCHAR) | SELECT name FROM table_name_68 WHERE spike = 342 |
Write a SQL query that answers the following question: What is the smallest number of spikes for players with a weight of 83 and height over 190? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (spike INTEGER, weight VARCHAR, height VARCHAR) | SELECT MIN(spike) FROM table_name_69 WHERE weight = 83 AND height > 190 |
Write a SQL query that answers the following question: What is Class, when Power is 78 Watts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (class VARCHAR, power VARCHAR) | SELECT class FROM table_name_15 WHERE power = "78 watts" |
Write a SQL query that answers the following question: What is Power, when Identifier is CBEB-FM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (power VARCHAR, identifier VARCHAR) | SELECT power FROM table_name_48 WHERE identifier = "cbeb-fm" |
Write a SQL query that answers the following question: What is Identifier, when City of License is Terrace Bay? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (identifier VARCHAR, city_of_license VARCHAR) | SELECT identifier FROM table_name_26 WHERE city_of_license = "terrace bay" |
Write a SQL query that answers the following question: What is Power, when City of License is Sioux Lookout? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (power VARCHAR, city_of_license VARCHAR) | SELECT power FROM table_name_93 WHERE city_of_license = "sioux lookout" |
Write a SQL query that answers the following question: What is Identifier, when City of License is Hornepayne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (identifier VARCHAR, city_of_license VARCHAR) | SELECT identifier FROM table_name_55 WHERE city_of_license = "hornepayne" |
Write a SQL query that answers the following question: What is City of License, when Frequency is 101.1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (city_of_license VARCHAR, frequency VARCHAR) | SELECT city_of_license FROM table_name_20 WHERE frequency = "101.1" |
Write a SQL query that answers the following question: Which LE-5 Model has an LE-5A of 130? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (le_5_model VARCHAR, le_5A VARCHAR) | SELECT le_5_model FROM table_name_2 WHERE le_5A = 130 |
Write a SQL query that answers the following question: What Series had 14 races and 12th position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (series VARCHAR, races VARCHAR, position VARCHAR) | SELECT series FROM table_name_11 WHERE races = 14 AND position = "12th" |
Write a SQL query that answers the following question: What season was the Formula BMW USA in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (season VARCHAR, series VARCHAR) | SELECT season FROM table_name_87 WHERE series = "formula bmw usa" |
Write a SQL query that answers the following question: What series had more than 10 Podiums? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (series VARCHAR, podiums INTEGER) | SELECT series FROM table_name_73 WHERE podiums > 10 |
Write a SQL query that answers the following question: What is the Status with an Author that is colbert? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (status VARCHAR, authors VARCHAR) | SELECT status FROM table_name_25 WHERE authors = "colbert" |
Write a SQL query that answers the following question: What college was the draft pick number larger than 18 that went to the Barangay ginebra kings? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (college VARCHAR, pick VARCHAR, pba_team VARCHAR) | SELECT college FROM table_name_78 WHERE pick > 18 AND pba_team = "barangay ginebra kings" |
Write a SQL query that answers the following question: What is the sum of the pick numbers for the player that went to San Miguel Beermen who played at San Sebastian? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (pick INTEGER, pba_team VARCHAR, college VARCHAR) | SELECT SUM(pick) FROM table_name_36 WHERE pba_team = "san miguel beermen" AND college = "san sebastian" |
Write a SQL query that answers the following question: What is the total number of picks for PBA team san miguel beermen who picked rommel daep? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (pick VARCHAR, pba_team VARCHAR, player VARCHAR) | SELECT COUNT(pick) FROM table_name_26 WHERE pba_team = "san miguel beermen" AND player = "rommel daep" |
Write a SQL query that answers the following question: Who won after 1999 with changwon lg sakers as runners-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (champions VARCHAR, year VARCHAR, runners_up VARCHAR) | SELECT champions FROM table_name_47 WHERE year > 1999 AND runners_up = "changwon lg sakers" |
Write a SQL query that answers the following question: What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (result VARCHAR, champions VARCHAR, year VARCHAR, runners_up VARCHAR) | SELECT result FROM table_name_39 WHERE year > 2007 AND runners_up = "seoul samsung thunders" AND champions = "jeonju kcc egis" |
Write a SQL query that answers the following question: What was the winning team in 2013? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (winning_team VARCHAR, year VARCHAR) | SELECT winning_team FROM table_name_74 WHERE year = 2013 |
Write a SQL query that answers the following question: What is the highest year that Europe won, when the USA's Captain was Kathy Whitworth? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (year INTEGER, winning_team VARCHAR, usa_captain VARCHAR) | SELECT MAX(year) FROM table_name_93 WHERE winning_team = "europe" AND usa_captain = "kathy whitworth" |
Write a SQL query that answers the following question: When the USA's captain was Beth Daniel, who was the winning team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (winning_team VARCHAR, usa_captain VARCHAR) | SELECT winning_team FROM table_name_99 WHERE usa_captain = "beth daniel" |
Write a SQL query that answers the following question: What is the Season when league shows bundesliga, and a European competition of played korac cup? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (season VARCHAR, league VARCHAR, european_competitions VARCHAR) | SELECT season FROM table_name_25 WHERE league = "bundesliga" AND european_competitions = "played korac cup" |
Write a SQL query that answers the following question: What is the average Tier when the postseason shows -, and the season is 2012–13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (tier INTEGER, postseason VARCHAR, season VARCHAR) | SELECT AVG(tier) FROM table_name_56 WHERE postseason = "–" AND season = "2012–13" |
Write a SQL query that answers the following question: What is the European competition when the tier is more than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (european_competitions VARCHAR, tier INTEGER) | SELECT european_competitions FROM table_name_33 WHERE tier > 2 |
Write a SQL query that answers the following question: What was the outcome of the match played on grass? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (outcome VARCHAR, surface VARCHAR) | SELECT outcome FROM table_name_64 WHERE surface = "grass" |
Write a SQL query that answers the following question: What was the outcome of the match on February 17, 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (outcome VARCHAR, date__final_ VARCHAR) | SELECT outcome FROM table_name_13 WHERE date__final_ = "february 17, 2003" |
Write a SQL query that answers the following question: How many average wins have USA as the team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (wins INTEGER, team VARCHAR) | SELECT AVG(wins) FROM table_name_25 WHERE team = "usa" |
Write a SQL query that answers the following question: What are the average wins that have great britain as the team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (wins INTEGER, team VARCHAR) | SELECT AVG(wins) FROM table_name_80 WHERE team = "great britain" |
Write a SQL query that answers the following question: What's the average draft pick number from Carson-Newman College before Round 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (pick__number INTEGER, college VARCHAR, round VARCHAR) | SELECT AVG(pick__number) FROM table_name_21 WHERE college = "carson-newman" AND round < 7 |
Write a SQL query that answers the following question: Which college has a pick number of 155? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (college VARCHAR, pick__number VARCHAR) | SELECT college FROM table_name_19 WHERE pick__number = 155 |
Write a SQL query that answers the following question: What score in the final has november 3, 2002 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (score_in_the_final VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_76 WHERE date = "november 3, 2002" |
Write a SQL query that answers the following question: What surface has natalia gussoni as the partner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (surface VARCHAR, partner VARCHAR) | SELECT surface FROM table_name_14 WHERE partner = "natalia gussoni" |
Write a SQL query that answers the following question: What outcome has September 23, 2013 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_68 WHERE date = "september 23, 2013" |
Write a SQL query that answers the following question: What score in the final has hard as the surface, and june 13, 2011 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_57 WHERE surface = "hard" AND date = "june 13, 2011" |
Write a SQL query that answers the following question: What date has elke clijsters as the partner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (date VARCHAR, partner VARCHAR) | SELECT date FROM table_name_43 WHERE partner = "elke clijsters" |
Write a SQL query that answers the following question: What is the Round with a Prize of money that is £120,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (round VARCHAR, prize_money VARCHAR) | SELECT round FROM table_name_59 WHERE prize_money = "£120,000" |
Write a SQL query that answers the following question: What is the Match with a Prize of money that is £1,000,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (matches VARCHAR, prize_money VARCHAR) | SELECT matches FROM table_name_16 WHERE prize_money = "£1,000,000" |
Write a SQL query that answers the following question: When alvin and the chipmunks meet frankenstein, what was the role? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (role VARCHAR, title VARCHAR) | SELECT role FROM table_name_99 WHERE title = "alvin and the chipmunks meet frankenstein" |
Write a SQL query that answers the following question: What's the earliest year with a role of alvin seville simon seville david 'dave' seville, and a Title of alvin and the chipmunks meet the wolfman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (year INTEGER, role VARCHAR, title VARCHAR) | SELECT MIN(year) FROM table_name_18 WHERE role = "alvin seville simon seville david 'dave' seville" AND title = "alvin and the chipmunks meet the wolfman" |
Write a SQL query that answers the following question: What's the average year for the Role of alvin seville simon seville david 'dave' seville, and a Title of the chipmunk adventure? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (year INTEGER, role VARCHAR, title VARCHAR) | SELECT AVG(year) FROM table_name_30 WHERE role = "alvin seville simon seville david 'dave' seville" AND title = "the chipmunk adventure" |
Write a SQL query that answers the following question: What was the role in the chipmunk adventure? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (role VARCHAR, title VARCHAR) | SELECT role FROM table_name_53 WHERE title = "the chipmunk adventure" |
Write a SQL query that answers the following question: What role was played in 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (role VARCHAR, year VARCHAR) | SELECT role FROM table_name_37 WHERE year = 2007 |
Write a SQL query that answers the following question: What is the total number of points for the KV Racing Technology team when they use a chevrolet engine? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (points VARCHAR, engine VARCHAR, team VARCHAR) | SELECT COUNT(points) FROM table_name_75 WHERE engine = "chevrolet" AND team = "kv racing technology" |
Write a SQL query that answers the following question: Which engine has a chassis of dallara, is ranked 6th, and has 384 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (engine VARCHAR, points VARCHAR, chassis VARCHAR, rank VARCHAR) | SELECT engine FROM table_name_99 WHERE chassis = "dallara" AND rank = "6th" AND points = 384 |
Write a SQL query that answers the following question: Which engine is used when there is a 3rd place rank and 513 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (engine VARCHAR, rank VARCHAR, points VARCHAR) | SELECT engine FROM table_name_23 WHERE rank = "3rd" AND points = 513 |
Write a SQL query that answers the following question: What is the chassis when the rank is 3rd? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (chassis VARCHAR, rank VARCHAR) | SELECT chassis FROM table_name_25 WHERE rank = "3rd" |
Write a SQL query that answers the following question: What are the years that Andretti Autosport is a team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (year VARCHAR, team VARCHAR) | SELECT COUNT(year) FROM table_name_44 WHERE team = "andretti autosport" |
Write a SQL query that answers the following question: Which team is ranked 3rd in 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (team VARCHAR, rank VARCHAR, year VARCHAR) | SELECT team FROM table_name_66 WHERE rank = "3rd" AND year = 2008 |
Write a SQL query that answers the following question: Which Oilers points have a Record of 10–6, and Oilers first downs larger than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (oilers_points INTEGER, record VARCHAR, oilers_first_downs VARCHAR) | SELECT AVG(oilers_points) FROM table_name_1 WHERE record = "10–6" AND oilers_first_downs > 14 |
Write a SQL query that answers the following question: Which Oilers points have an Opponent of san francisco 49ers, and Opponents larger than 19? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (oilers_points INTEGER, opponent VARCHAR, opponents VARCHAR) | SELECT MAX(oilers_points) FROM table_name_72 WHERE opponent = "san francisco 49ers" AND opponents > 19 |
Write a SQL query that answers the following question: Which Game has an Opponent of at kansas city chiefs, and an Attendance smaller than 40,213? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (game INTEGER, opponent VARCHAR, attendance VARCHAR) | SELECT SUM(game) FROM table_name_60 WHERE opponent = "at kansas city chiefs" AND attendance < 40 OFFSET 213 |
Write a SQL query that answers the following question: What is the name of the country that has 18 May 2004 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (country VARCHAR, date VARCHAR) | SELECT country FROM table_name_27 WHERE date = "18 may 2004" |
Write a SQL query that answers the following question: What catalog has Australia as the country? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (catalog VARCHAR, country VARCHAR) | SELECT catalog FROM table_name_58 WHERE country = "australia" |
Write a SQL query that answers the following question: In what format was the release that was dated 7 April 2003 from catalog 584 2112? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (format VARCHAR, date VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_18 WHERE date = "7 april 2003" AND catalog = "584 2112" |
Write a SQL query that answers the following question: What date was the release when the format was lp? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (date VARCHAR, format VARCHAR) | SELECT date FROM table_name_21 WHERE format = "lp" |
Write a SQL query that answers the following question: What date is the release when the label was Parlophone and the catalog was 582 2912? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (date VARCHAR, label VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_35 WHERE label = "parlophone" AND catalog = "582 2912" |
Write a SQL query that answers the following question: What catalog has the United Kingdom as the country? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (catalog VARCHAR, country VARCHAR) | SELECT catalog FROM table_name_9 WHERE country = "united kingdom" |
Write a SQL query that answers the following question: What is the nationality of the guard for the chool/Club Team in Virginia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_34 WHERE position = "guard" AND school_club_team = "virginia" |
Write a SQL query that answers the following question: What is the School/Club Team with a nationality of United States for Arron Afflalo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (school_club_team VARCHAR, nationality VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_91 WHERE nationality = "united states" AND player = "arron afflalo" |
Write a SQL query that answers the following question: What is the Years in Orlando for carlos arroyo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (years_in_orlando VARCHAR, player VARCHAR) | SELECT years_in_orlando FROM table_name_6 WHERE player = "carlos arroyo" |
Write a SQL query that answers the following question: What is the Player for Orlando in 1989–1991? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (player VARCHAR, years_in_orlando VARCHAR) | SELECT player FROM table_name_77 WHERE years_in_orlando = "1989–1991" |
Write a SQL query that answers the following question: What is the Position for Orlando for 1989–1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (position VARCHAR, years_in_orlando VARCHAR) | SELECT position FROM table_name_52 WHERE years_in_orlando = "1989–1999" |
Write a SQL query that answers the following question: Which player was from Western Washington University, played midfield, and was from years after 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (player VARCHAR, year VARCHAR, school VARCHAR, position VARCHAR) | SELECT player FROM table_name_90 WHERE school = "western washington university" AND position = "midfield" AND year > 2009 |
Write a SQL query that answers the following question: Which team was Bubba Vanegdom from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (team VARCHAR, player VARCHAR) | SELECT team FROM table_name_11 WHERE player = "bubba vanegdom" |
Write a SQL query that answers the following question: What was the position of the player from Pacific Lutheran University named Greg Fredlund in years after 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (position VARCHAR, year VARCHAR, school VARCHAR, player VARCHAR) | SELECT position FROM table_name_54 WHERE school = "pacific lutheran university" AND player = "greg fredlund" AND year > 2010 |
Write a SQL query that answers the following question: What was the position of Greg Fredlund in years after 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (position VARCHAR, year VARCHAR, player VARCHAR) | SELECT position FROM table_name_30 WHERE year > 2008 AND player = "greg fredlund" |
Write a SQL query that answers the following question: What home team has 8 ties? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_40 WHERE tie_no = "8" |
Write a SQL query that answers the following question: What year had Kim Gevaert as the female winner and Xavier de Baerdemaeker as the male talent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (year VARCHAR, winner__female_ VARCHAR, talent__male_ VARCHAR) | SELECT year FROM table_name_31 WHERE winner__female_ = "kim gevaert" AND talent__male_ = "xavier de baerdemaeker" |
Write a SQL query that answers the following question: Who is the female talent in 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (talent__female_ VARCHAR, year VARCHAR) | SELECT talent__female_ FROM table_name_41 WHERE year = 1999 |
Write a SQL query that answers the following question: Who is the male talent in 1991? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (talent__male_ VARCHAR, year VARCHAR) | SELECT talent__male_ FROM table_name_39 WHERE year = 1991 |
Write a SQL query that answers the following question: Who is the male winner the year after 1998 with Marleen Renders as the female winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (winner__male_ VARCHAR, winner__female_ VARCHAR, year VARCHAR) | SELECT winner__male_ FROM table_name_40 WHERE winner__female_ = "marleen renders" AND year > 1998 |
Write a SQL query that answers the following question: What is the lowest avg/g that has an effic greater than 34.36, with wesley carroll as the name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (avg_g INTEGER, effic VARCHAR, name VARCHAR) | SELECT MIN(avg_g) FROM table_name_86 WHERE effic > 34.36 AND name = "wesley carroll" |
Write a SQL query that answers the following question: What is the lowest avg/g that has 2-9-0 for the att-cmp-int? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (avg_g INTEGER, att_cmp_int VARCHAR) | SELECT MIN(avg_g) FROM table_name_16 WHERE att_cmp_int = "2-9-0" |
Write a SQL query that answers the following question: What is the att-cmp-int that has 12 for the gp-gs and 174.3 as the avg/g? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (att_cmp_int VARCHAR, gp_gs VARCHAR, avg_g VARCHAR) | SELECT att_cmp_int FROM table_name_16 WHERE gp_gs = "12" AND avg_g = 174.3 |
Write a SQL query that answers the following question: What is the Song with an Issue Date(s) that is 19 june? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (song VARCHAR, issue_date_s_ VARCHAR) | SELECT song FROM table_name_70 WHERE issue_date_s_ = "19 june" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.