instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What year was Burning Roma the winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (year VARCHAR, winner VARCHAR) | SELECT year FROM table_name_2 WHERE winner = "burning roma" |
Write a SQL query that answers the following question: What is the win/loss of coach Peter German? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (win_loss VARCHAR, coach VARCHAR) | SELECT win_loss FROM table_name_23 WHERE coach = "peter german" |
Write a SQL query that answers the following question: Which tyre was before 1995 with 142 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (tyres VARCHAR, year VARCHAR, laps VARCHAR) | SELECT tyres FROM table_name_14 WHERE year < 1995 AND laps = 142 |
Write a SQL query that answers the following question: Which tyres has more than 5 laps with team nissan motorsports international? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (tyres VARCHAR, laps VARCHAR, team VARCHAR) | SELECT tyres FROM table_name_89 WHERE laps > 5 AND team = "nissan motorsports international" |
Write a SQL query that answers the following question: What position that has m tyres and 352 or more laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (pos VARCHAR, tyres VARCHAR, laps VARCHAR) | SELECT pos FROM table_name_56 WHERE tyres = "m" AND laps > 352 |
Write a SQL query that answers the following question: who is the team 2 when the team 1 is sestese(e16)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_29 WHERE team_1 = "sestese(e16)" |
Write a SQL query that answers the following question: What is the largest base pair with a Strain of unspecified? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (base_pairs INTEGER, strain VARCHAR) | SELECT MAX(base_pairs) FROM table_name_2 WHERE strain = "unspecified" |
Write a SQL query that answers the following question: What is the lowst base pair with a Species of borrelia garinii, and a Genes larger than 832? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (base_pairs INTEGER, species VARCHAR, genes VARCHAR) | SELECT MIN(base_pairs) FROM table_name_21 WHERE species = "borrelia garinii" AND genes > 832 |
Write a SQL query that answers the following question: What type has an unspecified species and less than 367 genes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (type VARCHAR, species VARCHAR, genes VARCHAR) | SELECT type FROM table_name_65 WHERE species = "unspecified" AND genes < 367 |
Write a SQL query that answers the following question: What base pair has 832 genes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (base_pairs VARCHAR, genes VARCHAR) | SELECT base_pairs FROM table_name_79 WHERE genes = 832 |
Write a SQL query that answers the following question: Which competition was ranked 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (competition VARCHAR, rank VARCHAR) | SELECT competition FROM table_name_53 WHERE rank = 9 |
Write a SQL query that answers the following question: What is the sum of draws with 274-357 goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (drawn INTEGER, goals VARCHAR) | SELECT SUM(drawn) FROM table_name_94 WHERE goals = "274-357" |
Write a SQL query that answers the following question: What is the lowest played 2 number with less than 83 losses and less than 65 draws with Chernomorets Novorossiysk in season 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (played_2 INTEGER, drawn VARCHAR, club_1 VARCHAR, lost VARCHAR, seasons VARCHAR) | SELECT MIN(played_2) FROM table_name_65 WHERE lost > 83 AND seasons = 8 AND club_1 = "chernomorets novorossiysk" AND drawn < 65 |
Write a SQL query that answers the following question: What is the rank number with 562-506 goals before season 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (rank VARCHAR, goals VARCHAR, seasons VARCHAR) | SELECT COUNT(rank) FROM table_name_88 WHERE goals = "562-506" AND seasons < 13 |
Write a SQL query that answers the following question: How many seasons have goals of 261-338 with more than 111 losses? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (seasons VARCHAR, goals VARCHAR, lost VARCHAR) | SELECT COUNT(seasons) FROM table_name_77 WHERE goals = "261-338" AND lost > 111 |
Write a SQL query that answers the following question: What is the highest season number with 57 draws, rank 20, and more than 1 spell? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (seasons INTEGER, spells VARCHAR, drawn VARCHAR, rank VARCHAR) | SELECT MAX(seasons) FROM table_name_28 WHERE drawn = 57 AND rank = 20 AND spells > 1 |
Write a SQL query that answers the following question: What was the results of the game at Doha? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_51 WHERE venue = "doha" |
Write a SQL query that answers the following question: What was the score during the competition of 1998 fifa world cup qualification? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (score VARCHAR, competition VARCHAR) | SELECT score FROM table_name_42 WHERE competition = "1998 fifa world cup qualification" |
Write a SQL query that answers the following question: What is the competition that took place on October 1, 1994? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_45 WHERE date = "october 1, 1994" |
Write a SQL query that answers the following question: What is the competition that had a 2-2 result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_58 WHERE result = "2-2" |
Write a SQL query that answers the following question: Where did the competition take place that had a 4-2 result? | 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 = "4-2" |
Write a SQL query that answers the following question: Where was the competition that took place that had a 5-1 result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_7 WHERE result = "5-1" |
Write a SQL query that answers the following question: Tell me the highest goals with tries less than 1 and fullback position | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (goals INTEGER, tries VARCHAR, position VARCHAR) | SELECT MAX(goals) FROM table_name_5 WHERE tries < 1 AND position = "fullback" |
Write a SQL query that answers the following question: Tell me the lowest tries for goals more than 0 with centre position and points less than 54 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (tries INTEGER, points VARCHAR, goals VARCHAR, position VARCHAR) | SELECT MIN(tries) FROM table_name_40 WHERE goals > 0 AND position = "centre" AND points < 54 |
Write a SQL query that answers the following question: I want to know the player with tries more than 1 and position of hooker with points less than 54 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (player VARCHAR, position VARCHAR, tries VARCHAR, points VARCHAR) | SELECT player FROM table_name_18 WHERE tries > 1 AND points < 54 AND position = "hooker" |
Write a SQL query that answers the following question: Tell me the player with points larger than 36 and goals more than 0 with tries of 12 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (player VARCHAR, tries VARCHAR, points VARCHAR, goals VARCHAR) | SELECT player FROM table_name_56 WHERE points > 36 AND goals > 0 AND tries = 12 |
Write a SQL query that answers the following question: What Tournament was the 2010 Olympic Games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (tournament VARCHAR) | SELECT tournament FROM table_name_58 WHERE 2010 = "olympic games" |
Write a SQL query that answers the following question: Which width had an entered service year of 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (width VARCHAR, entered_service VARCHAR) | SELECT width FROM table_name_3 WHERE entered_service = 2010 |
Write a SQL query that answers the following question: What is the most recent built year when the year of entering service was more recent than 2003, and the knots is less than 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (built INTEGER, entered_service VARCHAR, knots VARCHAR) | SELECT MAX(built) FROM table_name_44 WHERE entered_service > 2003 AND knots < 27 |
Write a SQL query that answers the following question: How many knots did the Ms Moby Vincent have when passengers was less than 1.6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (knots VARCHAR, ship VARCHAR, passengers VARCHAR) | SELECT COUNT(knots) FROM table_name_11 WHERE ship = "ms moby vincent" AND passengers < 1.6 |
Write a SQL query that answers the following question: Where did Richmond play as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_51 WHERE away_team = "richmond" |
Write a SQL query that answers the following question: When the phillies 1:15 pm played on April 9, what was the attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_21 WHERE opponent = "phillies 1:15 pm" AND date = "april 9" |
Write a SQL query that answers the following question: When was there a score of 5-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_42 WHERE score = "5-1" |
Write a SQL query that answers the following question: What is the average number of silvers for nations with over 1 bronze medal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (silver INTEGER, bronze INTEGER) | SELECT AVG(silver) FROM table_name_62 WHERE bronze > 1 |
Write a SQL query that answers the following question: What is the Interregnum ended for Count Palatine of Saxony of frederick augustus i, elector of saxony? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR) | SELECT interregnum_ended FROM table_name_37 WHERE count_palatine_of_saxony = "frederick augustus i, elector of saxony" |
Write a SQL query that answers the following question: What is the Interregnum ended for Count Palatine of Saxony of john george ii, elector of saxony? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (interregnum_ended VARCHAR, count_palatine_of_saxony VARCHAR) | SELECT interregnum_ended FROM table_name_69 WHERE count_palatine_of_saxony = "john george ii, elector of saxony" |
Write a SQL query that answers the following question: What is the duration for Count Palatine of the Rhine of charles albert, elector of bavaria? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (duration VARCHAR, count_palatine_of_the_rhine VARCHAR) | SELECT duration FROM table_name_53 WHERE count_palatine_of_the_rhine = "charles albert, elector of bavaria" |
Write a SQL query that answers the following question: What is the name of the Count Palatine of the Rhine with a Interregnum began of 2 april 1657 death of ferdinand iii? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (count_palatine_of_the_rhine VARCHAR, interregnum_began VARCHAR) | SELECT count_palatine_of_the_rhine FROM table_name_65 WHERE interregnum_began = "2 april 1657 death of ferdinand iii" |
Write a SQL query that answers the following question: What is the Interregnum ended for the person with a Duration of 3 months, 6 days? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (interregnum_ended VARCHAR, duration VARCHAR) | SELECT interregnum_ended FROM table_name_78 WHERE duration = "3 months, 6 days" |
Write a SQL query that answers the following question: What was the crowd size when the home team was Hawthorn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_53 WHERE home_team = "hawthorn" |
Write a SQL query that answers the following question: What is the total share with Timeslot of 8:30 p.m., anAir Date of march 27, 2008, and a Rank greater than 65? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (share INTEGER, rank__overall_ VARCHAR, timeslot VARCHAR, air_date VARCHAR) | SELECT SUM(share) FROM table_name_25 WHERE timeslot = "8:30 p.m." AND air_date = "march 27, 2008" AND rank__overall_ > 65 |
Write a SQL query that answers the following question: What is the total number of Viewers with a Rank (Night) of n/a, and a Timeslot of 8:30 p.m.? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (viewers__m_ VARCHAR, rank__night_ VARCHAR, timeslot VARCHAR) | SELECT COUNT(viewers__m_) FROM table_name_80 WHERE rank__night_ = "n/a" AND timeslot = "8:30 p.m." |
Write a SQL query that answers the following question: How many people attended the game when Calgary was the home team and the decision was McLean? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (attendance VARCHAR, decision VARCHAR, home VARCHAR) | SELECT COUNT(attendance) FROM table_name_11 WHERE decision = "mclean" AND home = "calgary" |
Write a SQL query that answers the following question: What is the record of the game when Los Angeles was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_38 WHERE home = "los angeles" |
Write a SQL query that answers the following question: What is the record of the game with a score of 1 – 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_39 WHERE score = "1 – 5" |
Write a SQL query that answers the following question: What is the least number of people to attend a game when Los Angeles was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (attendance INTEGER, home VARCHAR) | SELECT MIN(attendance) FROM table_name_97 WHERE home = "los angeles" |
Write a SQL query that answers the following question: who is the runner- up when the tournament is santiago? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (runner_up VARCHAR, tournament VARCHAR) | SELECT runner_up FROM table_name_96 WHERE tournament = "santiago" |
Write a SQL query that answers the following question: what is the score when the runner-up is richard krajicek? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (score VARCHAR, runner_up VARCHAR) | SELECT score FROM table_name_54 WHERE runner_up = "richard krajicek" |
Write a SQL query that answers the following question: what is the tournament when the score is 7-6(0), 6-3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_48 WHERE score = "7-6(0), 6-3" |
Write a SQL query that answers the following question: who is third place when the tournament is delray beach? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (third_place VARCHAR, tournament VARCHAR) | SELECT third_place FROM table_name_77 WHERE tournament = "delray beach" |
Write a SQL query that answers the following question: What was the score in the Continental Qualifier on February 23, 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (score VARCHAR, competition VARCHAR, date VARCHAR) | SELECT score FROM table_name_63 WHERE competition = "continental qualifier" AND date = "february 23, 2003" |
Write a SQL query that answers the following question: What was the score for the World Cup Qualifier? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (score VARCHAR, competition VARCHAR) | SELECT score FROM table_name_72 WHERE competition = "world cup qualifier" |
Write a SQL query that answers the following question: What was the result on February 18, 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_61 WHERE date = "february 18, 2003" |
Write a SQL query that answers the following question: When was the ship that had a fate of 'converted to laker, 1961; still in service' commissioned? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (commissioned VARCHAR, fate VARCHAR) | SELECT commissioned FROM table_name_14 WHERE fate = "converted to laker, 1961; still in service" |
Write a SQL query that answers the following question: When was the ship originally named sachem finally decommissioned? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (final_decommission VARCHAR, original_name VARCHAR) | SELECT final_decommission FROM table_name_94 WHERE original_name = "sachem" |
Write a SQL query that answers the following question: What did the away team score in the game against Richmond? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_69 WHERE home_team = "richmond" |
Write a SQL query that answers the following question: Which player has no 0 results and multiples ties? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (player VARCHAR, no_result VARCHAR, tied VARCHAR) | SELECT player FROM table_name_41 WHERE no_result = 0 AND tied > 0 |
Write a SQL query that answers the following question: What is the low no result with more than 5 loss and a win ration lesser than 58.06? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (no_result INTEGER, lost VARCHAR, _percentage_win_ VARCHAR, a_ VARCHAR) | SELECT MIN(no_result) FROM table_name_80 WHERE lost > 5 AND _percentage_win_[a_] < 58.06 |
Write a SQL query that answers the following question: Name the opponent for may 12 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_73 WHERE date = "may 12" |
Write a SQL query that answers the following question: Name the date for Loss of schilling (5–2) | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_31 WHERE loss = "schilling (5–2)" |
Write a SQL query that answers the following question: Name the record for may 31 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_64 WHERE date = "may 31" |
Write a SQL query that answers the following question: What was the highest average for the contestant having an interview score of 8.46? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (average INTEGER, interview VARCHAR) | SELECT MAX(average) FROM table_name_84 WHERE interview = 8.46 |
Write a SQL query that answers the following question: What day had a time of 29.816? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_45 WHERE time = "29.816" |
Write a SQL query that answers the following question: What kind of car has the NASCAR Camping World Truck Series record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (car_make VARCHAR, record VARCHAR) | SELECT car_make FROM table_name_7 WHERE record = "nascar camping world truck series" |
Write a SQL query that answers the following question: Was it a home game on the date of April 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_6 WHERE date = "april 6" |
Write a SQL query that answers the following question: What was the date when the home team was Dallas? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_28 WHERE home = "dallas" |
Write a SQL query that answers the following question: What is Rhett Mclane's highest pick number? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (pick__number INTEGER, player VARCHAR) | SELECT MAX(pick__number) FROM table_name_94 WHERE player = "rhett mclane" |
Write a SQL query that answers the following question: What is Colorado College's lowest pick number? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (pick__number INTEGER, college VARCHAR) | SELECT MIN(pick__number) FROM table_name_9 WHERE college = "colorado" |
Write a SQL query that answers the following question: What player belongs to Northwestern College? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_34 WHERE college = "northwestern" |
Write a SQL query that answers the following question: What CFL Team is Pascal Masson on? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (cfl_team VARCHAR, player VARCHAR) | SELECT cfl_team FROM table_name_76 WHERE player = "pascal masson" |
Write a SQL query that answers the following question: What's the number & name for the date after 1954? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (number_ VARCHAR, _name VARCHAR, date INTEGER) | SELECT number_ & _name FROM table_name_28 WHERE date > 1954 |
Write a SQL query that answers the following question: What's the date for princess royal class locomotive trust? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (date VARCHAR, owner_s_ VARCHAR) | SELECT date FROM table_name_77 WHERE owner_s_ = "princess royal class locomotive trust" |
Write a SQL query that answers the following question: What's the number & name for the description peckett 0-4-0st? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (number_ VARCHAR, _name VARCHAR, description VARCHAR) | SELECT number_ & _name FROM table_name_72 WHERE description = "peckett 0-4-0st" |
Write a SQL query that answers the following question: What's the number & name for a description of lms fowler class 3f 0-6-0t? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (number_ VARCHAR, _name VARCHAR, description VARCHAR) | SELECT number_ & _name FROM table_name_10 WHERE description = "lms fowler class 3f 0-6-0t" |
Write a SQL query that answers the following question: Who drive 74 laps in a grid larger than 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (driver VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_25 WHERE laps = 74 AND grid > 9 |
Write a SQL query that answers the following question: Who is the player for St. Mary's team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (player VARCHAR, school_club_team_country VARCHAR) | SELECT player FROM table_name_48 WHERE school_club_team_country = "st. mary's" |
Write a SQL query that answers the following question: How tall is the player from Mississippi | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (height_in_ft VARCHAR, school_club_team_country VARCHAR) | SELECT height_in_ft FROM table_name_15 WHERE school_club_team_country = "mississippi" |
Write a SQL query that answers the following question: What is the player number for the player from Centenary? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (no_s_ VARCHAR, school_club_team_country VARCHAR) | SELECT no_s_ FROM table_name_66 WHERE school_club_team_country = "centenary" |
Write a SQL query that answers the following question: How tall is player 42 from Long Beach State? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (height_in_ft VARCHAR, no_s_ VARCHAR, school_club_team_country VARCHAR) | SELECT height_in_ft FROM table_name_69 WHERE no_s_ = "42" AND school_club_team_country = "long beach state" |
Write a SQL query that answers the following question: What network has lap-by-laps by Bill Flemming, and Pit reporter Chris Economaki? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (network VARCHAR, lap_by_lap VARCHAR, pit_reporters VARCHAR) | SELECT network FROM table_name_47 WHERE lap_by_lap = "bill flemming" AND pit_reporters = "chris economaki" |
Write a SQL query that answers the following question: Which lap-by-lap has a year after 1973, with pit reporter Bill Flemming? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (lap_by_lap VARCHAR, year VARCHAR, pit_reporters VARCHAR) | SELECT lap_by_lap FROM table_name_74 WHERE year > 1973 AND pit_reporters = "bill flemming" |
Write a SQL query that answers the following question: What is the lowest round for Fort Lauderdale, Florida, United States, with a win and a time of 3:38? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (round INTEGER, time VARCHAR, res VARCHAR, location VARCHAR) | SELECT MIN(round) FROM table_name_14 WHERE res = "win" AND location = "fort lauderdale, florida, united states" AND time = "3:38" |
Write a SQL query that answers the following question: How many rounds have a time of 2:18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (round VARCHAR, time VARCHAR) | SELECT COUNT(round) FROM table_name_64 WHERE time = "2:18" |
Write a SQL query that answers the following question: What is the lowest Grid with fewer than 65 Laps and with Driver Tim Schenken? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (grid INTEGER, laps VARCHAR, driver VARCHAR) | SELECT MIN(grid) FROM table_name_32 WHERE laps < 65 AND driver = "tim schenken" |
Write a SQL query that answers the following question: What Driver has 1 in Grid? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (driver VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_98 WHERE grid = 1 |
Write a SQL query that answers the following question: What is Driver Howden Ganley's Time/Retired? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_75 WHERE driver = "howden ganley" |
Write a SQL query that answers the following question: On what date was Hawthorn the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_45 WHERE home_team = "hawthorn" |
Write a SQL query that answers the following question: Who was the away team at Junction Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_2 WHERE venue = "junction oval" |
Write a SQL query that answers the following question: Which home team played at MCG? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_93 WHERE venue = "mcg" |
Write a SQL query that answers the following question: Tell me the sum of draws for position less than 15 with played more than 38 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (draws INTEGER, position VARCHAR, played VARCHAR) | SELECT SUM(draws) FROM table_name_95 WHERE position < 15 AND played > 38 |
Write a SQL query that answers the following question: Name the sum of played for position less than 9 and draws more than 19 with goals against more than 27 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (played INTEGER, goals_against VARCHAR, position VARCHAR, draws VARCHAR) | SELECT SUM(played) FROM table_name_34 WHERE position < 9 AND draws > 19 AND goals_against > 27 |
Write a SQL query that answers the following question: Name the recorded for translation of sleep my love, good night | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (recorded VARCHAR, translation VARCHAR) | SELECT recorded FROM table_name_16 WHERE translation = "sleep my love, good night" |
Write a SQL query that answers the following question: What is the Winter in 1906? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (winter VARCHAR, year VARCHAR) | SELECT winter FROM table_name_99 WHERE year = 1906 |
Write a SQL query that answers the following question: Which driver has a Time/Retired of 2:45:46.2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (driver VARCHAR, time_retired VARCHAR) | SELECT driver FROM table_name_44 WHERE time_retired = "2:45:46.2" |
Write a SQL query that answers the following question: What position for the western michigan product picked ahead of 312? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_16 WHERE pick < 312 AND school_club_team = "western michigan" |
Write a SQL query that answers the following question: What date did the Chicago Bears beat the Green bay Packers 31-20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, loser VARCHAR, location VARCHAR) | SELECT date FROM table_name_32 WHERE loser = "green bay packers" AND location = "green bay" |
Write a SQL query that answers the following question: When were the boston bruins the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_95 WHERE home = "boston bruins" |
Write a SQL query that answers the following question: In what nation is Bordeaux? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (nat VARCHAR, moving_from VARCHAR) | SELECT nat FROM table_name_50 WHERE moving_from = "bordeaux" |
Write a SQL query that answers the following question: Who has the lead in Norway? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (lead VARCHAR, nation VARCHAR) | SELECT lead FROM table_name_89 WHERE nation = "norway" |
Write a SQL query that answers the following question: Which Skip will play Joan Mccusker? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (skip VARCHAR, second VARCHAR) | SELECT skip FROM table_name_83 WHERE second = "joan mccusker" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.