instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What was the episode number veiwed by 7.43 million viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_27987623_1 (series_episode INTEGER, us_viewers__in_million_ VARCHAR) | SELECT MAX(series_episode) FROM table_27987623_1 WHERE us_viewers__in_million_ = "7.43" |
Write a SQL query that answers the following question: What was the title of the episode viewed by 5.03 million viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_27987623_1 (title VARCHAR, us_viewers__in_million_ VARCHAR) | SELECT title FROM table_27987623_1 WHERE us_viewers__in_million_ = "5.03" |
Write a SQL query that answers the following question: What was the episode number for the episode viewed by 5.68 million viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_27987623_1 (season_episode VARCHAR, us_viewers__in_million_ VARCHAR) | SELECT season_episode FROM table_27987623_1 WHERE us_viewers__in_million_ = "5.68" |
Write a SQL query that answers the following question: How many times is the new entries this round is none? | The relevant table was constructed using the following SQL : CREATE TABLE table_27973624_1 (number_of_fixtures VARCHAR, new_entries_this_round VARCHAR) | SELECT COUNT(number_of_fixtures) FROM table_27973624_1 WHERE new_entries_this_round = "none" |
Write a SQL query that answers the following question: What is the prize money when the clubs is 392 → 276? | The relevant table was constructed using the following SQL : CREATE TABLE table_27973624_1 (prize_money VARCHAR, clubs VARCHAR) | SELECT prize_money FROM table_27973624_1 WHERE clubs = "392 → 276" |
Write a SQL query that answers the following question: What is the lowest number of fixtures? | The relevant table was constructed using the following SQL : CREATE TABLE table_27973624_1 (number_of_fixtures INTEGER) | SELECT MIN(number_of_fixtures) FROM table_27973624_1 |
Write a SQL query that answers the following question: What is the main date when the round is third round qualifying? | The relevant table was constructed using the following SQL : CREATE TABLE table_27973624_1 (main_date VARCHAR, round VARCHAR) | SELECT main_date FROM table_27973624_1 WHERE round = "Third round Qualifying" |
Write a SQL query that answers the following question: What is the round when the prize money is £7,500? | The relevant table was constructed using the following SQL : CREATE TABLE table_27973624_1 (round VARCHAR, prize_money VARCHAR) | SELECT round FROM table_27973624_1 WHERE prize_money = "£7,500" |
Write a SQL query that answers the following question: What number in series was the episode written by Eric Gilliland? | The relevant table was constructed using the following SQL : CREATE TABLE table_27987768_1 (no_in_series INTEGER, written_by VARCHAR) | SELECT MAX(no_in_series) FROM table_27987768_1 WHERE written_by = "Eric Gilliland" |
Write a SQL query that answers the following question: how many total number of points margin when brive is the winners | The relevant table was constructed using the following SQL : CREATE TABLE table_27987767_2 (points_margin VARCHAR, winners VARCHAR) | SELECT COUNT(points_margin) FROM table_27987767_2 WHERE winners = "Brive" |
Write a SQL query that answers the following question: how many match points did gran parma lost | The relevant table was constructed using the following SQL : CREATE TABLE table_27987767_2 (match_points VARCHAR, losers VARCHAR) | SELECT match_points FROM table_27987767_2 WHERE losers = "Gran Parma" |
Write a SQL query that answers the following question: how many match points rotherham lose | The relevant table was constructed using the following SQL : CREATE TABLE table_27987767_2 (match_points VARCHAR, losers VARCHAR) | SELECT match_points FROM table_27987767_2 WHERE losers = "Rotherham" |
Write a SQL query that answers the following question: When brive is the proceed to quarter final how many were eliminated from competition? | The relevant table was constructed using the following SQL : CREATE TABLE table_27987767_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR) | SELECT COUNT(eliminated_from_competition) FROM table_27987767_3 WHERE proceed_to_quarter_final = "Brive" |
Write a SQL query that answers the following question: When london irish was eliminated from competition who proceeded to quarter final? | The relevant table was constructed using the following SQL : CREATE TABLE table_27987767_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR) | SELECT proceed_to_quarter_final FROM table_27987767_3 WHERE eliminated_from_competition = "London Irish" |
Write a SQL query that answers the following question: When brive proceeded to quarter final what were the match points? | The relevant table was constructed using the following SQL : CREATE TABLE table_27987767_3 (match_points VARCHAR, proceed_to_quarter_final VARCHAR) | SELECT match_points FROM table_27987767_3 WHERE proceed_to_quarter_final = "Brive" |
Write a SQL query that answers the following question: What is the production code of the episode written by Jeff Filgo? | The relevant table was constructed using the following SQL : CREATE TABLE table_27988281_1 (production_code INTEGER, written_by VARCHAR) | SELECT MAX(production_code) FROM table_27988281_1 WHERE written_by = "Jeff Filgo" |
Write a SQL query that answers the following question: Name the original air date for bryan moore & chris peterson | The relevant table was constructed using the following SQL : CREATE TABLE table_27988408_1 (original_air_date VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_27988408_1 WHERE written_by = "Bryan Moore & Chris Peterson" |
Write a SQL query that answers the following question: Name the least production code for bryan moore & chris peterson | The relevant table was constructed using the following SQL : CREATE TABLE table_27988408_1 (production_code INTEGER, written_by VARCHAR) | SELECT MIN(production_code) FROM table_27988408_1 WHERE written_by = "Bryan Moore & Chris Peterson" |
Write a SQL query that answers the following question: How many dates did the episode with a production code of 804 originally air on? | The relevant table was constructed using the following SQL : CREATE TABLE table_27988559_1 (original_air_date VARCHAR, production_code VARCHAR) | SELECT COUNT(original_air_date) FROM table_27988559_1 WHERE production_code = 804 |
Write a SQL query that answers the following question: Who directed episode 2 of the season? | The relevant table was constructed using the following SQL : CREATE TABLE table_27988559_1 (directed_by VARCHAR, no_in_season VARCHAR) | SELECT directed_by FROM table_27988559_1 WHERE no_in_season = 2 |
Write a SQL query that answers the following question: What dat did episode 195 in the series originally air? | The relevant table was constructed using the following SQL : CREATE TABLE table_27988559_1 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT original_air_date FROM table_27988559_1 WHERE no_in_series = 195 |
Write a SQL query that answers the following question: What is the name of episode 5 in the season? | The relevant table was constructed using the following SQL : CREATE TABLE table_27988540_1 (title VARCHAR, no_in_season VARCHAR) | SELECT title FROM table_27988540_1 WHERE no_in_season = 5 |
Write a SQL query that answers the following question: What is the title of episode 155 in the series? | The relevant table was constructed using the following SQL : CREATE TABLE table_27988540_1 (title VARCHAR, no_in_series VARCHAR) | SELECT title FROM table_27988540_1 WHERE no_in_series = 155 |
Write a SQL query that answers the following question: What is the last year a sponsorship ended? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005160_2 (sponsorship INTEGER) | SELECT MAX(sponsorship) AS Ended FROM table_28005160_2 |
Write a SQL query that answers the following question: How many countries played in the city of ljungskile? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005160_2 (country VARCHAR, city VARCHAR) | SELECT COUNT(country) FROM table_28005160_2 WHERE city = "Ljungskile" |
Write a SQL query that answers the following question: What cities are in sweden on this list? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005160_2 (city VARCHAR, country VARCHAR) | SELECT city FROM table_28005160_2 WHERE country = "Sweden" |
Write a SQL query that answers the following question: What country is new orleans in? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005160_2 (country VARCHAR, city VARCHAR) | SELECT country FROM table_28005160_2 WHERE city = "New Orleans" |
Write a SQL query that answers the following question: What country are the new orleans shell shockers from? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005160_2 (country VARCHAR, sponsored_name VARCHAR) | SELECT country FROM table_28005160_2 WHERE sponsored_name = "New Orleans Shell Shockers" |
Write a SQL query that answers the following question: What is the arrangement for bets3ab 3alia nafsy? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005100_1 (arrangement VARCHAR, title VARCHAR) | SELECT arrangement FROM table_28005100_1 WHERE title = "Bets3ab 3alia Nafsy" |
Write a SQL query that answers the following question: Who was the composer of ain shams? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005100_1 (composer VARCHAR, title VARCHAR) | SELECT composer FROM table_28005100_1 WHERE title = "Ain Shams" |
Write a SQL query that answers the following question: How many numbers are there for kam wa7ed fina? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005100_1 (no VARCHAR, title VARCHAR) | SELECT COUNT(no) FROM table_28005100_1 WHERE title = "Kam Wa7ed Fina" |
Write a SQL query that answers the following question: Who was the composer of te3rafy? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005100_1 (composer VARCHAR, title VARCHAR) | SELECT composer FROM table_28005100_1 WHERE title = "Te3rafy" |
Write a SQL query that answers the following question: How many sound engineers were there for law hakon '3er leek? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005100_1 (sound_engineer VARCHAR, title VARCHAR) | SELECT COUNT(sound_engineer) FROM table_28005100_1 WHERE title = "Law Hakon '3er Leek" |
Write a SQL query that answers the following question: Which number was the lyricist ahmed metwally? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005100_1 (no VARCHAR, lyricist VARCHAR) | SELECT no FROM table_28005100_1 WHERE lyricist = "Ahmed Metwally" |
Write a SQL query that answers the following question: What was the site of the game that had an 11-4 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_28001186_8 (site_stadium VARCHAR, score VARCHAR) | SELECT site_stadium FROM table_28001186_8 WHERE score = "11-4" |
Write a SQL query that answers the following question: What was the NCAA Tournament record after the June 26 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_28001186_8 (ncaat_record VARCHAR, date VARCHAR) | SELECT ncaat_record FROM table_28001186_8 WHERE date = "June 26" |
Write a SQL query that answers the following question: Who had the save in the game in which Duke (3-2) took the loss? | The relevant table was constructed using the following SQL : CREATE TABLE table_28001186_8 (save VARCHAR, loss VARCHAR) | SELECT save FROM table_28001186_8 WHERE loss = "Duke (3-2)" |
Write a SQL query that answers the following question: How many event dates occurred when event details were women's sabre? | The relevant table was constructed using the following SQL : CREATE TABLE table_28003469_1 (event_date VARCHAR, event_details VARCHAR) | SELECT COUNT(event_date) FROM table_28003469_1 WHERE event_details = "Women's Sabre" |
Write a SQL query that answers the following question: What is every value for approximate duration when event details is women's foil? | The relevant table was constructed using the following SQL : CREATE TABLE table_28003469_1 (approx_duration VARCHAR, event_details VARCHAR) | SELECT approx_duration FROM table_28003469_1 WHERE event_details = "Women's Foil" |
Write a SQL query that answers the following question: What is every event date on Sunday with a starting time of 9:30 am? | The relevant table was constructed using the following SQL : CREATE TABLE table_28003469_1 (event_date VARCHAR, event_day VARCHAR, starting_time VARCHAR) | SELECT event_date FROM table_28003469_1 WHERE event_day = "Sunday" AND starting_time = "9:30 am" |
Write a SQL query that answers the following question: How many items appear in the viewers column when the draw is 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_27994983_8 (viewers VARCHAR, draw VARCHAR) | SELECT COUNT(viewers) FROM table_27994983_8 WHERE draw = 2 |
Write a SQL query that answers the following question: How many viewers are the when the draw is 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_27994983_8 (viewers INTEGER, draw VARCHAR) | SELECT MAX(viewers) FROM table_27994983_8 WHERE draw = 3 |
Write a SQL query that answers the following question: How many juries are there when the draw is 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_27994983_8 (juries INTEGER, draw VARCHAR) | SELECT MAX(juries) FROM table_27994983_8 WHERE draw = 3 |
Write a SQL query that answers the following question: How many juries are there for Brolle? | The relevant table was constructed using the following SQL : CREATE TABLE table_27994983_8 (juries INTEGER, artist VARCHAR) | SELECT MAX(juries) FROM table_27994983_8 WHERE artist = "Brolle" |
Write a SQL query that answers the following question: What are the former counties of the Great Grimsby district? | The relevant table was constructed using the following SQL : CREATE TABLE table_2801185_2 (former_county VARCHAR, district VARCHAR) | SELECT former_county FROM table_2801185_2 WHERE district = "Great Grimsby" |
Write a SQL query that answers the following question: How many statuses are there for the Durham district? | The relevant table was constructed using the following SQL : CREATE TABLE table_2801185_2 (status VARCHAR, district VARCHAR) | SELECT COUNT(status) FROM table_2801185_2 WHERE district = "Durham" |
Write a SQL query that answers the following question: What are the statuses of the districts whose successor is Wiltshire? | The relevant table was constructed using the following SQL : CREATE TABLE table_2801185_2 (status VARCHAR, successor VARCHAR) | SELECT status FROM table_2801185_2 WHERE successor = "Wiltshire" |
Write a SQL query that answers the following question: What is the SDLP of Belfast? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005809_2 (sdlp INTEGER, council VARCHAR) | SELECT MAX(sdlp) FROM table_28005809_2 WHERE council = "Belfast" |
Write a SQL query that answers the following question: What is the smallest Alliance where the total is 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_28005809_2 (alliance INTEGER, total VARCHAR) | SELECT MIN(alliance) FROM table_28005809_2 WHERE total = 25 |
Write a SQL query that answers the following question: Who wrote the episode that 2.93 million viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_28019988_2 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_28019988_2 WHERE us_viewers__million_ = "2.93" |
Write a SQL query that answers the following question: What series number is the episode with production code bdf101? | The relevant table was constructed using the following SQL : CREATE TABLE table_28019988_2 (series__number INTEGER, production_code VARCHAR) | SELECT MAX(series__number) FROM table_28019988_2 WHERE production_code = "BDF101" |
Write a SQL query that answers the following question: What is the series number for the episode with production code bdf109? | The relevant table was constructed using the following SQL : CREATE TABLE table_28019988_2 (series__number VARCHAR, production_code VARCHAR) | SELECT series__number FROM table_28019988_2 WHERE production_code = "BDF109" |
Write a SQL query that answers the following question: Who directed the episode with the production code of 6AKY11? | The relevant table was constructed using the following SQL : CREATE TABLE table_28027307_1 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_28027307_1 WHERE production_code = "6AKY11" |
Write a SQL query that answers the following question: How many millions of U.S. viewers watched the episode with the production code of 6AKY07? | The relevant table was constructed using the following SQL : CREATE TABLE table_28027307_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR) | SELECT us_viewers__millions_ FROM table_28027307_1 WHERE production_code = "6AKY07" |
Write a SQL query that answers the following question: What number episode in the series was watched by 10.96 million U.S. viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_28027307_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR) | SELECT MIN(no_in_series) FROM table_28027307_1 WHERE us_viewers__millions_ = "10.96" |
Write a SQL query that answers the following question: What dance had a score total of 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_2803106_1 (dance_song VARCHAR, total VARCHAR) | SELECT dance_song FROM table_2803106_1 WHERE total = "31" |
Write a SQL query that answers the following question: What was the result for the dance that tonioli's scored an 8 and horwood scored a 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_2803106_1 (result VARCHAR, tonioli VARCHAR, horwood VARCHAR) | SELECT result FROM table_2803106_1 WHERE tonioli = "8" AND horwood = "6" |
Write a SQL query that answers the following question: How many times did tonioli score a 9 when horwood scored a 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_2803106_1 (total VARCHAR, tonioli VARCHAR, horwood VARCHAR) | SELECT COUNT(total) FROM table_2803106_1 WHERE tonioli = "9" AND horwood = "6" |
Write a SQL query that answers the following question: On week 11 when Dixon scored an 8, what was tonioli's score? | The relevant table was constructed using the following SQL : CREATE TABLE table_2803106_1 (tonioli VARCHAR, week__number VARCHAR, dixon VARCHAR) | SELECT tonioli FROM table_2803106_1 WHERE week__number = 11 AND dixon = "8" |
Write a SQL query that answers the following question: How many winners from previous round were there in the semi finals? | The relevant table was constructed using the following SQL : CREATE TABLE table_28039032_1 (winners_from_previous_round VARCHAR, round VARCHAR) | SELECT winners_from_previous_round FROM table_28039032_1 WHERE round = "Semi finals" |
Write a SQL query that answers the following question: What was the round that had 32 winners from previous round? | The relevant table was constructed using the following SQL : CREATE TABLE table_28039032_1 (round VARCHAR, winners_from_previous_round VARCHAR) | SELECT round FROM table_28039032_1 WHERE winners_from_previous_round = "32" |
Write a SQL query that answers the following question: How many clubs were remaining in the preliminary round? | The relevant table was constructed using the following SQL : CREATE TABLE table_28039032_1 (clubs_remaining VARCHAR, round VARCHAR) | SELECT clubs_remaining FROM table_28039032_1 WHERE round = "Preliminary round" |
Write a SQL query that answers the following question: What was the round when there were 16 winners from the previous round? | The relevant table was constructed using the following SQL : CREATE TABLE table_28039032_1 (round VARCHAR, winners_from_previous_round VARCHAR) | SELECT round FROM table_28039032_1 WHERE winners_from_previous_round = "16" |
Write a SQL query that answers the following question: How many clubs were involved in the second round? | The relevant table was constructed using the following SQL : CREATE TABLE table_28039032_1 (clubs_involved VARCHAR, round VARCHAR) | SELECT clubs_involved FROM table_28039032_1 WHERE round = "Second round" |
Write a SQL query that answers the following question: When grand prix de sar la princesse lalla meryem is the tournament what is the town? | The relevant table was constructed using the following SQL : CREATE TABLE table_2803662_3 (town VARCHAR, tournament VARCHAR) | SELECT town FROM table_2803662_3 WHERE tournament = "Grand Prix De SAR La Princesse Lalla Meryem" |
Write a SQL query that answers the following question: When stuttgart is the town what is the type? | The relevant table was constructed using the following SQL : CREATE TABLE table_2803662_3 (type VARCHAR, town VARCHAR) | SELECT type FROM table_2803662_3 WHERE town = "Stuttgart" |
Write a SQL query that answers the following question: who is the person that is part of the belgian vw club that works with frédéric miclotte | The relevant table was constructed using the following SQL : CREATE TABLE table_28046929_2 (driver VARCHAR, entrant VARCHAR, co_driver VARCHAR) | SELECT driver FROM table_28046929_2 WHERE entrant = "Belgian VW Club" AND co_driver = "Frédéric Miclotte" |
Write a SQL query that answers the following question: what is the type of vehicle driven by mark higgins | The relevant table was constructed using the following SQL : CREATE TABLE table_28046929_2 (car VARCHAR, driver VARCHAR) | SELECT car FROM table_28046929_2 WHERE driver = "Mark Higgins" |
Write a SQL query that answers the following question: what is the entry where the other person is zdeněk hrůza | The relevant table was constructed using the following SQL : CREATE TABLE table_28046929_2 (entrant VARCHAR, co_driver VARCHAR) | SELECT entrant FROM table_28046929_2 WHERE co_driver = "Zdeněk Hrůza" |
Write a SQL query that answers the following question: who is the other person where the assistant is paulo babo | The relevant table was constructed using the following SQL : CREATE TABLE table_28046929_2 (driver VARCHAR, co_driver VARCHAR) | SELECT driver FROM table_28046929_2 WHERE co_driver = "Paulo Babo" |
Write a SQL query that answers the following question: what are all the people where the entries is peugeot sport polska | The relevant table was constructed using the following SQL : CREATE TABLE table_28046929_2 (driver VARCHAR, entrant VARCHAR) | SELECT driver FROM table_28046929_2 WHERE entrant = "Peugeot Sport Polska" |
Write a SQL query that answers the following question: Who wrote the episode that had 6.05 million U.s. viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_28037619_2 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_28037619_2 WHERE us_viewers__million_ = "6.05" |
Write a SQL query that answers the following question: How many production codes are there for the episode that had 4.36 million u.s. viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_28037619_2 (production_code VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(production_code) FROM table_28037619_2 WHERE us_viewers__million_ = "4.36" |
Write a SQL query that answers the following question: How many people wrote the episode that had 7.26 million u.s. viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_28037619_2 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(written_by) FROM table_28037619_2 WHERE us_viewers__million_ = "7.26" |
Write a SQL query that answers the following question: How many million u.s. viewers saw the episode that was directed by roger young and written by debra j. fisher? | The relevant table was constructed using the following SQL : CREATE TABLE table_28037619_2 (us_viewers__million_ VARCHAR, directed_by VARCHAR, written_by VARCHAR) | SELECT us_viewers__million_ FROM table_28037619_2 WHERE directed_by = "Roger Young" AND written_by = "Debra J. Fisher" |
Write a SQL query that answers the following question: What is the name of the episode written by David Matthews? | The relevant table was constructed using the following SQL : CREATE TABLE table_28037619_2 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_28037619_2 WHERE written_by = "David Matthews" |
Write a SQL query that answers the following question: What are the colors of the Hudson school? | The relevant table was constructed using the following SQL : CREATE TABLE table_28051859_3 (colors VARCHAR, school VARCHAR) | SELECT colors FROM table_28051859_3 WHERE school = "Hudson" |
Write a SQL query that answers the following question: When were the members tenured in the Field school? | The relevant table was constructed using the following SQL : CREATE TABLE table_28051859_3 (tenure VARCHAR, school VARCHAR) | SELECT tenure FROM table_28051859_3 WHERE school = "Field" |
Write a SQL query that answers the following question: How many pick# for CFL team of Toronto Argonauts? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_1 (pick__number VARCHAR, cfl_team VARCHAR) | SELECT COUNT(pick__number) FROM table_28059992_1 WHERE cfl_team = "Toronto Argonauts" |
Write a SQL query that answers the following question: What is every CFL team from the Calgary college? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_1 (cfl_team VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_28059992_1 WHERE college = "Calgary" |
Write a SQL query that answers the following question: What is every position for the CFL Edmonton? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_1 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_28059992_1 WHERE cfl_team = "Edmonton" |
Write a SQL query that answers the following question: What is every CFL team with pick#1? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_1 (cfl_team VARCHAR, pick__number VARCHAR) | SELECT cfl_team FROM table_28059992_1 WHERE pick__number = 1 |
Write a SQL query that answers the following question: What is every CFL team with the player Mark Farraway? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_1 (cfl_team VARCHAR, player VARCHAR) | SELECT cfl_team FROM table_28059992_1 WHERE player = "Mark Farraway" |
Write a SQL query that answers the following question: What draft pick number was Andy Brereton? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_5 (pick__number INTEGER, player VARCHAR) | SELECT MIN(pick__number) FROM table_28059992_5 WHERE player = "Andy Brereton" |
Write a SQL query that answers the following question: What pick number was the player that was picked by Edmonton? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_5 (pick__number VARCHAR, cfl_team VARCHAR) | SELECT pick__number FROM table_28059992_5 WHERE cfl_team = "Edmonton" |
Write a SQL query that answers the following question: What position did the draft pick going to saskatchewan play? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_5 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_28059992_5 WHERE cfl_team = "Saskatchewan" |
Write a SQL query that answers the following question: What is the highest numbered draft pick? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_5 (pick__number INTEGER) | SELECT MAX(pick__number) FROM table_28059992_5 |
Write a SQL query that answers the following question: What CFL team got the player from york? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_5 (cfl_team VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_28059992_5 WHERE college = "York" |
Write a SQL query that answers the following question: How many positions does Trent Bagnail play? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_5 (position VARCHAR, player VARCHAR) | SELECT COUNT(position) FROM table_28059992_5 WHERE player = "Trent Bagnail" |
Write a SQL query that answers the following question: What position was the player who was drafted by Edmonton? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_6 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_28059992_6 WHERE cfl_team = "Edmonton" |
Write a SQL query that answers the following question: What college did the player whose position was RB go to? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_6 (college VARCHAR, position VARCHAR) | SELECT college FROM table_28059992_6 WHERE position = "RB" |
Write a SQL query that answers the following question: What college did Francis Bellefroid go to? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_6 (college VARCHAR, player VARCHAR) | SELECT college FROM table_28059992_6 WHERE player = "Francis Bellefroid" |
Write a SQL query that answers the following question: Which player was drafted by Winnipeg? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_6 (player VARCHAR, cfl_team VARCHAR) | SELECT player FROM table_28059992_6 WHERE cfl_team = "Winnipeg" |
Write a SQL query that answers the following question: What college did the player who was drafted by Calgary go to? | The relevant table was constructed using the following SQL : CREATE TABLE table_28059992_6 (college VARCHAR, cfl_team VARCHAR) | SELECT college FROM table_28059992_6 WHERE cfl_team = "Calgary" |
Write a SQL query that answers the following question: What was the height of representative #1? | The relevant table was constructed using the following SQL : CREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR) | SELECT height FROM table_28062822_3 WHERE represent = 1 |
Write a SQL query that answers the following question: Which contestant was sponsored by Yogurt Vita Slim? | The relevant table was constructed using the following SQL : CREATE TABLE table_28062822_3 (contestant VARCHAR, sponsor VARCHAR) | SELECT contestant FROM table_28062822_3 WHERE sponsor = "Yogurt Vita Slim" |
Write a SQL query that answers the following question: What was the height of representative #6? | The relevant table was constructed using the following SQL : CREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR) | SELECT height FROM table_28062822_3 WHERE represent = 6 |
Write a SQL query that answers the following question: how many people wrote the episode directed by rob schrab? | The relevant table was constructed using the following SQL : CREATE TABLE table_28081876_4 (written_by VARCHAR, directed_by VARCHAR) | SELECT COUNT(written_by) FROM table_28081876_4 WHERE directed_by = "Rob Schrab" |
Write a SQL query that answers the following question: name the title of the episode with production code 201 | The relevant table was constructed using the following SQL : CREATE TABLE table_28081876_4 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_28081876_4 WHERE production_code = 201 |
Write a SQL query that answers the following question: Who were the authors of the episode first broadcast on August 10, 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_28081876_6 (written_by VARCHAR, original_air_date VARCHAR) | SELECT written_by FROM table_28081876_6 WHERE original_air_date = "August 10, 2012" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.