instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Name the record for oakland-alameda county coliseum arena 15,025 | The relevant table was constructed using the following SQL : CREATE TABLE table_27882867_4 (record VARCHAR, location_attendance VARCHAR) | SELECT record FROM table_27882867_4 WHERE location_attendance = "Oakland-Alameda County Coliseum Arena 15,025" |
Write a SQL query that answers the following question: Name the total number of games for w 112-94 | The relevant table was constructed using the following SQL : CREATE TABLE table_27882867_4 (game VARCHAR, score VARCHAR) | SELECT COUNT(game) FROM table_27882867_4 WHERE score = "W 112-94" |
Write a SQL query that answers the following question: what is the club in the sixth round proper | The relevant table was constructed using the following SQL : CREATE TABLE table_27876486_2 (clubs VARCHAR, round VARCHAR) | SELECT clubs FROM table_27876486_2 WHERE round = "Sixth round proper" |
Write a SQL query that answers the following question: For edition is 2011 europe/africa group iiib and surface where score is 6–4, 6–1 please specify all the surface | The relevant table was constructed using the following SQL : CREATE TABLE table_27877656_7 (surface VARCHAR, score VARCHAR, edition VARCHAR) | SELECT surface FROM table_27877656_7 WHERE score = "6–4, 6–1" AND edition = "2011 Europe/Africa Group IIIB" |
Write a SQL query that answers the following question: For opponent is sandra kristjánsdóttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team. | The relevant table was constructed using the following SQL : CREATE TABLE table_27877656_7 (opponent_team VARCHAR, opponent VARCHAR, edition VARCHAR, outcome VARCHAR) | SELECT opponent_team FROM table_27877656_7 WHERE edition = "2009 Europe/Africa Group IIIB" AND outcome = "Winner" AND opponent = "Sandra Kristjánsdóttir" |
Write a SQL query that answers the following question: For score 7–6 (7–3) , 6–4 please mention total number of outcome | The relevant table was constructed using the following SQL : CREATE TABLE table_27877656_7 (outcome VARCHAR, score VARCHAR) | SELECT COUNT(outcome) FROM table_27877656_7 WHERE score = "7–6 (7–3) , 6–4" |
Write a SQL query that answers the following question: For armenia as opponent team and edition is 2009 europe/africa group iiib mention all the opponent | The relevant table was constructed using the following SQL : CREATE TABLE table_27877656_7 (opponent VARCHAR, edition VARCHAR, opponent_team VARCHAR) | SELECT opponent FROM table_27877656_7 WHERE edition = "2009 Europe/Africa Group IIIB" AND opponent_team = "Armenia" |
Write a SQL query that answers the following question: For score 6–2, 6–3 and outcome is loser mention all the edition. | The relevant table was constructed using the following SQL : CREATE TABLE table_27877656_7 (edition VARCHAR, outcome VARCHAR, score VARCHAR) | SELECT edition FROM table_27877656_7 WHERE outcome = "Loser" AND score = "6–2, 6–3" |
Write a SQL query that answers the following question: who was the winner of uci rating cn? | The relevant table was constructed using the following SQL : CREATE TABLE table_27887723_1 (winner VARCHAR, uci_rating VARCHAR) | SELECT winner FROM table_27887723_1 WHERE uci_rating = "CN" |
Write a SQL query that answers the following question: what race name had a uci rating of cn? | The relevant table was constructed using the following SQL : CREATE TABLE table_27887723_1 (race_name VARCHAR, uci_rating VARCHAR) | SELECT race_name FROM table_27887723_1 WHERE uci_rating = "CN" |
Write a SQL query that answers the following question: what location has team trek-livestrong? | The relevant table was constructed using the following SQL : CREATE TABLE table_27887723_1 (location VARCHAR, team VARCHAR) | SELECT location FROM table_27887723_1 WHERE team = "Trek-Livestrong" |
Write a SQL query that answers the following question: who was the winner for souderton, pa? | The relevant table was constructed using the following SQL : CREATE TABLE table_27887723_1 (winner VARCHAR, location VARCHAR) | SELECT winner FROM table_27887723_1 WHERE location = "Souderton, PA" |
Write a SQL query that answers the following question: What is the name of episode 120 in the series that Mike Rohl directed? | The relevant table was constructed using the following SQL : CREATE TABLE table_27892955_1 (title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR) | SELECT title FROM table_27892955_1 WHERE directed_by = "Mike Rohl" AND no_in_series = 120 |
Write a SQL query that answers the following question: Who wrote episode that had 1.97 million u.s. viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_27892955_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_27892955_1 WHERE us_viewers__million_ = "1.97" |
Write a SQL query that answers the following question: What is the name of the episode that had 2.02 million u.s. viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_27892955_1 (title VARCHAR, us_viewers__million_ VARCHAR) | SELECT title FROM table_27892955_1 WHERE us_viewers__million_ = "2.02" |
Write a SQL query that answers the following question: How many games did they play on january 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_27882867_6 (location_attendance VARCHAR, date VARCHAR) | SELECT COUNT(location_attendance) FROM table_27882867_6 WHERE date = "January 11" |
Write a SQL query that answers the following question: What is every team with a record of 9-7? | The relevant table was constructed using the following SQL : CREATE TABLE table_27902171_5 (team VARCHAR, record VARCHAR) | SELECT team FROM table_27902171_5 WHERE record = "9-7" |
Write a SQL query that answers the following question: How many people are high assists when location attendance is Seattle Center Coliseum 14,180? | The relevant table was constructed using the following SQL : CREATE TABLE table_27902171_5 (high_assists VARCHAR, location_attendance VARCHAR) | SELECT COUNT(high_assists) FROM table_27902171_5 WHERE location_attendance = "Seattle Center Coliseum 14,180" |
Write a SQL query that answers the following question: What is every date with game 23? | The relevant table was constructed using the following SQL : CREATE TABLE table_27902171_5 (date VARCHAR, game VARCHAR) | SELECT date FROM table_27902171_5 WHERE game = 23 |
Write a SQL query that answers the following question: What is every team with location attendance of Seattle Center Coliseum 14,180? | The relevant table was constructed using the following SQL : CREATE TABLE table_27902171_5 (team VARCHAR, location_attendance VARCHAR) | SELECT team FROM table_27902171_5 WHERE location_attendance = "Seattle Center Coliseum 14,180" |
Write a SQL query that answers the following question: What is every team with location attendance of Arco Arena 17,014? | The relevant table was constructed using the following SQL : CREATE TABLE table_27902171_5 (team VARCHAR, location_attendance VARCHAR) | SELECT team FROM table_27902171_5 WHERE location_attendance = "ARCO Arena 17,014" |
Write a SQL query that answers the following question: what was the opposition where the field is waldstadion during time 6 | The relevant table was constructed using the following SQL : CREATE TABLE table_27893892_2 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) | SELECT opponent FROM table_27893892_2 WHERE game_site = "Waldstadion" AND week = 6 |
Write a SQL query that answers the following question: what is the location for saturday, april 21 | The relevant table was constructed using the following SQL : CREATE TABLE table_27893892_2 (game_site VARCHAR, date VARCHAR) | SELECT game_site FROM table_27893892_2 WHERE date = "Saturday, April 21" |
Write a SQL query that answers the following question: what was the participation for saturday, may 12 | The relevant table was constructed using the following SQL : CREATE TABLE table_27893892_2 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_27893892_2 WHERE date = "Saturday, May 12" |
Write a SQL query that answers the following question: what was the achievement for the rival at scottish claymores | The relevant table was constructed using the following SQL : CREATE TABLE table_27893892_2 (team_record VARCHAR, opponent VARCHAR) | SELECT team_record FROM table_27893892_2 WHERE opponent = "at Scottish Claymores" |
Write a SQL query that answers the following question: How many legs were lost when the high checkout was 101? | The relevant table was constructed using the following SQL : CREATE TABLE table_27906667_2 (legs_lost VARCHAR, high_checkout VARCHAR) | SELECT COUNT(legs_lost) FROM table_27906667_2 WHERE high_checkout = 101 |
Write a SQL query that answers the following question: How many legs were own by alan tabern? | The relevant table was constructed using the following SQL : CREATE TABLE table_27906667_2 (legs_won INTEGER, player VARCHAR) | SELECT MAX(legs_won) FROM table_27906667_2 WHERE player = "Alan Tabern" |
Write a SQL query that answers the following question: name the team for 36-29 record | The relevant table was constructed using the following SQL : CREATE TABLE table_27902171_8 (team VARCHAR, record VARCHAR) | SELECT team FROM table_27902171_8 WHERE record = "36-29" |
Write a SQL query that answers the following question: Name the total number of high asists for 34-27 | The relevant table was constructed using the following SQL : CREATE TABLE table_27902171_8 (high_assists VARCHAR, record VARCHAR) | SELECT COUNT(high_assists) FROM table_27902171_8 WHERE record = "34-27" |
Write a SQL query that answers the following question: Name the date for score of w 112-91 | The relevant table was constructed using the following SQL : CREATE TABLE table_27902171_8 (date VARCHAR, score VARCHAR) | SELECT date FROM table_27902171_8 WHERE score = "W 112-91" |
Write a SQL query that answers the following question: Name the number of location attendance for 36-29 record | The relevant table was constructed using the following SQL : CREATE TABLE table_27902171_8 (location_attendance VARCHAR, record VARCHAR) | SELECT COUNT(location_attendance) FROM table_27902171_8 WHERE record = "36-29" |
Write a SQL query that answers the following question: Who wrote the episode having a US viewership of 3.74 million? | The relevant table was constructed using the following SQL : CREATE TABLE table_27905664_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_27905664_1 WHERE us_viewers__million_ = "3.74" |
Write a SQL query that answers the following question: Who directed production code 3x6116? | The relevant table was constructed using the following SQL : CREATE TABLE table_27905664_1 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_27905664_1 WHERE production_code = "3X6116" |
Write a SQL query that answers the following question: How many episode numbers had US viewership of 4.26 million? | The relevant table was constructed using the following SQL : CREATE TABLE table_27905664_1 (COUNT VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT AS № FROM table_27905664_1 WHERE us_viewers__million_ = "4.26" |
Write a SQL query that answers the following question: What episode number had US viewership of 4.87 million? | The relevant table was constructed using the following SQL : CREATE TABLE table_27905664_1 (№ VARCHAR, us_viewers__million_ VARCHAR) | SELECT № FROM table_27905664_1 WHERE us_viewers__million_ = "4.87" |
Write a SQL query that answers the following question: How many episodes were directed by Ken Fink? | The relevant table was constructed using the following SQL : CREATE TABLE table_27905664_1 (_number VARCHAR, directed_by VARCHAR) | SELECT COUNT(_number) FROM table_27905664_1 WHERE directed_by = "Ken Fink" |
Write a SQL query that answers the following question: What date did the episode with 8.28 million u.s. viewers originally air? | The relevant table was constructed using the following SQL : CREATE TABLE table_27910411_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) | SELECT original_air_date FROM table_27910411_1 WHERE us_viewers__millions_ = "8.28" |
Write a SQL query that answers the following question: How many items are listed for U.S. viewers for episode number 5 in the series? | The relevant table was constructed using the following SQL : CREATE TABLE table_27910411_1 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR) | SELECT COUNT(us_viewers__millions_) FROM table_27910411_1 WHERE no_in_series = 5 |
Write a SQL query that answers the following question: What date did episode 10 in the series originally air? | The relevant table was constructed using the following SQL : CREATE TABLE table_27910411_1 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT original_air_date FROM table_27910411_1 WHERE no_in_series = 10 |
Write a SQL query that answers the following question: What is the season number of the show written by both Kari Lizer and Jeff Astrof? | The relevant table was constructed using the following SQL : CREATE TABLE table_27911342_1 (season__number VARCHAR, written_by VARCHAR) | SELECT COUNT(season__number) FROM table_27911342_1 WHERE written_by = "Kari Lizer" |
Write a SQL query that answers the following question: What is the title of the Series 40 Season 5 show? | The relevant table was constructed using the following SQL : CREATE TABLE table_27911342_1 (title VARCHAR, season__number VARCHAR) | SELECT title FROM table_27911342_1 WHERE season__number = 5 |
Write a SQL query that answers the following question: Name the callsign for davao mindanao region | The relevant table was constructed using the following SQL : CREATE TABLE table_27914076_1 (callsign VARCHAR, coverage VARCHAR) | SELECT callsign FROM table_27914076_1 WHERE coverage = "Davao Mindanao Region" |
Write a SQL query that answers the following question: Name the power for dymd-fm | The relevant table was constructed using the following SQL : CREATE TABLE table_27914076_1 (power_kw VARCHAR, callsign VARCHAR) | SELECT power_kw FROM table_27914076_1 WHERE callsign = "DYMD-FM" |
Write a SQL query that answers the following question: Name the frequency for 103.7 energy fm dipolog* | The relevant table was constructed using the following SQL : CREATE TABLE table_27914076_1 (frequency VARCHAR, branding VARCHAR) | SELECT frequency FROM table_27914076_1 WHERE branding = "103.7 Energy FM Dipolog*" |
Write a SQL query that answers the following question: Name the number of coverage for 106.7 energy fm | The relevant table was constructed using the following SQL : CREATE TABLE table_27914076_1 (coverage VARCHAR, branding VARCHAR) | SELECT COUNT(coverage) FROM table_27914076_1 WHERE branding = "106.7 Energy FM" |
Write a SQL query that answers the following question: what is the number of the episode in the season that had 7.19 millions of north american viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_27914606_1 (season__number VARCHAR, us_viewers__millions_ VARCHAR) | SELECT season__number FROM table_27914606_1 WHERE us_viewers__millions_ = "7.19" |
Write a SQL query that answers the following question: what is the name of the episode whose writers were jeff astrof & matt goldman? | The relevant table was constructed using the following SQL : CREATE TABLE table_27914606_1 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_27914606_1 WHERE written_by = "Jeff Astrof & Matt Goldman" |
Write a SQL query that answers the following question: who were the writers of the episode that had 5.56 millions of north american viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_27914606_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT written_by FROM table_27914606_1 WHERE us_viewers__millions_ = "5.56" |
Write a SQL query that answers the following question: What is the average for the player with 313 runs? | The relevant table was constructed using the following SQL : CREATE TABLE table_27922491_11 (average VARCHAR, runs VARCHAR) | SELECT average FROM table_27922491_11 WHERE runs = 313 |
Write a SQL query that answers the following question: How few runs does the 97.00 average have? | The relevant table was constructed using the following SQL : CREATE TABLE table_27922491_11 (runs INTEGER, average VARCHAR) | SELECT MIN(runs) FROM table_27922491_11 WHERE average = "97.00" |
Write a SQL query that answers the following question: What is the minimum number of 50s scored? | The relevant table was constructed using the following SQL : CREATE TABLE table_27922491_24 (Id VARCHAR) | SELECT MIN(50 AS s) FROM table_27922491_24 |
Write a SQL query that answers the following question: How many 4wi were recorded by the player with an economy of 4.17? | The relevant table was constructed using the following SQL : CREATE TABLE table_27922491_20 (economy VARCHAR) | SELECT 4 AS wi FROM table_27922491_20 WHERE economy = "4.17" |
Write a SQL query that answers the following question: What is the fewest number of wickets recorded? | The relevant table was constructed using the following SQL : CREATE TABLE table_27922491_20 (wickets INTEGER) | SELECT MIN(wickets) FROM table_27922491_20 |
Write a SQL query that answers the following question: What was the BBI for the bowler whose average is 24.50? | The relevant table was constructed using the following SQL : CREATE TABLE table_27922491_20 (bbi VARCHAR, average VARCHAR) | SELECT bbi FROM table_27922491_20 WHERE average = "24.50" |
Write a SQL query that answers the following question: What is the least amount of wickets? | The relevant table was constructed using the following SQL : CREATE TABLE table_27922491_8 (wickets INTEGER) | SELECT MIN(wickets) FROM table_27922491_8 |
Write a SQL query that answers the following question: What is the least amount of matches? | The relevant table was constructed using the following SQL : CREATE TABLE table_27922491_8 (matches INTEGER) | SELECT MIN(matches) FROM table_27922491_8 |
Write a SQL query that answers the following question: How many players had 12 wickets? | The relevant table was constructed using the following SQL : CREATE TABLE table_27922491_8 (player VARCHAR, wickets VARCHAR) | SELECT COUNT(player) FROM table_27922491_8 WHERE wickets = 12 |
Write a SQL query that answers the following question: How many innings for the player with an average of 30.03? | The relevant table was constructed using the following SQL : CREATE TABLE table_27922491_8 (innings INTEGER, average VARCHAR) | SELECT MIN(innings) FROM table_27922491_8 WHERE average = "30.03" |
Write a SQL query that answers the following question: What is the average for the player with BBM 5/85? | The relevant table was constructed using the following SQL : CREATE TABLE table_27922491_8 (average VARCHAR, bbm VARCHAR) | SELECT average FROM table_27922491_8 WHERE bbm = "5/85" |
Write a SQL query that answers the following question: What is the lowest episode number that had 4.03 million viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_27927185_1 (episode__number INTEGER, viewers__millions_ VARCHAR) | SELECT MIN(episode__number) FROM table_27927185_1 WHERE viewers__millions_ = "4.03" |
Write a SQL query that answers the following question: How many million viewers watched episodes prior to episode 2.0? | The relevant table was constructed using the following SQL : CREATE TABLE table_27927185_1 (viewers__millions_ VARCHAR, episode__number INTEGER) | SELECT viewers__millions_ FROM table_27927185_1 WHERE episode__number < 2.0 |
Write a SQL query that answers the following question: What was the original air-date that had 4.77 million viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_27927185_1 (originalairdate VARCHAR, viewers__millions_ VARCHAR) | SELECT originalairdate FROM table_27927185_1 WHERE viewers__millions_ = "4.77" |
Write a SQL query that answers the following question: Who directed the episode with 6.37 million viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_27927185_1 (directed_by VARCHAR, viewers__millions_ VARCHAR) | SELECT directed_by FROM table_27927185_1 WHERE viewers__millions_ = "6.37" |
Write a SQL query that answers the following question: What is the release date of catalogue number DW023? | The relevant table was constructed using the following SQL : CREATE TABLE table_27932399_1 (release_date INTEGER, catalogue_number VARCHAR) | SELECT MAX(release_date) FROM table_27932399_1 WHERE catalogue_number = "DW023" |
Write a SQL query that answers the following question: What is the release date of "New Worlds for Old"? | The relevant table was constructed using the following SQL : CREATE TABLE table_27932399_1 (release_date VARCHAR, release_title VARCHAR) | SELECT release_date FROM table_27932399_1 WHERE release_title = "New Worlds For Old" |
Write a SQL query that answers the following question: What is the catalogue number for "Waves in the Air"? | The relevant table was constructed using the following SQL : CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_title VARCHAR) | SELECT catalogue_number FROM table_27932399_1 WHERE release_title = "Waves In The Air" |
Write a SQL query that answers the following question: What is the catalogue number for release dates of exactly 2005 and released by The Clear Spots? | The relevant table was constructed using the following SQL : CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_date VARCHAR, artist VARCHAR) | SELECT catalogue_number FROM table_27932399_1 WHERE release_date = 2005 AND artist = "The Clear Spots" |
Write a SQL query that answers the following question: Which artist had a release title of HH? | The relevant table was constructed using the following SQL : CREATE TABLE table_27932399_1 (artist VARCHAR, release_title VARCHAR) | SELECT artist FROM table_27932399_1 WHERE release_title = "HH" |
Write a SQL query that answers the following question: What was the name of the album released by Heavy Winged? | The relevant table was constructed using the following SQL : CREATE TABLE table_27932399_1 (release_title VARCHAR, artist VARCHAR) | SELECT release_title FROM table_27932399_1 WHERE artist = "Heavy Winged" |
Write a SQL query that answers the following question: Who was the dual television commentator in 1990? | The relevant table was constructed using the following SQL : CREATE TABLE table_2794180_11 (Dual VARCHAR, year_s_ VARCHAR) | SELECT Dual AS television_commentator FROM table_2794180_11 WHERE year_s_ = 1990 |
Write a SQL query that answers the following question: Who made the comments for radio broadcast when Jan Gabrielsson made them for television broadcast? | The relevant table was constructed using the following SQL : CREATE TABLE table_2794180_11 (radio_commentator VARCHAR, television_commentator VARCHAR) | SELECT radio_commentator FROM table_2794180_11 WHERE television_commentator = "Jan Gabrielsson" |
Write a SQL query that answers the following question: Name the total number of moto2 winners for laguna seca | The relevant table was constructed using the following SQL : CREATE TABLE table_27948565_1 (moto2_winner VARCHAR, circuit VARCHAR) | SELECT COUNT(moto2_winner) FROM table_27948565_1 WHERE circuit = "Laguna Seca" |
Write a SQL query that answers the following question: Name the circuit for hertz british grand prix | The relevant table was constructed using the following SQL : CREATE TABLE table_27948565_1 (circuit VARCHAR, grand_prix VARCHAR) | SELECT circuit FROM table_27948565_1 WHERE grand_prix = "Hertz British grand_prix" |
Write a SQL query that answers the following question: Name the number of rounds for brno | The relevant table was constructed using the following SQL : CREATE TABLE table_27948565_1 (round VARCHAR, circuit VARCHAR) | SELECT COUNT(round) FROM table_27948565_1 WHERE circuit = "Brno" |
Write a SQL query that answers the following question: Name the motogp winner for 6 may | The relevant table was constructed using the following SQL : CREATE TABLE table_27948565_1 (motogp_winner VARCHAR, date VARCHAR) | SELECT motogp_winner FROM table_27948565_1 WHERE date = "6 May" |
Write a SQL query that answers the following question: Name the b winning car for #88 team mitsubishi 88 mitsubishi starion | The relevant table was constructed using the following SQL : CREATE TABLE table_27965906_2 (b_winning_car VARCHAR, a_winning_car VARCHAR) | SELECT b_winning_car FROM table_27965906_2 WHERE a_winning_car = "#88 Team Mitsubishi 88 Mitsubishi Starion" |
Write a SQL query that answers the following question: Name the gt winning car for #88 team mitsubishi 88 mitsubishi starion | The relevant table was constructed using the following SQL : CREATE TABLE table_27965906_2 (gt_winning_car VARCHAR, a_winning_car VARCHAR) | SELECT gt_winning_car FROM table_27965906_2 WHERE a_winning_car = "#88 Team Mitsubishi 88 Mitsubishi Starion" |
Write a SQL query that answers the following question: Name the ss winning car for road atlanta and #35 quantum engineering #35 honda crx-si | The relevant table was constructed using the following SQL : CREATE TABLE table_27965906_2 (ss_winning_car VARCHAR, circuit VARCHAR, b_winning_car VARCHAR) | SELECT ss_winning_car FROM table_27965906_2 WHERE circuit = "Road Atlanta" AND b_winning_car = "#35 Quantum Engineering #35 Honda CRX-Si" |
Write a SQL query that answers the following question: Name the total number of rnd for kim baker, bobby archer, tommy archer | The relevant table was constructed using the following SQL : CREATE TABLE table_27965906_2 (rnd VARCHAR, ss_winning_car VARCHAR) | SELECT COUNT(rnd) FROM table_27965906_2 WHERE ss_winning_car = "Kim Baker, Bobby Archer, Tommy Archer" |
Write a SQL query that answers the following question: Name the total number of b winning car and bobby archer, tommy archer | The relevant table was constructed using the following SQL : CREATE TABLE table_27965906_2 (b_winning_car VARCHAR, ss_winning_car VARCHAR) | SELECT COUNT(b_winning_car) FROM table_27965906_2 WHERE ss_winning_car = "Bobby Archer, Tommy Archer" |
Write a SQL query that answers the following question: How many institutes have the team name Spartans? | The relevant table was constructed using the following SQL : CREATE TABLE table_27961684_1 (institution VARCHAR, team_name VARCHAR) | SELECT COUNT(institution) FROM table_27961684_1 WHERE team_name = "Spartans" |
Write a SQL query that answers the following question: How many states were there when there was an enrollment of 2789? | The relevant table was constructed using the following SQL : CREATE TABLE table_27961684_1 (state VARCHAR, enrollment VARCHAR) | SELECT COUNT(state) FROM table_27961684_1 WHERE enrollment = 2789 |
Write a SQL query that answers the following question: What kind of institute is in Indiana? | The relevant table was constructed using the following SQL : CREATE TABLE table_27961684_1 (affiliation VARCHAR, state VARCHAR) | SELECT affiliation FROM table_27961684_1 WHERE state = "Indiana" |
Write a SQL query that answers the following question: How many people enrolled for the institute with the Pioneers? | The relevant table was constructed using the following SQL : CREATE TABLE table_27961684_1 (enrollment INTEGER, team_name VARCHAR) | SELECT MIN(enrollment) FROM table_27961684_1 WHERE team_name = "Pioneers" |
Write a SQL query that answers the following question: What team is in the city of Rock Island? | The relevant table was constructed using the following SQL : CREATE TABLE table_27961684_1 (team_name VARCHAR, city VARCHAR) | SELECT team_name FROM table_27961684_1 WHERE city = "Rock Island" |
Write a SQL query that answers the following question: What is the name of the episode written by alison cross? | The relevant table was constructed using the following SQL : CREATE TABLE table_27969432_2 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_27969432_2 WHERE written_by = "Alison Cross" |
Write a SQL query that answers the following question: Who directed the episode written by karina csolty | The relevant table was constructed using the following SQL : CREATE TABLE table_27969432_2 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_27969432_2 WHERE written_by = "Karina Csolty" |
Write a SQL query that answers the following question: What is the name of the episode written by karina csolty? | The relevant table was constructed using the following SQL : CREATE TABLE table_27969432_2 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_27969432_2 WHERE written_by = "Karina Csolty" |
Write a SQL query that answers the following question: Who directed the episode whose production code is 2m5901? | The relevant table was constructed using the following SQL : CREATE TABLE table_27969432_4 (directed_by VARCHAR, production VARCHAR) | SELECT directed_by FROM table_27969432_4 WHERE production = "2M5901" |
Write a SQL query that answers the following question: How many viewers in millions were there for episode 4 of this season? | The relevant table was constructed using the following SQL : CREATE TABLE table_27969432_4 (us_viewers__in_millions_ VARCHAR, no_in_season VARCHAR) | SELECT COUNT(us_viewers__in_millions_) FROM table_27969432_4 WHERE no_in_season = 4 |
Write a SQL query that answers the following question: Name the total number of rank for percentage change yoy 13.1% | The relevant table was constructed using the following SQL : CREATE TABLE table_27956_3 (national_rank VARCHAR, percentage_change_yoy VARCHAR) | SELECT COUNT(national_rank) FROM table_27956_3 WHERE percentage_change_yoy = "13.1%" |
Write a SQL query that answers the following question: Name the percentage change yoy for presbyterian college | The relevant table was constructed using the following SQL : CREATE TABLE table_27956_3 (percentage_change_yoy VARCHAR, institution VARCHAR) | SELECT percentage_change_yoy FROM table_27956_3 WHERE institution = "Presbyterian College" |
Write a SQL query that answers the following question: Name the national rank for medical university of south carolina | The relevant table was constructed using the following SQL : CREATE TABLE table_27956_3 (national_rank VARCHAR, institution VARCHAR) | SELECT national_rank FROM table_27956_3 WHERE institution = "Medical University of South Carolina" |
Write a SQL query that answers the following question: What is the lowest numbered episode in the series? | The relevant table was constructed using the following SQL : CREATE TABLE table_27969432_3 (no_in_series INTEGER) | SELECT MIN(no_in_series) FROM table_27969432_3 |
Write a SQL query that answers the following question: How many episodes were written by david j. north & janet tamaro? | The relevant table was constructed using the following SQL : CREATE TABLE table_27969432_3 (original_air_date VARCHAR, written_by VARCHAR) | SELECT COUNT(original_air_date) FROM table_27969432_3 WHERE written_by = "David J. North & Janet Tamaro" |
Write a SQL query that answers the following question: What are the original air dates for episodes directed by fred toye? | The relevant table was constructed using the following SQL : CREATE TABLE table_27969432_3 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_27969432_3 WHERE directed_by = "Fred Toye" |
Write a SQL query that answers the following question: What was the aggregate score for Montauban? | The relevant table was constructed using the following SQL : CREATE TABLE table_27986200_3 (aggregate_score VARCHAR, proceed_to_quarter_final VARCHAR) | SELECT aggregate_score FROM table_27986200_3 WHERE proceed_to_quarter_final = "Montauban" |
Write a SQL query that answers the following question: Who proceeded to the quarter finals with a points margin of 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_27986200_3 (proceed_to_quarter_final VARCHAR, points_margin VARCHAR) | SELECT proceed_to_quarter_final FROM table_27986200_3 WHERE points_margin = 21 |
Write a SQL query that answers the following question: What were the match points when Bordeaux-Bègles was eliminated from competition? | The relevant table was constructed using the following SQL : CREATE TABLE table_27986200_3 (match_points VARCHAR, eliminated_from_competition VARCHAR) | SELECT match_points FROM table_27986200_3 WHERE eliminated_from_competition = "Bordeaux-Bègles" |
Write a SQL query that answers the following question: How many viewers saw the episode written by kevin biegel & bill lawrence? | The relevant table was constructed using the following SQL : CREATE TABLE table_27987623_1 (us_viewers__in_million_ VARCHAR, written_by VARCHAR) | SELECT us_viewers__in_million_ FROM table_27987623_1 WHERE written_by = "Kevin Biegel & Bill Lawrence" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.