instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Who did the Chiefs play in Week 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_30 WHERE week = 8 |
Write a SQL query that answers the following question: On what surface was the 26 August 2001 tournament played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_68 WHERE date = "26 august 2001" |
Write a SQL query that answers the following question: What is the average capacity for 150 suites? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (capacity INTEGER, suites VARCHAR) | SELECT AVG(capacity) FROM table_name_46 WHERE suites = "150" |
Write a SQL query that answers the following question: Where is the Eren Talu bidding project located? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (location VARCHAR, project VARCHAR) | SELECT location FROM table_name_30 WHERE project = "eren talu bidding project" |
Write a SQL query that answers the following question: Which location has a capacity larger than 52,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (location VARCHAR, capacity INTEGER) | SELECT location FROM table_name_94 WHERE capacity > 52 OFFSET 000 |
Write a SQL query that answers the following question: What is the highest capacity in Aslantepe in 2002-2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (capacity INTEGER, location VARCHAR, year VARCHAR) | SELECT MAX(capacity) FROM table_name_97 WHERE location = "aslantepe" AND year = "2002-2005" |
Write a SQL query that answers the following question: What is the UNGEGN, when the Khmer is greater than ១០០០០០០០០? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (ungegn VARCHAR, khmer INTEGER) | SELECT ungegn FROM table_name_40 WHERE khmer > ១០០០០០០០០ |
Write a SQL query that answers the following question: What is the Word Form, when the Khmer is greater than ១០០០០០, and the UNGEGN is (muŏy) dáb leăn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (word_form VARCHAR, khmer VARCHAR, ungegn VARCHAR) | SELECT word_form FROM table_name_39 WHERE khmer > ១០០០០០ AND ungegn = "(muŏy) dáb leăn" |
Write a SQL query that answers the following question: What is the UNGEGN, when the Value is 10 000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (ungegn VARCHAR, value VARCHAR) | SELECT ungegn FROM table_name_34 WHERE value = "10 000" |
Write a SQL query that answers the following question: Name the 2008 for wta premier mandatory tournaments of 2007 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (Id VARCHAR) | SELECT 2008 FROM table_name_77 WHERE 2007 = "wta premier mandatory tournaments" |
Write a SQL query that answers the following question: Name the tournament of beijing | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (tournament VARCHAR) | SELECT 2011 FROM table_name_71 WHERE tournament = "beijing" |
Write a SQL query that answers the following question: Name the 2009 for 2007 of 2r and tournament of wimbledon | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (tournament VARCHAR) | SELECT 2009 FROM table_name_35 WHERE 2007 = "2r" AND tournament = "wimbledon" |
Write a SQL query that answers the following question: Name the 2011 for 2010 of olympic games | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (Id VARCHAR) | SELECT 2011 FROM table_name_64 WHERE 2010 = "olympic games" |
Write a SQL query that answers the following question: Name the 2011 for tokyo tournament | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (tournament VARCHAR) | SELECT 2011 FROM table_name_62 WHERE tournament = "tokyo" |
Write a SQL query that answers the following question: Name the 2009 for wta premier mandatory tournaments | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (tournament VARCHAR) | SELECT 2009 FROM table_name_99 WHERE tournament = "wta premier mandatory tournaments" |
Write a SQL query that answers the following question: Which year did Ray Crawford the Kurtis Kraft 500g chassis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (year VARCHAR, chassis VARCHAR) | SELECT year FROM table_name_70 WHERE chassis = "kurtis kraft 500g" |
Write a SQL query that answers the following question: What city had a july high below 84, and a january low of 34.3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (city VARCHAR, july__avg_high_°f_ VARCHAR, january__avg_low_°f_ VARCHAR) | SELECT city FROM table_name_84 WHERE july__avg_high_°f_ < 84 AND january__avg_low_°f_ = "34.3" |
Write a SQL query that answers the following question: What is the july average low associated with a january average high of 30.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (july__avg_low_ VARCHAR, january__avg_high_°f_ VARCHAR) | SELECT COUNT(july__avg_low_) AS °f_ FROM table_name_28 WHERE january__avg_high_°f_ = "30.4" |
Write a SQL query that answers the following question: Which class has an identifier of CBUA-FM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (class VARCHAR, identifier VARCHAR) | SELECT class FROM table_name_50 WHERE identifier = "cbua-fm" |
Write a SQL query that answers the following question: What is the city of license for the frequency 90.1 FM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (city_of_license VARCHAR, frequency VARCHAR) | SELECT city_of_license FROM table_name_15 WHERE frequency = "90.1 fm" |
Write a SQL query that answers the following question: What is the power when the city of license is Beaver Creek? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (power VARCHAR, city_of_license VARCHAR) | SELECT power FROM table_name_50 WHERE city_of_license = "beaver creek" |
Write a SQL query that answers the following question: What is the city of license when the class is LP and the identifier is CBDK? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR) | SELECT city_of_license FROM table_name_70 WHERE class = "lp" AND identifier = "cbdk" |
Write a SQL query that answers the following question: What is the class when the frequency is 560 AM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (class VARCHAR, frequency VARCHAR) | SELECT class FROM table_name_57 WHERE frequency = "560 am" |
Write a SQL query that answers the following question: What are the smallest assets with a Company of piraeus bank, and a Revenue (US$ billion) smaller than 3.9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (assets__us INTEGER, company VARCHAR, revenues__us$_billion_ VARCHAR) | SELECT MIN(assets__us) AS $_billion_ FROM table_name_16 WHERE company = "piraeus bank" AND revenues__us$_billion_ < 3.9 |
Write a SQL query that answers the following question: What is the average market value with a revenue greater than 6.2, a Company of national bank of greece, and a Rank smaller than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (market_value__us INTEGER, rank VARCHAR, revenues__us$_billion_ VARCHAR, company VARCHAR) | SELECT AVG(market_value__us) AS $_billion_ FROM table_name_87 WHERE revenues__us$_billion_ > 6.2 AND company = "national bank of greece" AND rank < 1 |
Write a SQL query that answers the following question: Which company has a market value greater than 1, Assets (US$ billion) smaller than 10.7, a Rank smaller than 10, and revenue (US$ billion) of 9.3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (company VARCHAR, revenues__us$_billion_ VARCHAR, rank VARCHAR, market_value__us$_billion_ VARCHAR, assets__us$_billion_ VARCHAR) | SELECT company FROM table_name_41 WHERE market_value__us$_billion_ > 1 AND assets__us$_billion_ < 10.7 AND rank < 10 AND revenues__us$_billion_ = 9.3 |
Write a SQL query that answers the following question: Tell me the venue with result of eng by 6 wkts | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_72 WHERE result = "eng by 6 wkts" |
Write a SQL query that answers the following question: Name the Home captain for venue of the oval | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_14 WHERE venue = "the oval" |
Write a SQL query that answers the following question: Name the away captain with result of wi by 9 wkts | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (away_captain VARCHAR, result VARCHAR) | SELECT away_captain FROM table_name_69 WHERE result = "wi by 9 wkts" |
Write a SQL query that answers the following question: Name the venue for eng by 6 wkts | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_46 WHERE result = "eng by 6 wkts" |
Write a SQL query that answers the following question: What is the date of the last performance when the style is street dance and the name is George Maguire? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (last_performance VARCHAR, style VARCHAR, name VARCHAR) | SELECT last_performance FROM table_name_77 WHERE style = "street dance" AND name = "george maguire" |
Write a SQL query that answers the following question: What is the date of the last performance for Liam Mower? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (last_performance VARCHAR, name VARCHAR) | SELECT last_performance FROM table_name_11 WHERE name = "liam mower" |
Write a SQL query that answers the following question: How many points did the Weslake v12 get in 1966? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (points INTEGER, engine VARCHAR, year VARCHAR) | SELECT MAX(points) FROM table_name_28 WHERE engine = "weslake v12" AND year < 1966 |
Write a SQL query that answers the following question: What was the name of the team in 1965 driving the Ferrari 158? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_3 WHERE year = 1965 AND chassis = "ferrari 158" |
Write a SQL query that answers the following question: What Chassis had a Weslake v12 in it? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (chassis VARCHAR, engine VARCHAR) | SELECT chassis FROM table_name_30 WHERE engine = "weslake v12" |
Write a SQL query that answers the following question: Name the copaxone with mitoxantrone of no and betaseron (beta-1b) of no | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (copaxone VARCHAR, mitoxantrone VARCHAR, betaseron__beta_1b_ VARCHAR) | SELECT copaxone FROM table_name_13 WHERE mitoxantrone = "no" AND betaseron__beta_1b_ = "no" |
Write a SQL query that answers the following question: Who has a career that has test larger than 41, catches over 33, and a total dismissals rate of 147? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (test_career VARCHAR, total_dismissals VARCHAR, tests VARCHAR, catches VARCHAR) | SELECT test_career FROM table_name_46 WHERE tests > 41 AND catches > 33 AND total_dismissals = 147 |
Write a SQL query that answers the following question: What is the average dismissals of 83 test and catches less than 33? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (total_dismissals INTEGER, tests VARCHAR, catches VARCHAR) | SELECT AVG(total_dismissals) FROM table_name_5 WHERE tests = 83 AND catches < 33 |
Write a SQL query that answers the following question: Which winner has a points classification of Tony Rominger at stage 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_72 WHERE points_classification = "tony rominger" AND stage = "17" |
Write a SQL query that answers the following question: Which stage has a mountains classification of Mariano Piccoli, a points classification of Mario Cipollini and was won by Laudelino Cubino? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (stage VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR) | SELECT stage FROM table_name_93 WHERE mountains_classification = "mariano piccoli" AND points_classification = "mario cipollini" AND winner = "laudelino cubino" |
Write a SQL query that answers the following question: Who won stage 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (winner VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_87 WHERE stage = "16" |
Write a SQL query that answers the following question: Which mountains classification has a general classification of Tony Rominger and was won by Maurizio Fondriest? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (mountains_classification VARCHAR, general_classification VARCHAR, winner VARCHAR) | SELECT mountains_classification FROM table_name_70 WHERE general_classification = "tony rominger" AND winner = "maurizio fondriest" |
Write a SQL query that answers the following question: What is the general classification at stage 18 that has a points classification of Tony Rominger? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (general_classification VARCHAR, points_classification VARCHAR, stage VARCHAR) | SELECT general_classification FROM table_name_59 WHERE points_classification = "tony rominger" AND stage = "18" |
Write a SQL query that answers the following question: Which stage has a mountains classification of Mariano Piccoli and was won by Giuseppe Citterio? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (stage VARCHAR, mountains_classification VARCHAR, winner VARCHAR) | SELECT stage FROM table_name_5 WHERE mountains_classification = "mariano piccoli" AND winner = "giuseppe citterio" |
Write a SQL query that answers the following question: What is the year First elected when the Member is John Armitage? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (first_elected VARCHAR, member VARCHAR) | SELECT first_elected FROM table_name_6 WHERE member = "john armitage" |
Write a SQL query that answers the following question: Who is the Electorate, when the year for First elected is 1974, and when the Party is Country? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (electorate VARCHAR, first_elected VARCHAR, party VARCHAR) | SELECT electorate FROM table_name_16 WHERE first_elected = "1974" AND party = "country" |
Write a SQL query that answers the following question: Who is the Member when the Party is Alp, and when the Electorate is Grey? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (member VARCHAR, party VARCHAR, electorate VARCHAR) | SELECT member FROM table_name_66 WHERE party = "alp" AND electorate = "grey" |
Write a SQL query that answers the following question: What is the State, when the year First elected is 1966, and when the Member is Alan Jarman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (state VARCHAR, first_elected VARCHAR, member VARCHAR) | SELECT state FROM table_name_13 WHERE first_elected = "1966" AND member = "alan jarman" |
Write a SQL query that answers the following question: What is the year First Elected, when the Party is Alp, and when the State is qld? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (first_elected VARCHAR, party VARCHAR, state VARCHAR) | SELECT first_elected FROM table_name_17 WHERE party = "alp" AND state = "qld" |
Write a SQL query that answers the following question: What is the year First elected, when the State is vic, and when the Member is Hon Don Chipp? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (first_elected VARCHAR, state VARCHAR, member VARCHAR) | SELECT first_elected FROM table_name_21 WHERE state = "vic" AND member = "hon don chipp" |
Write a SQL query that answers the following question: Which total number of starts has more than 2 wins and a money list rank greater than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (starts VARCHAR, wins VARCHAR, money_list_rank VARCHAR) | SELECT COUNT(starts) FROM table_name_18 WHERE wins > 2 AND money_list_rank > 1 |
Write a SQL query that answers the following question: What is the sum of Top 10 performances that have more than 2 wins and is higher than number 16 in the Top 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (top_10 INTEGER, wins VARCHAR, top_25 VARCHAR) | SELECT SUM(top_10) FROM table_name_98 WHERE wins > 2 AND top_25 < 16 |
Write a SQL query that answers the following question: What is the greatest money list ranking that has a Top 25 higher than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (money_list_rank INTEGER, top_25 INTEGER) | SELECT MAX(money_list_rank) FROM table_name_44 WHERE top_25 < 2 |
Write a SQL query that answers the following question: What Away team had an Attendance of 3,395? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (away_team VARCHAR, attendance VARCHAR) | SELECT away_team FROM table_name_68 WHERE attendance = "3,395" |
Write a SQL query that answers the following question: What Home team had an Attendance of 2,776? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (home_team VARCHAR, attendance VARCHAR) | SELECT home_team FROM table_name_12 WHERE attendance = "2,776" |
Write a SQL query that answers the following question: Which engine has more than 1 point after 1981? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (engine VARCHAR, points VARCHAR, year VARCHAR) | SELECT engine FROM table_name_71 WHERE points > 1 AND year > 1981 |
Write a SQL query that answers the following question: Which engine did Marlboro Team Alfa Romeo used with a chassis of alfa romeo 179? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (engine VARCHAR, entrant VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_99 WHERE entrant = "marlboro team alfa romeo" AND chassis = "alfa romeo 179" |
Write a SQL query that answers the following question: When has a surface of road and an event of half marathon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (date VARCHAR, surface VARCHAR, event VARCHAR) | SELECT date FROM table_name_63 WHERE surface = "road" AND event = "half marathon" |
Write a SQL query that answers the following question: Which Surface has a Place of lappeenranta? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (surface VARCHAR, place VARCHAR) | SELECT surface FROM table_name_54 WHERE place = "lappeenranta" |
Write a SQL query that answers the following question: Which Class Pos have Laps smaller than 304, and a Year after 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (class VARCHAR, laps VARCHAR, year VARCHAR) | SELECT class AS pos FROM table_name_79 WHERE laps < 304 AND year > 2001 |
Write a SQL query that answers the following question: What is the lowest Laps that has a Year after 2002 with Alexander Frei Bruno Besson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (laps INTEGER, year VARCHAR, co_drivers VARCHAR) | SELECT MIN(laps) FROM table_name_4 WHERE year > 2002 AND co_drivers = "alexander frei bruno besson" |
Write a SQL query that answers the following question: How many people attended the score of w 7-6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (crowd VARCHAR, score VARCHAR) | SELECT crowd FROM table_name_15 WHERE score = "w 7-6" |
Write a SQL query that answers the following question: Who lost that has a score of w 4-3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (loss VARCHAR, score VARCHAR) | SELECT loss FROM table_name_25 WHERE score = "w 4-3" |
Write a SQL query that answers the following question: Loss of schrom happened on what date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_39 WHERE loss = "schrom" |
Write a SQL query that answers the following question: Opponent of @mil, and a Record of 45-16 happened on what date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT date FROM table_name_95 WHERE opponent = "@mil" AND record = "45-16" |
Write a SQL query that answers the following question: Loss of willis has what record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_52 WHERE loss = "willis" |
Write a SQL query that answers the following question: Loss of wilcox, and a Date of jun 18 had what opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (opponent VARCHAR, loss VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_95 WHERE loss = "wilcox" AND date = "jun 18" |
Write a SQL query that answers the following question: Name the to par for score of 74-74-74-71=293 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_64 WHERE score = 74 - 74 - 74 - 71 = 293 |
Write a SQL query that answers the following question: Name the player for 68-68-75-74=285 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_69 WHERE score = 68 - 68 - 75 - 74 = 285 |
Write a SQL query that answers the following question: Name the to par for gene kunes | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_39 WHERE player = "gene kunes" |
Write a SQL query that answers the following question: What is the average Points for a year before 1955? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (points INTEGER, year INTEGER) | SELECT AVG(points) FROM table_name_68 WHERE year < 1955 |
Write a SQL query that answers the following question: What is the total year with a Team of scuderia ferrari, an Engine of ferrari 106 2.5 l4, and more than 12 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (year INTEGER, points VARCHAR, team VARCHAR, engine VARCHAR) | SELECT SUM(year) FROM table_name_4 WHERE team = "scuderia ferrari" AND engine = "ferrari 106 2.5 l4" AND points > 12 |
Write a SQL query that answers the following question: How many wins has a podiums greater than 1 and 9 as the races with a season after 1984? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (wins VARCHAR, season VARCHAR, podiums VARCHAR, races VARCHAR) | SELECT COUNT(wins) FROM table_name_13 WHERE podiums > 1 AND races = 9 AND season > 1984 |
Write a SQL query that answers the following question: What is the highest Podiums with 0 as wins, and a season later than 1985? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (podiums INTEGER, wins VARCHAR, season VARCHAR) | SELECT MAX(podiums) FROM table_name_31 WHERE wins = 0 AND season > 1985 |
Write a SQL query that answers the following question: What was the Top Gear budget in March 2013? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (budget VARCHAR, month_ VARCHAR, _year VARCHAR) | SELECT budget FROM table_name_39 WHERE month_ & _year = "march 2013" |
Write a SQL query that answers the following question: Which episode of Top Gear had a budget of £7,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (episode VARCHAR, budget VARCHAR) | SELECT episode FROM table_name_35 WHERE budget = "£7,000" |
Write a SQL query that answers the following question: Which month and year held the Bolivia Special title? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (month_ VARCHAR, _year VARCHAR, title VARCHAR) | SELECT month_ & _year FROM table_name_18 WHERE title = "bolivia special" |
Write a SQL query that answers the following question: Which team has a right wing position listed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (college_junior_club_team VARCHAR, position VARCHAR) | SELECT college_junior_club_team FROM table_name_8 WHERE position = "right wing" |
Write a SQL query that answers the following question: What position is the player that is from Canada and on the Boston Bruins | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (position VARCHAR, nationality VARCHAR, nhl_team VARCHAR) | SELECT position FROM table_name_51 WHERE nationality = "canada" AND nhl_team = "boston bruins" |
Write a SQL query that answers the following question: What is the position of the player on the Los Angeles Kings? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (position VARCHAR, nhl_team VARCHAR) | SELECT position FROM table_name_92 WHERE nhl_team = "los angeles kings" |
Write a SQL query that answers the following question: Which team has the # 64 pick? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (college_junior_club_team VARCHAR, pick__number VARCHAR) | SELECT college_junior_club_team FROM table_name_13 WHERE pick__number = "64" |
Write a SQL query that answers the following question: What nationality is the #63 pick? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (nationality VARCHAR, pick__number VARCHAR) | SELECT nationality FROM table_name_72 WHERE pick__number = "63" |
Write a SQL query that answers the following question: What is the name of the player that is pick #69? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_name_51 WHERE pick__number = "69" |
Write a SQL query that answers the following question: Which tyres received 8 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (tyres VARCHAR, points VARCHAR) | SELECT tyres FROM table_name_56 WHERE points = 8 |
Write a SQL query that answers the following question: How many points were awarded to the Ford DFZ 3.5 V8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (points INTEGER, engine_s_ VARCHAR) | SELECT SUM(points) FROM table_name_86 WHERE engine_s_ = "ford dfz 3.5 v8" |
Write a SQL query that answers the following question: Which engine received 0 points in 1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (engine_s_ VARCHAR, points VARCHAR, year VARCHAR) | SELECT engine_s_ FROM table_name_44 WHERE points = 0 AND year = 1988 |
Write a SQL query that answers the following question: What's the Issue Date for an Eric Prydz song with a no available Download information? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (issue_date VARCHAR, download VARCHAR, artist VARCHAR) | SELECT issue_date FROM table_name_89 WHERE download = "no available" AND artist = "eric prydz" |
Write a SQL query that answers the following question: What's the Download information for the song from Week 44? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (download VARCHAR, week VARCHAR) | SELECT download FROM table_name_45 WHERE week = 44 |
Write a SQL query that answers the following question: What is the title of the July 2 song that is downloaded as Crazy Frog? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (title VARCHAR, download VARCHAR, issue_date VARCHAR) | SELECT title FROM table_name_5 WHERE download = "crazy frog" AND issue_date = "july 2" |
Write a SQL query that answers the following question: What is the division record for Woodbridge? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (division_record VARCHAR, school VARCHAR) | SELECT division_record FROM table_name_78 WHERE school = "woodbridge" |
Write a SQL query that answers the following question: Who was the runner-up in 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (runner_up VARCHAR, year VARCHAR) | SELECT runner_up FROM table_name_96 WHERE year = "2004" |
Write a SQL query that answers the following question: Who was the 3rd place team at Pardubice? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (venue VARCHAR) | SELECT 3 AS rd_place FROM table_name_41 WHERE venue = "pardubice" |
Write a SQL query that answers the following question: Name the To par for denmark | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_95 WHERE country = "denmark" |
Write a SQL query that answers the following question: Nam ethe place for pat perez | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_43 WHERE player = "pat perez" |
Write a SQL query that answers the following question: Name the country vijay singh is from | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_16 WHERE player = "vijay singh" |
Write a SQL query that answers the following question: Which city has frequency under 106.5MHz and a callsign of w218ck? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) | SELECT city_of_license FROM table_name_31 WHERE frequency_mhz < 106.5 AND call_sign = "w218ck" |
Write a SQL query that answers the following question: Which class has a city of Richmond, Virginia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (class VARCHAR, city_of_license VARCHAR) | SELECT class FROM table_name_20 WHERE city_of_license = "richmond, virginia" |
Write a SQL query that answers the following question: What is the ERP W for the frequency of 91.3MHz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (erp_w VARCHAR, frequency_mhz VARCHAR) | SELECT erp_w FROM table_name_18 WHERE frequency_mhz = 91.3 |
Write a SQL query that answers the following question: Which call sign has a frequency greater than 98.5MHz and ERP W under 155? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | SELECT call_sign FROM table_name_41 WHERE frequency_mhz > 98.5 AND erp_w < 155 |
Write a SQL query that answers the following question: Which tracks have a length of 18:36? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (tracks INTEGER, length VARCHAR) | SELECT MIN(tracks) FROM table_name_26 WHERE length = "18:36" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.