instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: During the Big Seven Conference which team was the regular season winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_28365816_2 (regular_season_winner VARCHAR, conference VARCHAR) | SELECT regular_season_winner FROM table_28365816_2 WHERE conference = "Big Seven conference" |
Write a SQL query that answers the following question: What tournament venue is listed during the Missouri Valley Conference? | The relevant table was constructed using the following SQL : CREATE TABLE table_28365816_2 (tournament_venue__city_ VARCHAR, conference VARCHAR) | SELECT tournament_venue__city_ FROM table_28365816_2 WHERE conference = "Missouri Valley conference" |
Write a SQL query that answers the following question: During the Mid-American Conference who is listed as the tournament winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_28365816_2 (tournament_winner VARCHAR, conference VARCHAR) | SELECT tournament_winner FROM table_28365816_2 WHERE conference = "Mid-American conference" |
Write a SQL query that answers the following question: When Yale is listed as the regular season winner, what tournament venue is given? | The relevant table was constructed using the following SQL : CREATE TABLE table_28365816_2 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR) | SELECT tournament_venue__city_ FROM table_28365816_2 WHERE regular_season_winner = "Yale" |
Write a SQL query that answers the following question: How many entries for conference tournament are listed when Texas Western is the regular season winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_28365816_2 (conference VARCHAR, regular_season_winner VARCHAR) | SELECT COUNT(conference) AS Tournament FROM table_28365816_2 WHERE regular_season_winner = "Texas Western" |
Write a SQL query that answers the following question: Which team drafted the player from the HC Lada Togliatti (Russia)? | The relevant table was constructed using the following SQL : CREATE TABLE table_2840500_5 (nhl_team VARCHAR, college_junior_club_team VARCHAR) | SELECT nhl_team FROM table_2840500_5 WHERE college_junior_club_team = "HC Lada Togliatti (Russia)" |
Write a SQL query that answers the following question: who is the person that plays left wing and is from canada that plays on the st. louis blues | The relevant table was constructed using the following SQL : CREATE TABLE table_2840500_3 (player VARCHAR, nhl_team VARCHAR, position VARCHAR, nationality VARCHAR) | SELECT player FROM table_2840500_3 WHERE position = "Left Wing" AND nationality = "Canada" AND nhl_team = "St. Louis Blues" |
Write a SQL query that answers the following question: what is the overall number of chosen ideas where the person is scott parker | The relevant table was constructed using the following SQL : CREATE TABLE table_2840500_3 (pick VARCHAR, player VARCHAR) | SELECT COUNT(pick) FROM table_2840500_3 WHERE player = "Scott Parker" |
Write a SQL query that answers the following question: what is the number of the chosen club where the hc dukla trenčín (slovakia) is from | The relevant table was constructed using the following SQL : CREATE TABLE table_2840500_3 (pick VARCHAR, college_junior_club_team VARCHAR) | SELECT COUNT(pick) FROM table_2840500_3 WHERE college_junior_club_team = "HC Dukla Trenčín (Slovakia)" |
Write a SQL query that answers the following question: How many players were drafted by the Edmonton Oilers? | The relevant table was constructed using the following SQL : CREATE TABLE table_2840500_2 (player VARCHAR, nhl_team VARCHAR) | SELECT COUNT(player) FROM table_2840500_2 WHERE nhl_team = "Edmonton Oilers" |
Write a SQL query that answers the following question: Who was drafted by the Washington Capitals? | The relevant table was constructed using the following SQL : CREATE TABLE table_2840500_2 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_2840500_2 WHERE nhl_team = "Washington Capitals" |
Write a SQL query that answers the following question: Which team drafted Travis Brigley? | The relevant table was constructed using the following SQL : CREATE TABLE table_2840500_2 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_2840500_2 WHERE player = "Travis Brigley" |
Write a SQL query that answers the following question: What is the minimum pick of a centre from the Czech Republic? | The relevant table was constructed using the following SQL : CREATE TABLE table_2840500_2 (pick INTEGER, position VARCHAR, nationality VARCHAR) | SELECT MIN(pick) FROM table_2840500_2 WHERE position = "Centre" AND nationality = "Czech Republic" |
Write a SQL query that answers the following question: Which player made exactly 223 passes? | The relevant table was constructed using the following SQL : CREATE TABLE table_28461589_2 (player VARCHAR, passes VARCHAR) | SELECT player FROM table_28461589_2 WHERE passes = 223 |
Write a SQL query that answers the following question: What is the fewest minutes played for the player with exactly 638 good passes? | The relevant table was constructed using the following SQL : CREATE TABLE table_28461589_2 (mins_played INTEGER, good_passes VARCHAR) | SELECT MIN(mins_played) FROM table_28461589_2 WHERE good_passes = 638 |
Write a SQL query that answers the following question: What is the most number of assists for players with exactly 25 games played? | The relevant table was constructed using the following SQL : CREATE TABLE table_28461589_2 (assists INTEGER, games_played VARCHAR) | SELECT MAX(assists) FROM table_28461589_2 WHERE games_played = 25 |
Write a SQL query that answers the following question: What is the largest number of passes for players starting exactly 34 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_28461589_2 (passes INTEGER, starting VARCHAR) | SELECT MAX(passes) FROM table_28461589_2 WHERE starting = 34 |
Write a SQL query that answers the following question: When καθ are the letters what is the nickname? | The relevant table was constructed using the following SQL : CREATE TABLE table_28436909_4 (nickname VARCHAR, letters VARCHAR) | SELECT nickname FROM table_28436909_4 WHERE letters = "ΚΑΘ" |
Write a SQL query that answers the following question: When 1873-12-25 is the founding date how many organizations are there? | The relevant table was constructed using the following SQL : CREATE TABLE table_28436909_4 (organization VARCHAR, founding_date VARCHAR) | SELECT COUNT(organization) FROM table_28436909_4 WHERE founding_date = "1873-12-25" |
Write a SQL query that answers the following question: When 1872-10-10 is the founding date what are the canadian chapters? | The relevant table was constructed using the following SQL : CREATE TABLE table_28436909_4 (canadian_chapters VARCHAR, founding_date VARCHAR) | SELECT canadian_chapters FROM table_28436909_4 WHERE founding_date = "1872-10-10" |
Write a SQL query that answers the following question: When 1 active, 1 inactive is the canadian chapters how many founding dates are there? | The relevant table was constructed using the following SQL : CREATE TABLE table_28436909_4 (founding_date VARCHAR, canadian_chapters VARCHAR) | SELECT COUNT(founding_date) FROM table_28436909_4 WHERE canadian_chapters = "1 Active, 1 Inactive" |
Write a SQL query that answers the following question: when was the ending time where the enemy met in the iron bowl | The relevant table was constructed using the following SQL : CREATE TABLE table_2846320_4 (last_meeting VARCHAR, name_of_rivalry VARCHAR) | SELECT last_meeting FROM table_2846320_4 WHERE name_of_rivalry = "Iron Bowl" |
Write a SQL query that answers the following question: what was the lowest number that auburn triumphed where the activities took part was 92 | The relevant table was constructed using the following SQL : CREATE TABLE table_2846320_4 (au_won INTEGER, games_played VARCHAR) | SELECT MIN(au_won) FROM table_2846320_4 WHERE games_played = 92 |
Write a SQL query that answers the following question: what are all the adversary where the beginning is 1899 | The relevant table was constructed using the following SQL : CREATE TABLE table_2846320_4 (rival VARCHAR, first_meeting VARCHAR) | SELECT rival FROM table_2846320_4 WHERE first_meeting = 1899 |
Write a SQL query that answers the following question: what is the length where the time is 2009 | The relevant table was constructed using the following SQL : CREATE TABLE table_2846320_4 (streak VARCHAR, last_meeting VARCHAR) | SELECT streak FROM table_2846320_4 WHERE last_meeting = 2009 |
Write a SQL query that answers the following question: What was the distance in the round where the supporter was champ car world series ( grand prix of cleveland ) and the tc winning car was pierre kleinubing? | The relevant table was constructed using the following SQL : CREATE TABLE table_28490105_1 (distance VARCHAR, supporting VARCHAR, tc_winning_car VARCHAR) | SELECT distance FROM table_28490105_1 WHERE supporting = "Champ Car World Series ( Grand Prix of Cleveland )" AND tc_winning_car = "Pierre Kleinubing" |
Write a SQL query that answers the following question: What is the earliest round where the gt winning car is max angelelli? | The relevant table was constructed using the following SQL : CREATE TABLE table_28490105_1 (rnd INTEGER, gt_winning_car VARCHAR) | SELECT MIN(rnd) FROM table_28490105_1 WHERE gt_winning_car = "Max Angelelli" |
Write a SQL query that answers the following question: Who was supporting in round 1 where the gt winning car was dodge viper? | The relevant table was constructed using the following SQL : CREATE TABLE table_28490105_1 (supporting VARCHAR, gt_winning_car VARCHAR, rnd VARCHAR) | SELECT supporting FROM table_28490105_1 WHERE gt_winning_car = "Dodge Viper" AND rnd = 1 |
Write a SQL query that answers the following question: Who was supporting in the round when the gt winning car was dino crescentini? | The relevant table was constructed using the following SQL : CREATE TABLE table_28490105_1 (supporting VARCHAR, gt_winning_car VARCHAR) | SELECT supporting FROM table_28490105_1 WHERE gt_winning_car = "Dino Crescentini" |
Write a SQL query that answers the following question: Who wrote the episode with production code 2j5568? | The relevant table was constructed using the following SQL : CREATE TABLE table_28466323_2 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_28466323_2 WHERE production_code = "2J5568" |
Write a SQL query that answers the following question: Who directed the episode watched by 2.01 million US viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_28466323_2 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT directed_by FROM table_28466323_2 WHERE us_viewers__million_ = "2.01" |
Write a SQL query that answers the following question: How many divisions in bowling ? | The relevant table was constructed using the following SQL : CREATE TABLE table_2849652_1 (_number_of_divisions VARCHAR, sport VARCHAR) | SELECT _number_of_divisions FROM table_2849652_1 WHERE sport = "Bowling" |
Write a SQL query that answers the following question: How many first tournaments were winter sports with exactly 1 division? | The relevant table was constructed using the following SQL : CREATE TABLE table_2849652_2 (season VARCHAR, _number_of_divisions VARCHAR) | SELECT COUNT(1 AS st_tournament) FROM table_2849652_2 WHERE season = "Winter" AND _number_of_divisions = 1 |
Write a SQL query that answers the following question: Where was the 2011-2012 soccer state tournament held? | The relevant table was constructed using the following SQL : CREATE TABLE table_2849652_2 (sport VARCHAR) | SELECT 2011 AS _2012_state_tournament_location FROM table_2849652_2 WHERE sport = "Soccer" |
Write a SQL query that answers the following question: How many first tournaments are associated with bowling? | The relevant table was constructed using the following SQL : CREATE TABLE table_2849652_2 (sport VARCHAR) | SELECT COUNT(1 AS st_tournament) FROM table_2849652_2 WHERE sport = "Bowling" |
Write a SQL query that answers the following question: How many times is the player vaughn taylor listed? | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_3 (before VARCHAR, player VARCHAR) | SELECT COUNT(before) FROM table_28498999_3 WHERE player = "Vaughn Taylor" |
Write a SQL query that answers the following question: What is the lowest after when the player is adam scott? | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_3 (after INTEGER, player VARCHAR) | SELECT MIN(after) FROM table_28498999_3 WHERE player = "Adam Scott" |
Write a SQL query that answers the following question: What is the country for the score 72-63-71-68=274? | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_3 (country VARCHAR, score VARCHAR) | SELECT country FROM table_28498999_3 WHERE score = 72 - 63 - 71 - 68 = 274 |
Write a SQL query that answers the following question: What is the after for the player kevin streelman? | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_3 (after VARCHAR, player VARCHAR) | SELECT after FROM table_28498999_3 WHERE player = "Kevin Streelman" |
Write a SQL query that answers the following question: What is the to par when the after is 33? | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_3 (to_par VARCHAR, after VARCHAR) | SELECT to_par FROM table_28498999_3 WHERE after = 33 |
Write a SQL query that answers the following question: What country is charley hoffman from? | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_4 (country VARCHAR, player VARCHAR) | SELECT country FROM table_28498999_4 WHERE player = "Charley Hoffman" |
Write a SQL query that answers the following question: What is the before for the score of 63-67-66-71=267? | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_4 (before INTEGER, score VARCHAR) | SELECT MIN(before) FROM table_28498999_4 WHERE score = 63 - 67 - 66 - 71 = 267 |
Write a SQL query that answers the following question: What is the to par for the winnings of 232500? | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_4 (to_par VARCHAR, winnings__$_ VARCHAR) | SELECT to_par FROM table_28498999_4 WHERE winnings__$_ = 232500 |
Write a SQL query that answers the following question: What were the winnings for the score of 66-64-67-71=268? | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_4 (winnings__$_ VARCHAR, score VARCHAR) | SELECT winnings__$_ FROM table_28498999_4 WHERE score = 66 - 64 - 67 - 71 = 268 |
Write a SQL query that answers the following question: What is the after for geoff ogilvy? | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_4 (after INTEGER, player VARCHAR) | SELECT MAX(after) FROM table_28498999_4 WHERE player = "Geoff Ogilvy" |
Write a SQL query that answers the following question: what is the most number where the person is luke donald | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_6 (reset_points INTEGER, player VARCHAR) | SELECT MAX(reset_points) FROM table_28498999_6 WHERE player = "Luke Donald" |
Write a SQL query that answers the following question: what is the place where the person is luke donald | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_6 (country VARCHAR, player VARCHAR) | SELECT country FROM table_28498999_6 WHERE player = "Luke Donald" |
Write a SQL query that answers the following question: what is the person there the numbers is 2343 | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_6 (player VARCHAR, points VARCHAR) | SELECT player FROM table_28498999_6 WHERE points = 2343 |
Write a SQL query that answers the following question: what is the number of pieces where the person is charley hoffman | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_6 (reset_points VARCHAR, player VARCHAR) | SELECT COUNT(reset_points) FROM table_28498999_6 WHERE player = "Charley Hoffman" |
Write a SQL query that answers the following question: what is the number of people where the pieces is 3015 | The relevant table was constructed using the following SQL : CREATE TABLE table_28498999_6 (player VARCHAR, points VARCHAR) | SELECT COUNT(player) FROM table_28498999_6 WHERE points = 3015 |
Write a SQL query that answers the following question: Which team drafted Ron Annear? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_10 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_2850912_10 WHERE player = "Ron Annear" |
Write a SQL query that answers the following question: Which team drafted Joakim Persson? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_10 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_2850912_10 WHERE player = "Joakim Persson" |
Write a SQL query that answers the following question: Which team drafted a player from HC Slavia Praha (Czechoslovakia)? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_10 (nhl_team VARCHAR, college_junior_club_team VARCHAR) | SELECT nhl_team FROM table_2850912_10 WHERE college_junior_club_team = "HC Slavia Praha (Czechoslovakia)" |
Write a SQL query that answers the following question: Which player was drafted by the New York Rangers? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_10 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_2850912_10 WHERE nhl_team = "New York Rangers" |
Write a SQL query that answers the following question: Which team drafted Michael Orn? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_10 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_2850912_10 WHERE player = "Michael Orn" |
Write a SQL query that answers the following question: What position was the player who was drafted by the Washington Capitals? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_10 (position VARCHAR, nhl_team VARCHAR) | SELECT position FROM table_2850912_10 WHERE nhl_team = "Washington Capitals" |
Write a SQL query that answers the following question: What is Timo Lehkonen's highest pick number? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_5 (pick__number INTEGER, player VARCHAR) | SELECT MAX(pick__number) FROM table_2850912_5 WHERE player = "Timo Lehkonen" |
Write a SQL query that answers the following question: What college/junior/club team played right wing position with NHL team Chicago Black Hawks? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_5 (college_junior_club_team VARCHAR, position VARCHAR, nhl_team VARCHAR) | SELECT college_junior_club_team FROM table_2850912_5 WHERE position = "Right Wing" AND nhl_team = "Chicago Black Hawks" |
Write a SQL query that answers the following question: How many college/junior/club teams are from Sweden? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_5 (college_junior_club_team VARCHAR, nationality VARCHAR) | SELECT COUNT(college_junior_club_team) FROM table_2850912_5 WHERE nationality = "Sweden" |
Write a SQL query that answers the following question: What is Robert Dirk's nationality? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_3 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_2850912_3 WHERE player = "Robert Dirk" |
Write a SQL query that answers the following question: What country is Trent Yawney from? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_3 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_2850912_3 WHERE player = "Trent Yawney" |
Write a SQL query that answers the following question: What is Michal Pivonka's pick number? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_3 (pick__number VARCHAR, player VARCHAR) | SELECT COUNT(pick__number) FROM table_2850912_3 WHERE player = "Michal Pivonka" |
Write a SQL query that answers the following question: Which team did David McLay play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_3 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_2850912_3 WHERE player = "David McLay" |
Write a SQL query that answers the following question: What is Robert Dirk's team? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_3 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_2850912_3 WHERE player = "Robert Dirk" |
Write a SQL query that answers the following question: What is Graeme Bonar's lowest pick number? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_3 (pick__number INTEGER, player VARCHAR) | SELECT MIN(pick__number) FROM table_2850912_3 WHERE player = "Graeme Bonar" |
Write a SQL query that answers the following question: where did glenn greenough come from | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_8 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_2850912_8 WHERE player = "Glenn Greenough" |
Write a SQL query that answers the following question: how many parts does detroit red wings person urban nordin play | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_8 (position VARCHAR, nhl_team VARCHAR, player VARCHAR) | SELECT COUNT(position) FROM table_2850912_8 WHERE nhl_team = "Detroit Red Wings" AND player = "Urban Nordin" |
Write a SQL query that answers the following question: What is the gender of the Roman Catholic school is AL4? | The relevant table was constructed using the following SQL : CREATE TABLE table_28523_3 (gender VARCHAR, religious_affiliation VARCHAR, location VARCHAR) | SELECT gender FROM table_28523_3 WHERE religious_affiliation = "Roman Catholic" AND location = "AL4" |
Write a SQL query that answers the following question: What is the website of the school affiliated with the Church of England? | The relevant table was constructed using the following SQL : CREATE TABLE table_28523_3 (school VARCHAR, religious_affiliation VARCHAR) | SELECT school AS website FROM table_28523_3 WHERE religious_affiliation = "Church of England" |
Write a SQL query that answers the following question: What nationality is listed when the college/junior/club team is oshawa generals (ohl)? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_7 (nationality VARCHAR, college_junior_club_team VARCHAR) | SELECT nationality FROM table_2850912_7 WHERE college_junior_club_team = "Oshawa Generals (OHL)" |
Write a SQL query that answers the following question: What is the name of the player when the college/junior/club team is new westminster bruins (whl)? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_7 (player VARCHAR, college_junior_club_team VARCHAR) | SELECT player FROM table_2850912_7 WHERE college_junior_club_team = "New Westminster Bruins (WHL)" |
Write a SQL query that answers the following question: How many college/junior/club teams are ther when nhl team is edmonton oilers? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR) | SELECT COUNT(college_junior_club_team) FROM table_2850912_7 WHERE nhl_team = "Edmonton Oilers" |
Write a SQL query that answers the following question: What is the postion when the nhl team is los angeles kings? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_7 (position VARCHAR, nhl_team VARCHAR) | SELECT position FROM table_2850912_7 WHERE nhl_team = "Los Angeles Kings" |
Write a SQL query that answers the following question: How many nhl teams are listed when college/junior/club team is listed as newton north high school (ushs-ma)? | The relevant table was constructed using the following SQL : CREATE TABLE table_2850912_7 (nhl_team VARCHAR, college_junior_club_team VARCHAR) | SELECT COUNT(nhl_team) FROM table_2850912_7 WHERE college_junior_club_team = "Newton North High School (USHS-MA)" |
Write a SQL query that answers the following question: What date did the episode directed by Victor Cook and Written by Brat Jennett air in the U.S.? | The relevant table was constructed using the following SQL : CREATE TABLE table_28511558_2 (original_air_date__us_ VARCHAR, directed_by VARCHAR, written_by VARCHAR) | SELECT original_air_date__us_ FROM table_28511558_2 WHERE directed_by = "Victor Cook" AND written_by = "Brat Jennett" |
Write a SQL query that answers the following question: What date did the episode written by Mitch Watson and directed by Curt Geda originally air in the U.S.? | The relevant table was constructed using the following SQL : CREATE TABLE table_28511558_2 (original_air_date__us_ VARCHAR, directed_by VARCHAR, written_by VARCHAR) | SELECT original_air_date__us_ FROM table_28511558_2 WHERE directed_by = "Curt Geda" AND written_by = "Mitch Watson" |
Write a SQL query that answers the following question: When Alberto Contador Kanstantsin Sivtsov was the general classification and Alessandro Petacchi was the points classification at the same time while Mark Cavendish is the winner, who was the mountain classification? | The relevant table was constructed using the following SQL : CREATE TABLE table_28538368_2 (mountains_classification VARCHAR, winner VARCHAR, general_classification VARCHAR, points_classification VARCHAR) | SELECT mountains_classification FROM table_28538368_2 WHERE general_classification = "Alberto Contador Kanstantsin Sivtsov" AND points_classification = "Alessandro Petacchi" AND winner = "Mark Cavendish" |
Write a SQL query that answers the following question: Who was the young rider classification when Alessandro Petacchi won? | The relevant table was constructed using the following SQL : CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR) | SELECT young_rider_classification FROM table_28538368_2 WHERE winner = "Alessandro Petacchi" |
Write a SQL query that answers the following question: Who was the young rider classification when Diego Ulissi won? | The relevant table was constructed using the following SQL : CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR) | SELECT COUNT(young_rider_classification) FROM table_28538368_2 WHERE winner = "Diego Ulissi" |
Write a SQL query that answers the following question: What is the name of the young rider classification when Paolo Tiralongo won? | The relevant table was constructed using the following SQL : CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR) | SELECT young_rider_classification FROM table_28538368_2 WHERE winner = "Paolo Tiralongo" |
Write a SQL query that answers the following question: What's the version in the 1.0.4 release? | The relevant table was constructed using the following SQL : CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR) | SELECT version FROM table_28540539_2 WHERE release = "1.0.4" |
Write a SQL query that answers the following question: What's the release date in the 1.1.10 release? | The relevant table was constructed using the following SQL : CREATE TABLE table_28540539_2 (release VARCHAR) | SELECT release AS date FROM table_28540539_2 WHERE release = "1.1.10" |
Write a SQL query that answers the following question: What's the version of the 1.0.12 release? | The relevant table was constructed using the following SQL : CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR) | SELECT version FROM table_28540539_2 WHERE release = "1.0.12" |
Write a SQL query that answers the following question: What's the number of the 1.0.9 release version? | The relevant table was constructed using the following SQL : CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR) | SELECT COUNT(version) FROM table_28540539_2 WHERE release = "1.0.9" |
Write a SQL query that answers the following question: What's the number of the 1.0.12 release version? | The relevant table was constructed using the following SQL : CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR) | SELECT COUNT(version) FROM table_28540539_2 WHERE release = "1.0.12" |
Write a SQL query that answers the following question: For how many series were there 11.84 million watchers? | The relevant table was constructed using the following SQL : CREATE TABLE table_28561455_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR) | SELECT no_in_series FROM table_28561455_1 WHERE us_viewers__million_ = "11.84" |
Write a SQL query that answers the following question: What's the smallest season number? | The relevant table was constructed using the following SQL : CREATE TABLE table_28561455_1 (no_in_season INTEGER) | SELECT MIN(no_in_season) FROM table_28561455_1 |
Write a SQL query that answers the following question: Who wrote the episodes that were directed by Peter O'Fallon? | The relevant table was constructed using the following SQL : CREATE TABLE table_28561455_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT written_by FROM table_28561455_1 WHERE directed_by = "Peter O'Fallon" |
Write a SQL query that answers the following question: What was the latest episode number that Meredith Averill wrote? | The relevant table was constructed using the following SQL : CREATE TABLE table_28561455_1 (no_in_series INTEGER, written_by VARCHAR) | SELECT MAX(no_in_series) FROM table_28561455_1 WHERE written_by = "Meredith Averill" |
Write a SQL query that answers the following question: What is the latest episode number that was directed by Tom Dicillo? | The relevant table was constructed using the following SQL : CREATE TABLE table_28561455_1 (no_in_series INTEGER, directed_by VARCHAR) | SELECT MAX(no_in_series) FROM table_28561455_1 WHERE directed_by = "Tom DiCillo" |
Write a SQL query that answers the following question: How many years did Germany participate, when the team from Italy was Naples LL Naples and the team from England was London Area Youth London? | The relevant table was constructed using the following SQL : CREATE TABLE table_28562675_3 (germany VARCHAR, italy VARCHAR, england VARCHAR) | SELECT COUNT(germany) FROM table_28562675_3 WHERE italy = "Naples LL Naples" AND england = "London Area Youth London" |
Write a SQL query that answers the following question: What was the team from Austria when the Netherlands sent Brunssum/Schinnen LL Brunssum and Belgium sent Shape and Waterloo LL Brussels? | The relevant table was constructed using the following SQL : CREATE TABLE table_28562675_3 (austria VARCHAR, netherlands VARCHAR, belgium VARCHAR) | SELECT austria FROM table_28562675_3 WHERE netherlands = "Brunssum/Schinnen LL Brunssum" AND belgium = "SHAPE and Waterloo LL Brussels" |
Write a SQL query that answers the following question: What is the maximum number of matches in a game? | The relevant table was constructed using the following SQL : CREATE TABLE table_28547332_4 (matches INTEGER) | SELECT MAX(matches) FROM table_28547332_4 |
Write a SQL query that answers the following question: What is the highest score in those games where the average is 9.88? | The relevant table was constructed using the following SQL : CREATE TABLE table_28547332_4 (highest_score INTEGER, average VARCHAR) | SELECT MIN(highest_score) FROM table_28547332_4 WHERE average = "9.88" |
Write a SQL query that answers the following question: What digital channel corresponds to virtual channel 23.2? | The relevant table was constructed using the following SQL : CREATE TABLE table_2857352_3 (digital_channel VARCHAR, virtual_channel VARCHAR) | SELECT digital_channel FROM table_2857352_3 WHERE virtual_channel = "23.2" |
Write a SQL query that answers the following question: What digital channel corresponds to virtual channel 5.2? | The relevant table was constructed using the following SQL : CREATE TABLE table_2857352_3 (digital_channel VARCHAR, virtual_channel VARCHAR) | SELECT digital_channel FROM table_2857352_3 WHERE virtual_channel = "5.2" |
Write a SQL query that answers the following question: What network airs on virtual channel 23.1? | The relevant table was constructed using the following SQL : CREATE TABLE table_2857352_3 (network VARCHAR, virtual_channel VARCHAR) | SELECT network FROM table_2857352_3 WHERE virtual_channel = "23.1" |
Write a SQL query that answers the following question: How many networks run on virtual channel 23.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_2857352_3 (network VARCHAR, virtual_channel VARCHAR) | SELECT COUNT(network) FROM table_2857352_3 WHERE virtual_channel = "23.4" |
Write a SQL query that answers the following question: What city licensed the broadcast on virtual channel 8.2? | The relevant table was constructed using the following SQL : CREATE TABLE table_2857352_3 (city_of_license VARCHAR, virtual_channel VARCHAR) | SELECT city_of_license FROM table_2857352_3 WHERE virtual_channel = "8.2" |
Write a SQL query that answers the following question: What was the title of the episode with production code 2J5515? | The relevant table was constructed using the following SQL : CREATE TABLE table_28582091_2 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_28582091_2 WHERE production_code = "2J5515" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.