instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Which Country has a Score of 79-68-74=212? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_49 WHERE score = 79 - 68 - 74 = 212 |
Write a SQL query that answers the following question: Which To par has a Country of united states, and a Player of duffy waldorf? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (to_par VARCHAR, country VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_22 WHERE country = "united states" AND player = "duffy waldorf" |
Write a SQL query that answers the following question: What is Opponent In Final, when Surface is Hard, when Location is Wellington, New Zealand, and when Date is 6 February 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (opponent_in_final VARCHAR, date VARCHAR, surface VARCHAR, location VARCHAR) | SELECT opponent_in_final FROM table_name_72 WHERE surface = "hard" AND location = "wellington, new zealand" AND date = "6 february 2000" |
Write a SQL query that answers the following question: What is Surface, when Date is 2 May 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_85 WHERE date = "2 may 1999" |
Write a SQL query that answers the following question: What is the 2nd leg when team #1 is Rubin Kazan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (team__number1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_44 WHERE team__number1 = "rubin kazan" |
Write a SQL query that answers the following question: What is the agg when team #2 is 2006 UEFA Intertoto Cup? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (agg VARCHAR, team__number2 VARCHAR) | SELECT agg FROM table_name_24 WHERE team__number2 = "2006 uefa intertoto cup" |
Write a SQL query that answers the following question: What is the highest market value in billions of the company with profits of 20.96 billions and 166.99 billions in assets? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) | SELECT MAX(market_value__billion_) AS $_ FROM table_name_79 WHERE profits__billion_$_ = 20.96 AND assets__billion_$_ > 166.99 |
Write a SQL query that answers the following question: What is the total market value in billions of the company with 20.96 billion in profits and less than 166.99 billions in assets? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (market_value__billion_ VARCHAR, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) | SELECT COUNT(market_value__billion_) AS $_ FROM table_name_34 WHERE profits__billion_$_ = 20.96 AND assets__billion_$_ < 166.99 |
Write a SQL query that answers the following question: What is the average assets in billions of the company Bank of America, which has less than 49.01 billions in sales? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (assets__billion_ INTEGER, company VARCHAR, sales__billion_$_ VARCHAR) | SELECT AVG(assets__billion_) AS $_ FROM table_name_70 WHERE company = "bank of america" AND sales__billion_$_ < 49.01 |
Write a SQL query that answers the following question: What is the highest profits in billions of the company headquartered in the USA with a market value of 194.87 billions and less than 76.66 billions in sales? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR) | SELECT MAX(profits__billion_) AS $_ FROM table_name_87 WHERE headquarters = "usa" AND market_value__billion_$_ = 194.87 AND sales__billion_$_ < 76.66 |
Write a SQL query that answers the following question: Which Total has a Nation of japan, and a Silver larger than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (total INTEGER, nation VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_55 WHERE nation = "japan" AND silver > 2 |
Write a SQL query that answers the following question: Which Nation has a Gold larger than 0, and a Total larger than 4, and a Rank of 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (nation VARCHAR, rank VARCHAR, gold VARCHAR, total VARCHAR) | SELECT nation FROM table_name_74 WHERE gold > 0 AND total > 4 AND rank = "6" |
Write a SQL query that answers the following question: Which Silver has a Rank of 1, and a Total smaller than 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (silver INTEGER, rank VARCHAR, total VARCHAR) | SELECT SUM(silver) FROM table_name_80 WHERE rank = "1" AND total < 11 |
Write a SQL query that answers the following question: Which Total has a Nation of united states, and a Bronze larger than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (total INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT MAX(total) FROM table_name_4 WHERE nation = "united states" AND bronze > 3 |
Write a SQL query that answers the following question: Where did jamie cox & daniel marsh play against queensland? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (venue VARCHAR, opponent VARCHAR, batsmen VARCHAR) | SELECT venue FROM table_name_71 WHERE opponent = "queensland" AND batsmen = "jamie cox & daniel marsh" |
Write a SQL query that answers the following question: Where were jamie cox & scott kremerskothen paired? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (venue VARCHAR, batsmen VARCHAR) | SELECT venue FROM table_name_24 WHERE batsmen = "jamie cox & scott kremerskothen" |
Write a SQL query that answers the following question: Who were the batsmen paired for wicket 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (batsmen VARCHAR, wicket VARCHAR) | SELECT batsmen FROM table_name_83 WHERE wicket = "7" |
Write a SQL query that answers the following question: How many runs did they get against new south wales in 2002/03? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (runs VARCHAR, opponent VARCHAR, season VARCHAR) | SELECT runs FROM table_name_13 WHERE opponent = "new south wales" AND season = "2002/03" |
Write a SQL query that answers the following question: What season did they play queensland at wicket 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (season VARCHAR, opponent VARCHAR, wicket VARCHAR) | SELECT season FROM table_name_81 WHERE opponent = "queensland" AND wicket = "4" |
Write a SQL query that answers the following question: What was the Peak Position on July 11, 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (peak_position VARCHAR, date VARCHAR) | SELECT peak_position FROM table_name_12 WHERE date = "july 11, 2001" |
Write a SQL query that answers the following question: On December 12, 2001, how many weeks had the single been in its position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (weeks VARCHAR, date VARCHAR) | SELECT weeks FROM table_name_18 WHERE date = "december 12, 2001" |
Write a SQL query that answers the following question: What is the nationality of the Team Purdue? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (nationality VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_73 WHERE school_club_team = "purdue" |
Write a SQL query that answers the following question: What is the nationality of the Team Georgia Tech? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (nationality VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_47 WHERE school_club_team = "georgia tech" |
Write a SQL query that answers the following question: What is the nationality of the forward position on the Grizzlies in 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (nationality VARCHAR, position VARCHAR, years_for_grizzlies VARCHAR) | SELECT nationality FROM table_name_60 WHERE position = "forward" AND years_for_grizzlies = "2011" |
Write a SQL query that answers the following question: Who was the runner-up at the event held in Tartu, Estonia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (runner_up VARCHAR, venue VARCHAR) | SELECT runner_up FROM table_name_53 WHERE venue = "tartu, estonia" |
Write a SQL query that answers the following question: For the event held in Tartu, Estonia, what is the name of the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (runner_up VARCHAR, venue VARCHAR) | SELECT runner_up FROM table_name_90 WHERE venue = "tartu, estonia" |
Write a SQL query that answers the following question: Who took third place in 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (third_place VARCHAR, year VARCHAR) | SELECT third_place FROM table_name_82 WHERE year = 2012 |
Write a SQL query that answers the following question: In what year was this event held in Oslo, Norway? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (year VARCHAR, venue VARCHAR) | SELECT year FROM table_name_13 WHERE venue = "oslo, norway" |
Write a SQL query that answers the following question: What is the head of government for Don Stephen Senanayake? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (head_s__of_government VARCHAR, name VARCHAR) | SELECT head_s__of_government FROM table_name_77 WHERE name = "don stephen senanayake" |
Write a SQL query that answers the following question: Which team is in 14th position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (team VARCHAR, pos VARCHAR) | SELECT team FROM table_name_20 WHERE pos = "14th" |
Write a SQL query that answers the following question: What is 2nd Leg, when Team #2 is "San Lorenzo"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (team__number2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_96 WHERE team__number2 = "san lorenzo" |
Write a SQL query that answers the following question: Which Clock Speed has a FSB Speed of 400 mhz, and a Model Number of c7-m 794? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (clock_speed VARCHAR, fsb_speed VARCHAR, model_number VARCHAR) | SELECT clock_speed FROM table_name_63 WHERE fsb_speed = "400 mhz" AND model_number = "c7-m 794" |
Write a SQL query that answers the following question: Which Socket has a FSB Speed of 400 mhz, and a Voltage Range of 1.004 v? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (socket VARCHAR, fsb_speed VARCHAR, voltage_range VARCHAR) | SELECT socket FROM table_name_16 WHERE fsb_speed = "400 mhz" AND voltage_range = "1.004 v" |
Write a SQL query that answers the following question: Which Clock Multiplier has a Clock Speed of 1.6 ghz, and a Model Number of c7-m 764? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (clock_multiplier VARCHAR, clock_speed VARCHAR, model_number VARCHAR) | SELECT clock_multiplier FROM table_name_69 WHERE clock_speed = "1.6 ghz" AND model_number = "c7-m 764" |
Write a SQL query that answers the following question: Which FSB Speed has a Model Number of c7-m 765? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (fsb_speed VARCHAR, model_number VARCHAR) | SELECT fsb_speed FROM table_name_46 WHERE model_number = "c7-m 765" |
Write a SQL query that answers the following question: Which Clock Multiplier has a Model Number of c7-m 764? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (clock_multiplier VARCHAR, model_number VARCHAR) | SELECT clock_multiplier FROM table_name_23 WHERE model_number = "c7-m 764" |
Write a SQL query that answers the following question: Which Release Date has a Voltage Range of 1.148 v - 1.196 v? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (release_date VARCHAR, voltage_range VARCHAR) | SELECT release_date FROM table_name_34 WHERE voltage_range = "1.148 v - 1.196 v" |
Write a SQL query that answers the following question: Who are the players that placed t2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_33 WHERE place = "t2" |
Write a SQL query that answers the following question: Which country is Lee Trevino from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_97 WHERE player = "lee trevino" |
Write a SQL query that answers the following question: Which player(s) is from South Africa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (player VARCHAR, country VARCHAR) | SELECT player FROM table_name_76 WHERE country = "south africa" |
Write a SQL query that answers the following question: what is the record when the year is after 1992, manager is tom kotchman and finish is 2nd? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (record VARCHAR, finish VARCHAR, year VARCHAR, manager VARCHAR) | SELECT record FROM table_name_51 WHERE year > 1992 AND manager = "tom kotchman" AND finish = "2nd" |
Write a SQL query that answers the following question: what is the finish when the manager is tom kotchman and record is 43-33? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (finish VARCHAR, manager VARCHAR, record VARCHAR) | SELECT finish FROM table_name_82 WHERE manager = "tom kotchman" AND record = "43-33" |
Write a SQL query that answers the following question: what is the finish when the manager is tom kotchman and the record is 40-36? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (finish VARCHAR, manager VARCHAR, record VARCHAR) | SELECT finish FROM table_name_50 WHERE manager = "tom kotchman" AND record = "40-36" |
Write a SQL query that answers the following question: who is the manager when the year is before 1994 and finish is 5th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (manager VARCHAR, year VARCHAR, finish VARCHAR) | SELECT manager FROM table_name_6 WHERE year < 1994 AND finish = "5th" |
Write a SQL query that answers the following question: what is the record when the year is 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (record VARCHAR, year VARCHAR) | SELECT record FROM table_name_45 WHERE year = 2011 |
Write a SQL query that answers the following question: What is Player, when Total is "294", and when Year(s) Won is "1955"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (player VARCHAR, total VARCHAR, year_s__won VARCHAR) | SELECT player FROM table_name_61 WHERE total = 294 AND year_s__won = "1955" |
Write a SQL query that answers the following question: What is Player, when To Par is less than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (player VARCHAR, to_par INTEGER) | SELECT player FROM table_name_28 WHERE to_par < 14 |
Write a SQL query that answers the following question: What is To Par, when Player is "Tommy Bolt"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_55 WHERE player = "tommy bolt" |
Write a SQL query that answers the following question: What is the sum of Total, when Player is "Tommy Bolt"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (total INTEGER, player VARCHAR) | SELECT SUM(total) FROM table_name_4 WHERE player = "tommy bolt" |
Write a SQL query that answers the following question: What is the total number of Total, when To Par is "7"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (total VARCHAR, to_par VARCHAR) | SELECT COUNT(total) FROM table_name_50 WHERE to_par = 7 |
Write a SQL query that answers the following question: Which award was won when the nomination was Senses Around? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (award VARCHAR, result VARCHAR, nomination VARCHAR) | SELECT award FROM table_name_77 WHERE result = "won" AND nomination = "senses around" |
Write a SQL query that answers the following question: What was the nomination in a year earlier than 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (nomination VARCHAR, year INTEGER) | SELECT nomination FROM table_name_43 WHERE year < 2009 |
Write a SQL query that answers the following question: Which award is for the category Best New Artist? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (award VARCHAR, category VARCHAR) | SELECT award FROM table_name_55 WHERE category = "best new artist" |
Write a SQL query that answers the following question: What is the earliest year with a category of Top 10 Selling Mandarin Albums of the Year? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (year INTEGER, category VARCHAR) | SELECT MIN(year) FROM table_name_53 WHERE category = "top 10 selling mandarin albums of the year" |
Write a SQL query that answers the following question: For the USAC National Championship, what is the Discipline? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (discipline VARCHAR, championship VARCHAR) | SELECT discipline FROM table_name_31 WHERE championship = "usac national championship" |
Write a SQL query that answers the following question: In the Indianapolis Sweepstakes race session, what is the championship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (championship VARCHAR, session VARCHAR, event VARCHAR) | SELECT championship FROM table_name_72 WHERE session = "race" AND event = "indianapolis sweepstakes" |
Write a SQL query that answers the following question: What circuit is the Sprint Cup series championship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (circuit VARCHAR, championship VARCHAR) | SELECT circuit FROM table_name_29 WHERE championship = "sprint cup series" |
Write a SQL query that answers the following question: What were the Results for 25,000 Attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_91 WHERE attendance = "25,000" |
Write a SQL query that answers the following question: What was the result on 10/06/1934? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_80 WHERE date = "10/06/1934" |
Write a SQL query that answers the following question: What year was the team Club of atlético de san juan fc who plays at hiram bithorn stadium founded. | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (founded INTEGER, stadium VARCHAR, club VARCHAR) | SELECT SUM(founded) FROM table_name_18 WHERE stadium = "hiram bithorn stadium" AND club = "atlético de san juan fc" |
Write a SQL query that answers the following question: What is the Branding of the Iloilo City Frequency with a Power of 10 Kw? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (branding VARCHAR, power VARCHAR, location VARCHAR) | SELECT branding FROM table_name_38 WHERE power = "10 kw" AND location = "iloilo city" |
Write a SQL query that answers the following question: What is the Power of the Frequency with a Callsign of DXLL? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (power VARCHAR, callsign VARCHAR) | SELECT power FROM table_name_48 WHERE callsign = "dxll" |
Write a SQL query that answers the following question: What is the Frequency in Davao City? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (frequency VARCHAR, location VARCHAR) | SELECT frequency FROM table_name_91 WHERE location = "davao city" |
Write a SQL query that answers the following question: What is the Branding with a Callsign DWLL? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (branding VARCHAR, callsign VARCHAR) | SELECT branding FROM table_name_99 WHERE callsign = "dwll" |
Write a SQL query that answers the following question: What is the Branding of the Metro Manila Frequency with a Callsign of DWBL? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (branding VARCHAR, location VARCHAR, callsign VARCHAR) | SELECT branding FROM table_name_19 WHERE location = "metro manila" AND callsign = "dwbl" |
Write a SQL query that answers the following question: What is the Location of the Frequency with a Callsign of DXBL? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (location VARCHAR, callsign VARCHAR) | SELECT location FROM table_name_89 WHERE callsign = "dxbl" |
Write a SQL query that answers the following question: What name in a year after 1997 has a longitude of 213.0e? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (name VARCHAR, year_named VARCHAR, longitude VARCHAR) | SELECT name FROM table_name_91 WHERE year_named > 1997 AND longitude = "213.0e" |
Write a SQL query that answers the following question: How many years correspond to longitude of 36.8e and diameter greater than 697? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (year_named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR) | SELECT COUNT(year_named) FROM table_name_72 WHERE longitude = "36.8e" AND diameter__km_ > 697 |
Write a SQL query that answers the following question: What was the pick # for a center picked before round 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (pick__number VARCHAR, position VARCHAR, round VARCHAR) | SELECT COUNT(pick__number) FROM table_name_87 WHERE position = "center" AND round < 6 |
Write a SQL query that answers the following question: What team with a seed value greater than 7 has a note that they were an NCRAA champion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (team VARCHAR, seed VARCHAR, notes VARCHAR) | SELECT team FROM table_name_75 WHERE seed > 7 AND notes = "ncraa champion" |
Write a SQL query that answers the following question: WHAT IS THE ORICON PEAK NUMBER WITH AN ATLANTIC LABEL, SUBHUMAN RACE, LATER THAN 1995? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (oricon_peak VARCHAR, date_of_release VARCHAR, label VARCHAR, title VARCHAR) | SELECT COUNT(oricon_peak) FROM table_name_72 WHERE label = "atlantic" AND title = "subhuman race" AND date_of_release > 1995 |
Write a SQL query that answers the following question: WHAT LABEL HAD A RELEASE DATE OF 1991? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (label VARCHAR, date_of_release VARCHAR) | SELECT label FROM table_name_80 WHERE date_of_release = 1991 |
Write a SQL query that answers the following question: WHAT IS THE AVERAGE DATE OF RELEASE FOR THICKSKIN? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (date_of_release INTEGER, title VARCHAR) | SELECT AVG(date_of_release) FROM table_name_33 WHERE title = "thickskin" |
Write a SQL query that answers the following question: What is the lowest enrollment amount for a year left of 2012 and a current conference of Mid-South? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (enrollment INTEGER, left VARCHAR, current_conference VARCHAR) | SELECT MIN(enrollment) FROM table_name_17 WHERE left = 2012 AND current_conference = "mid-south" |
Write a SQL query that answers the following question: Which season was there a game with the score of 1:3 played at the venue of national stadium, maldives? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (season INTEGER, score VARCHAR, venue VARCHAR) | SELECT SUM(season) FROM table_name_40 WHERE score = "1:3" AND venue = "national stadium, maldives" |
Write a SQL query that answers the following question: What was the venue of the match where the score was 1:3 and team 2 was binh duong? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (venue VARCHAR, score VARCHAR, team_2 VARCHAR) | SELECT venue FROM table_name_61 WHERE score = "1:3" AND team_2 = "binh duong" |
Write a SQL query that answers the following question: What was the score of the game when team 2 was club valencia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (score VARCHAR, team_2 VARCHAR) | SELECT score FROM table_name_70 WHERE team_2 = "club valencia" |
Write a SQL query that answers the following question: What was the venue of the match where team 2 was pea and the score was 1:3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (venue VARCHAR, team_2 VARCHAR, score VARCHAR) | SELECT venue FROM table_name_59 WHERE team_2 = "pea" AND score = "1:3" |
Write a SQL query that answers the following question: In 2011 with a hydroelectricity less than 119.6, what was the solar? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (solar VARCHAR, year VARCHAR, hydroelectricity VARCHAR) | SELECT solar FROM table_name_48 WHERE year = 2011 AND hydroelectricity < 119.6 |
Write a SQL query that answers the following question: What is the minimum hydroelectricity with a less than 116.4 total, and a greater than 18.637 solar? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (hydroelectricity INTEGER, total VARCHAR, solar VARCHAR) | SELECT MIN(hydroelectricity) FROM table_name_51 WHERE total < 116.4 AND solar > 18.637 |
Write a SQL query that answers the following question: In 2011 with a less than 13.333 wind power what is the mean hydroelectricity? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (hydroelectricity INTEGER, year VARCHAR, wind_power VARCHAR) | SELECT AVG(hydroelectricity) FROM table_name_73 WHERE year > 2011 AND wind_power < 13.333 |
Write a SQL query that answers the following question: What country has a less than 136.1 total and a 0.02 solar? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (country VARCHAR, total VARCHAR, solar VARCHAR) | SELECT country FROM table_name_38 WHERE total < 136.1 AND solar = 0.02 |
Write a SQL query that answers the following question: Home for away of hispano? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (home VARCHAR, away VARCHAR) | SELECT home FROM table_name_4 WHERE away = "hispano" |
Write a SQL query that answers the following question: Which Position has a Pick # smaller than 23, and a Player of garrett sutherland? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (position VARCHAR, pick__number VARCHAR, player VARCHAR) | SELECT position FROM table_name_12 WHERE pick__number < 23 AND player = "garrett sutherland" |
Write a SQL query that answers the following question: Name the CFL Team which has a Player of chris evraire? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (cfl_team VARCHAR, player VARCHAR) | SELECT cfl_team FROM table_name_53 WHERE player = "chris evraire" |
Write a SQL query that answers the following question: Name The Player who has a Pick # of 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_name_13 WHERE pick__number = 27 |
Write a SQL query that answers the following question: Name the Player who has a CFL Team of toronto? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (player VARCHAR, cfl_team VARCHAR) | SELECT player FROM table_name_24 WHERE cfl_team = "toronto" |
Write a SQL query that answers the following question: Name the Pick # which has a Position of lb, and a CFL Team of winnipeg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (pick__number INTEGER, position VARCHAR, cfl_team VARCHAR) | SELECT SUM(pick__number) FROM table_name_74 WHERE position = "lb" AND cfl_team = "winnipeg" |
Write a SQL query that answers the following question: WHAT IS THE SUM OF ATTENDANCE FOR DETROIT, WHEN POINTS ARE LARGER THAN 33? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (attendance INTEGER, home VARCHAR, points VARCHAR) | SELECT SUM(attendance) FROM table_name_26 WHERE home = "detroit" AND points > 33 |
Write a SQL query that answers the following question: What was the location and attendance for the game on December 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_68 WHERE date = "december 12" |
Write a SQL query that answers the following question: What is the lowest Touchdowns, when Player is Andrew Glover, and when Yards is greater than 281? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (touchdowns INTEGER, player VARCHAR, yards VARCHAR) | SELECT MIN(touchdowns) FROM table_name_14 WHERE player = "andrew glover" AND yards > 281 |
Write a SQL query that answers the following question: What is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (touchdowns INTEGER, yards VARCHAR, long VARCHAR) | SELECT AVG(touchdowns) FROM table_name_7 WHERE yards < 293 AND long > 39 |
Write a SQL query that answers the following question: What is the total number of Attempts, when Touchdowns is 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (attempts VARCHAR, touchdowns VARCHAR) | SELECT COUNT(attempts) FROM table_name_61 WHERE touchdowns = 6 |
Write a SQL query that answers the following question: What is Venue, when Extra is Pentathlon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (venue VARCHAR, extra VARCHAR) | SELECT venue FROM table_name_39 WHERE extra = "pentathlon" |
Write a SQL query that answers the following question: What is the highest Year, when Extra is Pentathlon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (year INTEGER, extra VARCHAR) | SELECT MAX(year) FROM table_name_33 WHERE extra = "pentathlon" |
Write a SQL query that answers the following question: What is the sum of Year, when Result is 9th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (year INTEGER, result VARCHAR) | SELECT SUM(year) FROM table_name_10 WHERE result = "9th" |
Write a SQL query that answers the following question: What is Tournament, when Result is 2nd, and when Year is 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (tournament VARCHAR, result VARCHAR, year VARCHAR) | SELECT tournament FROM table_name_74 WHERE result = "2nd" AND year = 2009 |
Write a SQL query that answers the following question: What is Result, when Venue is Götzis , Austria? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_77 WHERE venue = "götzis , austria" |
Write a SQL query that answers the following question: What label does Germany have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (label VARCHAR, region VARCHAR) | SELECT label FROM table_name_24 WHERE region = "germany" |
Write a SQL query that answers the following question: What region has the Chrysalis label, and a Catalog of chr 1047? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (region VARCHAR, label VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_13 WHERE label = "chrysalis" AND catalog = "chr 1047" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.