instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the election with an outcome of ndc opposition and 2,728,241 votes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (election VARCHAR, outcome_of_election VARCHAR, number_of_votes VARCHAR) | SELECT election FROM table_name_63 WHERE outcome_of_election = "ndc opposition" AND number_of_votes = "2,728,241" |
Write a SQL query that answers the following question: What is the outcome of the election with 43.3% share of votes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (outcome_of_election VARCHAR, share_of_votes VARCHAR) | SELECT outcome_of_election FROM table_name_26 WHERE share_of_votes = "43.3%" |
Write a SQL query that answers the following question: Who is the candidate in the 2012 election? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (candidate VARCHAR, election VARCHAR) | SELECT candidate FROM table_name_50 WHERE election = "2012" |
Write a SQL query that answers the following question: What is Mark O'Meara's Score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_44 WHERE player = "mark o'meara" |
Write a SQL query that answers the following question: What is Curtis Strange's Score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_11 WHERE player = "curtis strange" |
Write a SQL query that answers the following question: What is the Tracks of the release in Catalog BA 222304 with a Length of 2:57? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (tracks VARCHAR, catalog VARCHAR, length VARCHAR) | SELECT tracks FROM table_name_20 WHERE catalog = "ba 222304" AND length = "2:57" |
Write a SQL query that answers the following question: What is the highest Match No., when Date is 2008-03-21, and when Time is 16:00? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (match_no INTEGER, date VARCHAR, time VARCHAR) | SELECT MAX(match_no) FROM table_name_92 WHERE date = "2008-03-21" AND time = "16:00" |
Write a SQL query that answers the following question: What was the venue for runs 325/6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (venue VARCHAR, runs VARCHAR) | SELECT venue FROM table_name_12 WHERE runs = "325/6" |
Write a SQL query that answers the following question: What season were the runs 310/9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (season VARCHAR, runs VARCHAR) | SELECT season FROM table_name_25 WHERE runs = "310/9" |
Write a SQL query that answers the following question: What were the runs for the opponent from the West Indies? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (runs VARCHAR, opponent VARCHAR) | SELECT runs FROM table_name_64 WHERE opponent = "west indies" |
Write a SQL query that answers the following question: Which Money ($) has a Score of 70-66-73-69=278? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (money___ INTEGER, score VARCHAR) | SELECT AVG(money___) AS $__ FROM table_name_95 WHERE score = 70 - 66 - 73 - 69 = 278 |
Write a SQL query that answers the following question: How many rounds did the match last with Sam Sotello as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (round INTEGER, opponent VARCHAR) | SELECT AVG(round) FROM table_name_78 WHERE opponent = "sam sotello" |
Write a SQL query that answers the following question: What is the record for the loss in UFC 62? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (record VARCHAR, res VARCHAR, event VARCHAR) | SELECT record FROM table_name_26 WHERE res = "loss" AND event = "ufc 62" |
Write a SQL query that answers the following question: What is the part 4 with *heguldun *febungun in part 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (part_4 VARCHAR, part_3 VARCHAR) | SELECT part_4 FROM table_name_6 WHERE part_3 = "*heguldun *febungun" |
Write a SQL query that answers the following question: What is the part 3 with *hegait in part 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (part_3 VARCHAR, part_2 VARCHAR) | SELECT part_3 FROM table_name_31 WHERE part_2 = "*hegait" |
Write a SQL query that answers the following question: What is the part 4 with *hlaupaną *stautaną in part 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (part_4 VARCHAR, part_1 VARCHAR) | SELECT part_4 FROM table_name_6 WHERE part_1 = "*hlaupaną *stautaną" |
Write a SQL query that answers the following question: What is the verb meaning of *haldaną *fanhaną in part 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (verb_meaning VARCHAR, part_1 VARCHAR) | SELECT verb_meaning FROM table_name_26 WHERE part_1 = "*haldaną *fanhaną" |
Write a SQL query that answers the following question: Who is sezen aksu's producer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (producer_s_ VARCHAR, songwriter_s_ VARCHAR) | SELECT producer_s_ FROM table_name_43 WHERE songwriter_s_ = "sezen aksu" |
Write a SQL query that answers the following question: Which Title has a Songwriter(s) of hadise açıkgöz, stefaan fernande, elio deepcore? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (title VARCHAR, songwriter_s_ VARCHAR) | SELECT title FROM table_name_72 WHERE songwriter_s_ = "hadise açıkgöz, stefaan fernande, elio deepcore" |
Write a SQL query that answers the following question: Which Title has a Length of 3:32, and a Producer(s) of hadise açıkgöz, yves jongen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (title VARCHAR, length VARCHAR, producer_s_ VARCHAR) | SELECT title FROM table_name_91 WHERE length = "3:32" AND producer_s_ = "hadise açıkgöz, yves jongen" |
Write a SQL query that answers the following question: Which Producer(s) has a Track smaller than 8, and a Songwriter(s) of hadise açıkgöz, yves jongen, and a Length of 3:08? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (producer_s_ VARCHAR, length VARCHAR, track VARCHAR, songwriter_s_ VARCHAR) | SELECT producer_s_ FROM table_name_46 WHERE track < 8 AND songwriter_s_ = "hadise açıkgöz, yves jongen" AND length = "3:08" |
Write a SQL query that answers the following question: What is track 6's title? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (title VARCHAR, track VARCHAR) | SELECT title FROM table_name_62 WHERE track = 6 |
Write a SQL query that answers the following question: What company makes the Nokia 700? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (company_name VARCHAR, hardware_model VARCHAR) | SELECT company_name FROM table_name_31 WHERE hardware_model = "nokia 700" |
Write a SQL query that answers the following question: What is the accreditation level for the approved (awarded 05.12.12) date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (accreditation_level VARCHAR, date VARCHAR) | SELECT accreditation_level FROM table_name_72 WHERE date = "approved (awarded 05.12.12)" |
Write a SQL query that answers the following question: When did Samsung Electronics Co LTD make the GT-i9100? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (date VARCHAR, company_name VARCHAR, hardware_model VARCHAR) | SELECT date FROM table_name_99 WHERE company_name = "samsung electronics co ltd" AND hardware_model = "gt-i9100" |
Write a SQL query that answers the following question: When the Nokia corporation had an accreditation level of joyn, what was the accreditation type? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (accreditation_type VARCHAR, accreditation_level VARCHAR, company_name VARCHAR) | SELECT accreditation_type FROM table_name_5 WHERE accreditation_level = "joyn" AND company_name = "nokia corporation" |
Write a SQL query that answers the following question: What is Round, when Record is "4-1"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (round VARCHAR, record VARCHAR) | SELECT round FROM table_name_53 WHERE record = "4-1" |
Write a SQL query that answers the following question: What is Opponent, when Location is "Tokyo , Japan", when Method is "Decision (unanimous)", and when Record is "4-1"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (opponent VARCHAR, record VARCHAR, location VARCHAR, method VARCHAR) | SELECT opponent FROM table_name_43 WHERE location = "tokyo , japan" AND method = "decision (unanimous)" AND record = "4-1" |
Write a SQL query that answers the following question: What is Method, when Opponent is "Thiago Alves"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (method VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_19 WHERE opponent = "thiago alves" |
Write a SQL query that answers the following question: What is Event, when Round is "1", when Location is "Osaka , Japan", and when Method is "TKO (corner stoppage)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (event VARCHAR, method VARCHAR, round VARCHAR, location VARCHAR) | SELECT event FROM table_name_64 WHERE round = "1" AND location = "osaka , japan" AND method = "tko (corner stoppage)" |
Write a SQL query that answers the following question: What is Record, when Event is "UFC 64"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (record VARCHAR, event VARCHAR) | SELECT record FROM table_name_78 WHERE event = "ufc 64" |
Write a SQL query that answers the following question: What is the Record for a game smaller than 24, Lundqvist was the decision, November less than 8, and opponent Was New York Islanders? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, november VARCHAR, game VARCHAR, decision VARCHAR) | SELECT record FROM table_name_57 WHERE game < 24 AND decision = "lundqvist" AND november < 8 AND opponent = "new york islanders" |
Write a SQL query that answers the following question: What is the smallest game number with a record of 16-7-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (game INTEGER, record VARCHAR) | SELECT MIN(game) FROM table_name_44 WHERE record = "16-7-2" |
Write a SQL query that answers the following question: What is the Score of the game with a decision of Lundqvist, the November less than 28, and opponent was Boston Bruins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (score VARCHAR, opponent VARCHAR, decision VARCHAR, november VARCHAR) | SELECT score FROM table_name_31 WHERE decision = "lundqvist" AND november < 28 AND opponent = "boston bruins" |
Write a SQL query that answers the following question: Where was the 2013 Eaff East Asian Cup Qualifier played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (venue VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_78 WHERE competition = "2013 eaff east asian cup qualifier" |
Write a SQL query that answers the following question: What is the highest amount of points with a goal average larger than 4, less than 12 draws, and a goal of 63? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (points INTEGER, goals_for VARCHAR, goal_average VARCHAR, draws VARCHAR) | SELECT MAX(points) FROM table_name_63 WHERE goal_average > 4 AND draws < 12 AND goals_for = 63 |
Write a SQL query that answers the following question: What is the lowest goal for a goal against 37 and less than 15 victories? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (goals_for INTEGER, goals_against VARCHAR, victories VARCHAR) | SELECT MIN(goals_for) FROM table_name_43 WHERE goals_against = 37 AND victories < 15 |
Write a SQL query that answers the following question: How many goals on average are there for rank 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (goals_for INTEGER, rank VARCHAR) | SELECT AVG(goals_for) FROM table_name_52 WHERE rank = 3 |
Write a SQL query that answers the following question: What is the average goals against when there are more than 42 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (goals_against INTEGER, played INTEGER) | SELECT AVG(goals_against) FROM table_name_55 WHERE played > 42 |
Write a SQL query that answers the following question: What is the goal difference for the team from Chorley? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (goal_difference VARCHAR, team VARCHAR) | SELECT goal_difference FROM table_name_99 WHERE team = "chorley" |
Write a SQL query that answers the following question: What is T8 Place Player Scott Hoch's Score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_26 WHERE place = "t8" AND player = "scott hoch" |
Write a SQL query that answers the following question: What is the Place of the Player with a Score of 67-76-74-67=284? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_37 WHERE score = 67 - 76 - 74 - 67 = 284 |
Write a SQL query that answers the following question: What is the Money of the Player with a Score of 69-71-69-72=281? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (money___$__ VARCHAR, score VARCHAR) | SELECT money___$__ FROM table_name_70 WHERE score = 69 - 71 - 69 - 72 = 281 |
Write a SQL query that answers the following question: What is the highest Rank, when U-17 Goals is "7", and when Player is "Cesc Fàbregas"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (rank INTEGER, u_17_goals VARCHAR, player VARCHAR) | SELECT MAX(rank) FROM table_name_82 WHERE u_17_goals = 7 AND player = "cesc fàbregas" |
Write a SQL query that answers the following question: What is the highest Rank, when U-17 Goals is "9"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (rank INTEGER, u_17_goals VARCHAR) | SELECT MAX(rank) FROM table_name_49 WHERE u_17_goals = 9 |
Write a SQL query that answers the following question: What Competition has a Result of Draw? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_50 WHERE result = "draw" |
Write a SQL query that answers the following question: What is the Date of the Competition with a Score of 1–2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_85 WHERE score = "1–2" |
Write a SQL query that answers the following question: What New Delhi Competition has a Result of Loss? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (competition VARCHAR, venue VARCHAR, result VARCHAR) | SELECT competition FROM table_name_33 WHERE venue = "new delhi" AND result = "loss" |
Write a SQL query that answers the following question: How many rounds in the event when record is 1-5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (round VARCHAR, record VARCHAR) | SELECT COUNT(round) FROM table_name_7 WHERE record = "1-5" |
Write a SQL query that answers the following question: Who is the opponent when there is a win in round greater than 1 and the record is 42-27-10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (opponent VARCHAR, record VARCHAR, res VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_23 WHERE res = "win" AND round > 1 AND record = "42-27-10" |
Write a SQL query that answers the following question: Who is team E when Jason Manning is Team F? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (team_e VARCHAR, team_f VARCHAR) | SELECT team_e FROM table_name_89 WHERE team_f = "jason manning" |
Write a SQL query that answers the following question: Who is Team A when wilma hofschneider-david is team C? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (team_a VARCHAR, team_c VARCHAR) | SELECT team_a FROM table_name_35 WHERE team_c = "wilma hofschneider-david" |
Write a SQL query that answers the following question: Who is team f when Aida Gagaring is team A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (team_f VARCHAR, team_a VARCHAR) | SELECT team_f FROM table_name_16 WHERE team_a = "aida gagaring" |
Write a SQL query that answers the following question: Who is Team D when Carmen Ada is team C? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (team_d VARCHAR, team_c VARCHAR) | SELECT team_d FROM table_name_61 WHERE team_c = "carmen ada" |
Write a SQL query that answers the following question: Who is team e when Aaron Solloway is team D? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (team_e VARCHAR, team_d VARCHAR) | SELECT team_e FROM table_name_94 WHERE team_d = "aaron solloway" |
Write a SQL query that answers the following question: Who is team c when dhez javier is team e? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (team_c VARCHAR, team_e VARCHAR) | SELECT team_c FROM table_name_44 WHERE team_e = "dhez javier" |
Write a SQL query that answers the following question: What was the country of the player at +5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_68 WHERE to_par = "+5" |
Write a SQL query that answers the following question: Which player finished at +4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_31 WHERE to_par = "+4" |
Write a SQL query that answers the following question: What was Bert Yancey's finishing score to par? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_21 WHERE player = "bert yancey" |
Write a SQL query that answers the following question: Who was the bachelorette of the season where ian mckee was the winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (bachelorette VARCHAR, winner VARCHAR) | SELECT bachelorette FROM table_name_20 WHERE winner = "ian mckee" |
Write a SQL query that answers the following question: What is the earliest season with an advertising account manager profile? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (season INTEGER, profile VARCHAR) | SELECT MIN(season) FROM table_name_38 WHERE profile = "advertising account manager" |
Write a SQL query that answers the following question: Who is the bachelorette of the season that premiered on May 24, 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (bachelorette VARCHAR, premiered VARCHAR) | SELECT bachelorette FROM table_name_37 WHERE premiered = "may 24, 2010" |
Write a SQL query that answers the following question: Who is the bachelorette after season 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (bachelorette VARCHAR, season INTEGER) | SELECT bachelorette FROM table_name_25 WHERE season > 8 |
Write a SQL query that answers the following question: When the conference is west coast and the number of bids are at 2, what's the percentage of games won? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (win__percentage VARCHAR, _number_of_bids VARCHAR, conference VARCHAR) | SELECT win__percentage FROM table_name_51 WHERE _number_of_bids = 2 AND conference = "west coast" |
Write a SQL query that answers the following question: If a team had a percentage of games won recorded as .429, what Championship Game was played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (championship_game VARCHAR, win__percentage VARCHAR) | SELECT championship_game FROM table_name_82 WHERE win__percentage = ".429" |
Write a SQL query that answers the following question: What was the attendance for the game in Week 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_94 WHERE week = 3 |
Write a SQL query that answers the following question: On what date was the opponent the Green Bay Packers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_43 WHERE opponent = "green bay packers" |
Write a SQL query that answers the following question: When did Ismail Qemali Bej's term start? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (term_start VARCHAR, name VARCHAR) | SELECT term_start FROM table_name_61 WHERE name = "ismail qemali bej" |
Write a SQL query that answers the following question: When did Fejzi Bej Alizoti's term end? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (term_end VARCHAR, name VARCHAR) | SELECT term_end FROM table_name_5 WHERE name = "fejzi bej alizoti" |
Write a SQL query that answers the following question: When did the term end for the person who started their term on 28 November 1912? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (term_end VARCHAR, term_start VARCHAR) | SELECT term_end FROM table_name_89 WHERE term_start = "28 november 1912" |
Write a SQL query that answers the following question: When did Fejzi Bej Alizoti's term start? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (term_start VARCHAR, name VARCHAR) | SELECT term_start FROM table_name_38 WHERE name = "fejzi bej alizoti" |
Write a SQL query that answers the following question: What is the sum of Points 1, when Team is "Gainsborough Trinity", and when Played is greater than 46? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (points_1 INTEGER, team VARCHAR, played VARCHAR) | SELECT SUM(points_1) FROM table_name_55 WHERE team = "gainsborough trinity" AND played > 46 |
Write a SQL query that answers the following question: What is the total number of Points 1, when Lost is less than 20, and when Goals For is greater than 92? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (points_1 VARCHAR, lost VARCHAR, goals_for VARCHAR) | SELECT COUNT(points_1) FROM table_name_10 WHERE lost < 20 AND goals_for > 92 |
Write a SQL query that answers the following question: What is the total number of Position, when Played is less than 46? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (position VARCHAR, played INTEGER) | SELECT COUNT(position) FROM table_name_51 WHERE played < 46 |
Write a SQL query that answers the following question: Which Location has a Frequency of 102.5 fm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (location VARCHAR, frequency VARCHAR) | SELECT location FROM table_name_4 WHERE frequency = "102.5 fm" |
Write a SQL query that answers the following question: Which Call sign has a Frequency of 102.5 fm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (call_sign VARCHAR, frequency VARCHAR) | SELECT call_sign FROM table_name_26 WHERE frequency = "102.5 fm" |
Write a SQL query that answers the following question: Which Owner has a Name / Format of 105.3 kool fm - hot adult contemporary? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (owner VARCHAR, name___format VARCHAR) | SELECT owner FROM table_name_18 WHERE name___format = "105.3 kool fm - hot adult contemporary" |
Write a SQL query that answers the following question: Which Location has a Call sign of cjtw-fm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (location VARCHAR, call_sign VARCHAR) | SELECT location FROM table_name_90 WHERE call_sign = "cjtw-fm" |
Write a SQL query that answers the following question: Which Frequency has an Owner of rogers communications rogers radio, and a Call sign of cikz-fm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (frequency VARCHAR, owner VARCHAR, call_sign VARCHAR) | SELECT frequency FROM table_name_77 WHERE owner = "rogers communications rogers radio" AND call_sign = "cikz-fm" |
Write a SQL query that answers the following question: What is the lowest laps that Vittorio Iannuzzo completed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (laps INTEGER, rider VARCHAR) | SELECT MIN(laps) FROM table_name_1 WHERE rider = "vittorio iannuzzo" |
Write a SQL query that answers the following question: What is the total time that it took for the driver to finish 14 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (time VARCHAR, laps VARCHAR) | SELECT time FROM table_name_52 WHERE laps = 14 |
Write a SQL query that answers the following question: What is the Grid of Régis Laconi's bike that is a Kawasaki zx-10r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (grid VARCHAR, bike VARCHAR, rider VARCHAR) | SELECT grid FROM table_name_50 WHERE bike = "kawasaki zx-10r" AND rider = "régis laconi" |
Write a SQL query that answers the following question: What is the name of the bike that has a grid number smaller than 9 with a time of +7.764? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (bike VARCHAR, grid VARCHAR, time VARCHAR) | SELECT bike FROM table_name_18 WHERE grid < 9 AND time = "+7.764" |
Write a SQL query that answers the following question: Who was the French Elector Elevated on 1288, May 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (elector VARCHAR, nationality VARCHAR, elevated VARCHAR) | SELECT elector FROM table_name_92 WHERE nationality = "french" AND elevated = "1288, may 16" |
Write a SQL query that answers the following question: What Elector has the Title of Titulus S. Cecilia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (elector VARCHAR, title VARCHAR) | SELECT elector FROM table_name_13 WHERE title = "titulus s. cecilia" |
Write a SQL query that answers the following question: What is the Nationality of the Deacon of S. Maria in Via Lata? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (nationality VARCHAR, title VARCHAR) | SELECT nationality FROM table_name_5 WHERE title = "deacon of s. maria in via lata" |
Write a SQL query that answers the following question: What is the Title of Elector Giovanni Boccamazza? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (title VARCHAR, elector VARCHAR) | SELECT title FROM table_name_16 WHERE elector = "giovanni boccamazza" |
Write a SQL query that answers the following question: What was the record for the date above 27 and an opponent of the St. Louis Blues? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (record VARCHAR, date VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_33 WHERE date > 27 AND opponent = "st. louis blues" |
Write a SQL query that answers the following question: Who was the opponent for a game over 31 and a date over 30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (opponent VARCHAR, game VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_54 WHERE game > 31 AND date > 30 |
Write a SQL query that answers the following question: What date did the song by jennifer lopez get issued? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (issue_date_s_ VARCHAR, artist VARCHAR) | SELECT issue_date_s_ FROM table_name_54 WHERE artist = "jennifer lopez" |
Write a SQL query that answers the following question: What is the total number of gold medals when there were 2 bronze medals, a total of more than 3 medals and ranked 61? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (gold VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT COUNT(gold) FROM table_name_31 WHERE bronze = 2 AND rank = "61" AND total > 3 |
Write a SQL query that answers the following question: What is the average total number of medals when there were 4 bronze, more than 2 silver, and less than 7 gold medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT AVG(total) FROM table_name_26 WHERE bronze = 4 AND silver > 2 AND gold < 7 |
Write a SQL query that answers the following question: What is the lowest episode number with an original airdate on 8 June 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (episode INTEGER, original_airdate VARCHAR) | SELECT MIN(episode) FROM table_name_31 WHERE original_airdate = "8 june 2008" |
Write a SQL query that answers the following question: Who was number 4 when Natalie was number 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (no_4 VARCHAR, no_9 VARCHAR) | SELECT no_4 FROM table_name_38 WHERE no_9 = "natalie" |
Write a SQL query that answers the following question: Who was number 7 when Olivia was number 5 and Emma was number 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (no_7 VARCHAR, no_5 VARCHAR, no_2 VARCHAR) | SELECT no_7 FROM table_name_16 WHERE no_5 = "olivia" AND no_2 = "emma" |
Write a SQL query that answers the following question: When Chloe was number 8, Olivia was number 2, Emma was number 1, and Ava was number 4, who was number 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (no_5 VARCHAR, no_4 VARCHAR, no_1 VARCHAR, no_8 VARCHAR, no_2 VARCHAR) | SELECT no_5 FROM table_name_76 WHERE no_8 = "chloe" AND no_2 = "olivia" AND no_1 = "emma" AND no_4 = "ava" |
Write a SQL query that answers the following question: What platform is the company Surfstats Software? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (platform VARCHAR, company VARCHAR) | SELECT platform FROM table_name_44 WHERE company = "surfstats software" |
Write a SQL query that answers the following question: What is the USD price for Tealeaf? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (price_in_usd VARCHAR, company VARCHAR) | SELECT price_in_usd FROM table_name_79 WHERE company = "tealeaf" |
Write a SQL query that answers the following question: What is the platform for the latest release 5.0.3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (platform VARCHAR, latest_stable_release VARCHAR) | SELECT platform FROM table_name_53 WHERE latest_stable_release = "5.0.3" |
Write a SQL query that answers the following question: What is the platform for the latest release 8.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (platform VARCHAR, latest_stable_release VARCHAR) | SELECT platform FROM table_name_28 WHERE latest_stable_release = "8.4" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.