instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What college did the #22 overall draft pick attend? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (college VARCHAR, pick__number VARCHAR) | SELECT college FROM table_name_39 WHERE pick__number = 22 |
Write a SQL query that answers the following question: What draft pick number attended syracuse and was drafted by the Carolina panthers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (pick__number INTEGER, nfl_team VARCHAR, college VARCHAR) | SELECT SUM(pick__number) FROM table_name_38 WHERE nfl_team = "carolina panthers" AND college = "syracuse" |
Write a SQL query that answers the following question: Which Lead Margin has a Poll Source of rasmussen reports/ fox news? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (lead_margin INTEGER, poll_source VARCHAR) | SELECT MIN(lead_margin) FROM table_name_75 WHERE poll_source = "rasmussen reports/ fox news" |
Write a SQL query that answers the following question: Which Poll Source has a Date administered of october 30 β november 2, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (poll_source VARCHAR, date_administered VARCHAR) | SELECT poll_source FROM table_name_18 WHERE date_administered = "october 30 β november 2, 2008" |
Write a SQL query that answers the following question: At which site was Northwestern an opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (site VARCHAR, opponent_number VARCHAR) | SELECT site FROM table_name_67 WHERE opponent_number = "northwestern" |
Write a SQL query that answers the following question: What result did Indiana have when they were an opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (result VARCHAR, opponent_number VARCHAR) | SELECT result FROM table_name_78 WHERE opponent_number = "indiana" |
Write a SQL query that answers the following question: What is the attendance when the result was w61-7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_12 WHERE result = "w61-7" |
Write a SQL query that answers the following question: What shows for miles [One Way] when the fans took 340? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (one_way VARCHAR, miles_ INTEGER, fans_took VARCHAR) | SELECT AVG(miles_)[one_way] FROM table_name_89 WHERE fans_took = "340" |
Write a SQL query that answers the following question: what is the reported birth date when the reported age is 110 years, 185 days? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (reported_birth_date VARCHAR, reported_age VARCHAR) | SELECT reported_birth_date FROM table_name_58 WHERE reported_age = "110 years, 185 days" |
Write a SQL query that answers the following question: what is the reported age when the reported birth date is 22 december 1878? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (reported_age VARCHAR, reported_birth_date VARCHAR) | SELECT reported_age FROM table_name_62 WHERE reported_birth_date = "22 december 1878" |
Write a SQL query that answers the following question: what is the region when the reported age is 111 years, 107 days? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (region VARCHAR, reported_age VARCHAR) | SELECT region FROM table_name_50 WHERE reported_age = "111 years, 107 days" |
Write a SQL query that answers the following question: what is the reported death date for laura svehaug? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (reported_death_date VARCHAR, name VARCHAR) | SELECT reported_death_date FROM table_name_97 WHERE name = "laura svehaug" |
Write a SQL query that answers the following question: Who has a reported age of 111 years, 66 days? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (name VARCHAR, reported_age VARCHAR) | SELECT name FROM table_name_38 WHERE reported_age = "111 years, 66 days" |
Write a SQL query that answers the following question: Who has a reported death of 6 march 1998? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (name VARCHAR, reported_death_date VARCHAR) | SELECT name FROM table_name_63 WHERE reported_death_date = "6 march 1998" |
Write a SQL query that answers the following question: Date for less than 122 countries and a 47% rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (date VARCHAR, countries_surveyed VARCHAR, _percentage_rank VARCHAR) | SELECT date FROM table_name_60 WHERE countries_surveyed < 122 AND _percentage_rank = "47" |
Write a SQL query that answers the following question: What high assists has the high points of andrew bynum (23)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (high_assists VARCHAR, high_points VARCHAR) | SELECT high_assists FROM table_name_71 WHERE high_points = "andrew bynum (23)" |
Write a SQL query that answers the following question: What score is the team of charlotte? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_48 WHERE team = "charlotte" |
Write a SQL query that answers the following question: What was strikeforce: barnett vs. cormier's record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (record VARCHAR, event VARCHAR) | SELECT record FROM table_name_26 WHERE event = "strikeforce: barnett vs. cormier" |
Write a SQL query that answers the following question: What is the total of q > 1.4 when q > 1.3 is 455, and q >1.2 is less than 3,028? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (q_ INTEGER) | SELECT SUM(q_) > _1.4 FROM table_name_51 WHERE q_ > _1.3 = 455 AND q_ > _1.2 < 3 OFFSET 028 |
Write a SQL query that answers the following question: Who was the losing team with a total of 24 when the winning team was Sydney Roosters? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (losing_team VARCHAR, total VARCHAR, winning_team VARCHAR) | SELECT losing_team FROM table_name_44 WHERE total = 24 AND winning_team = "sydney roosters" |
Write a SQL query that answers the following question: Which venue had a losing team of south sydney rabbitohs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (venue VARCHAR, losing_team VARCHAR) | SELECT venue FROM table_name_16 WHERE losing_team = "south sydney rabbitohs" |
Write a SQL query that answers the following question: What day was the total smaller than 19 at Venue of anz stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (date VARCHAR, total VARCHAR, venue VARCHAR) | SELECT date FROM table_name_42 WHERE total < 19 AND venue = "anz stadium" |
Write a SQL query that answers the following question: What was the Attendance before Week 17 with a Record of Bye? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (attendance VARCHAR, week VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_77 WHERE week < 17 AND record = "bye" |
Write a SQL query that answers the following question: What is the Kickoff Time on January 7, 2002? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (kickoff_time VARCHAR, date VARCHAR) | SELECT kickoff_time FROM table_name_72 WHERE date = "january 7, 2002" |
Write a SQL query that answers the following question: What was the Opponent in the game with a Result of L 24β14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_38 WHERE result = "l 24β14" |
Write a SQL query that answers the following question: What was the Result of the game with an Attendance of 69,365? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_46 WHERE attendance = "69,365" |
Write a SQL query that answers the following question: Which event won by KCLMS in 2008 has KCLMS as the winner and less than 10 wins by KCL? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (events_won_by_kcl VARCHAR, year VARCHAR, winner VARCHAR, events_won_by_kclMS VARCHAR) | SELECT events_won_by_kcl FROM table_name_74 WHERE winner = "kclms" AND events_won_by_kclMS < 10 AND year = 2008 |
Write a SQL query that answers the following question: How many years were the events won by KCLMS less than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (year VARCHAR, events_won_by_kclMS INTEGER) | SELECT COUNT(year) FROM table_name_8 WHERE events_won_by_kclMS < 7 |
Write a SQL query that answers the following question: What is the average value for events won by KCL in a year earlier than 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (events_won_by_kcl INTEGER, year INTEGER) | SELECT AVG(events_won_by_kcl) FROM table_name_58 WHERE year < 2004 |
Write a SQL query that answers the following question: What is the appointment day for 4 December 2008 vacancy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) | SELECT date_of_appointment FROM table_name_40 WHERE date_of_vacancy = "4 december 2008" |
Write a SQL query that answers the following question: Which outgoing manager has tabled 16th position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (outgoing_manager VARCHAR, position_in_table VARCHAR) | SELECT outgoing_manager FROM table_name_83 WHERE position_in_table = "16th" |
Write a SQL query that answers the following question: Which position is team mons who was replaced by Christophe Dessy (caretaker)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (position_in_table VARCHAR, team VARCHAR, replaced_by VARCHAR) | SELECT position_in_table FROM table_name_91 WHERE team = "mons" AND replaced_by = "christophe dessy (caretaker)" |
Write a SQL query that answers the following question: What is the table position for 4 December 2008 vacancy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (position_in_table VARCHAR, date_of_vacancy VARCHAR) | SELECT position_in_table FROM table_name_13 WHERE date_of_vacancy = "4 december 2008" |
Write a SQL query that answers the following question: How many laps have 50 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (laps VARCHAR, points VARCHAR) | SELECT laps FROM table_name_65 WHERE points = "50" |
Write a SQL query that answers the following question: What is the grid of team dreyer & reinbold racing, which has 26 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (grid VARCHAR, team VARCHAR, points VARCHAR) | SELECT grid FROM table_name_14 WHERE team = "dreyer & reinbold racing" AND points = "26" |
Write a SQL query that answers the following question: How many points have 75 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (points VARCHAR, laps VARCHAR) | SELECT points FROM table_name_6 WHERE laps = "75" |
Write a SQL query that answers the following question: How many points have 88 laps and a grid of 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (points VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT points FROM table_name_99 WHERE laps = "88" AND grid = "14" |
Write a SQL query that answers the following question: How many laps have a +0.4865 time/retired? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (laps VARCHAR, time_retired VARCHAR) | SELECT laps FROM table_name_34 WHERE time_retired = "+0.4865" |
Write a SQL query that answers the following question: When did the ATV that deorbited on 29 september 2008, launch? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (launch_date VARCHAR, deorbit_date VARCHAR) | SELECT launch_date FROM table_name_93 WHERE deorbit_date = "29 september 2008" |
Write a SQL query that answers the following question: When did the atv-002 launch? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (launch_date VARCHAR, designation VARCHAR) | SELECT launch_date FROM table_name_22 WHERE designation = "atv-002" |
Write a SQL query that answers the following question: When did Edoardo Amaldi launch? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (launch_date VARCHAR, name VARCHAR) | SELECT launch_date FROM table_name_25 WHERE name = "edoardo amaldi" |
Write a SQL query that answers the following question: When did the ATV that launched on 9 March 2008, deorbit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (deorbit_date VARCHAR, launch_date VARCHAR) | SELECT deorbit_date FROM table_name_9 WHERE launch_date = "9 march 2008" |
Write a SQL query that answers the following question: Who was the partner on the game which took place on a clay surface with opponents of marco chiudinelli michael lammer and a runner-up result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (partner VARCHAR, opponents VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT partner FROM table_name_74 WHERE outcome = "runner-up" AND surface = "clay" AND opponents = "marco chiudinelli michael lammer" |
Write a SQL query that answers the following question: Who were the opponent in the match on a clay surface that had a score of 6β3, 7β6 (11β9)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (opponents VARCHAR, surface VARCHAR, score VARCHAR) | SELECT opponents FROM table_name_84 WHERE surface = "clay" AND score = "6β3, 7β6 (11β9)" |
Write a SQL query that answers the following question: What is Season, when Races is less than 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (season VARCHAR, races INTEGER) | SELECT season FROM table_name_7 WHERE races < 16 |
Write a SQL query that answers the following question: What is the sum of Poles, when Podiums is 0, and when Races is 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (poles INTEGER, podiums VARCHAR, races VARCHAR) | SELECT SUM(poles) FROM table_name_35 WHERE podiums = 0 AND races = 17 |
Write a SQL query that answers the following question: What is Poles, when Races is less than 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (poles VARCHAR, races INTEGER) | SELECT poles FROM table_name_99 WHERE races < 16 |
Write a SQL query that answers the following question: What is the lowest Races, when Podiums is greater than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (races INTEGER, podiums INTEGER) | SELECT MIN(races) FROM table_name_53 WHERE podiums > 1 |
Write a SQL query that answers the following question: How many people on average attended the game in week 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (attendance INTEGER, week VARCHAR) | SELECT AVG(attendance) FROM table_name_68 WHERE week = 14 |
Write a SQL query that answers the following question: The game in week 11 has what result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_70 WHERE week = 11 |
Write a SQL query that answers the following question: For the game against the San Francisco 49ers what was the total attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (attendance INTEGER, opponent VARCHAR) | SELECT SUM(attendance) FROM table_name_12 WHERE opponent = "san francisco 49ers" |
Write a SQL query that answers the following question: What is the Place that has a To standard of β1, and a Score of 71-68-76=215? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (place VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT place FROM table_name_71 WHERE to_par = "β1" AND score = 71 - 68 - 76 = 215 |
Write a SQL query that answers the following question: What is the Player that has a To standard of β7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_47 WHERE to_par = "β7" |
Write a SQL query that answers the following question: What is the Player that has a To standard of β4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_15 WHERE to_par = "β4" |
Write a SQL query that answers the following question: What is the Player that has a To standard of β1, and a Score of 71-68-76=215? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (player VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_60 WHERE to_par = "β1" AND score = 71 - 68 - 76 = 215 |
Write a SQL query that answers the following question: What is the Player that has a To standard of β4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_71 WHERE to_par = "β4" |
Write a SQL query that answers the following question: Which rank is 40 for s Wicket with a player of Daniel Marsh? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (rank VARCHAR, s_wicket VARCHAR, player VARCHAR) | SELECT rank FROM table_name_63 WHERE s_wicket = "40" AND player = "daniel marsh" |
Write a SQL query that answers the following question: Which rank has a s wicket at 40 and 28.42 is the average? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (rank VARCHAR, s_wicket VARCHAR, average VARCHAR) | SELECT rank FROM table_name_66 WHERE s_wicket = "40" AND average = "28.42" |
Write a SQL query that answers the following question: Which value for s wicket is associated with Shaun Young? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (s_wicket VARCHAR, player VARCHAR) | SELECT s_wicket FROM table_name_68 WHERE player = "shaun young" |
Write a SQL query that answers the following question: Which player has a s wicket at 48? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (player VARCHAR, s_wicket VARCHAR) | SELECT player FROM table_name_84 WHERE s_wicket = "48" |
Write a SQL query that answers the following question: What is the s wicket value associated with Shaun Young? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (s_wicket VARCHAR, player VARCHAR) | SELECT s_wicket FROM table_name_51 WHERE player = "shaun young" |
Write a SQL query that answers the following question: What is the date of the game where the NY Islanders are the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_2 WHERE home = "ny islanders" |
Write a SQL query that answers the following question: What is the score of the game where the NY Islanders are the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_10 WHERE home = "ny islanders" |
Write a SQL query that answers the following question: Who was the home team on February 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_68 WHERE date = "february 3" |
Write a SQL query that answers the following question: What is the sum of Overall, when Round is less than 24, and when College is North Carolina State? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (overall INTEGER, round VARCHAR, college VARCHAR) | SELECT SUM(overall) FROM table_name_50 WHERE round < 24 AND college = "north carolina state" |
Write a SQL query that answers the following question: What is the total number of Pick, when Position is OT, when Overall is greater than 91, when Round is greater than 21, and when College is Mississippi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (pick VARCHAR, college VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR) | SELECT COUNT(pick) FROM table_name_98 WHERE position = "ot" AND overall > 91 AND round > 21 AND college = "mississippi" |
Write a SQL query that answers the following question: What is the lowest Overall, when College is Hardin-Simmons, and when Round is greater than 26? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (overall INTEGER, college VARCHAR, round VARCHAR) | SELECT MIN(overall) FROM table_name_17 WHERE college = "hardin-simmons" AND round > 26 |
Write a SQL query that answers the following question: What is the score of the tournament with younes el aynaoui as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_37 WHERE opponent = "younes el aynaoui" |
Write a SQL query that answers the following question: What is the date of the tournament with carlos moyΓ as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_6 WHERE opponent = "carlos moyΓ " |
Write a SQL query that answers the following question: What is the tournament with greg rusedski as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_57 WHERE opponent = "greg rusedski" |
Write a SQL query that answers the following question: What is the surface on 26 May 1996? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_75 WHERE date = "26 may 1996" |
Write a SQL query that answers the following question: What club did united states player ty harden play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (club VARCHAR, nationality VARCHAR, player VARCHAR) | SELECT club FROM table_name_55 WHERE nationality = "united states" AND player = "ty harden" |
Write a SQL query that answers the following question: Which seaosn had a player of rohan ricketts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (season VARCHAR, player VARCHAR) | SELECT COUNT(season) FROM table_name_26 WHERE player = "rohan ricketts" |
Write a SQL query that answers the following question: What is Tries Against, when Points Against is 213? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (tries_against VARCHAR, points_against VARCHAR) | SELECT tries_against FROM table_name_78 WHERE points_against = "213" |
Write a SQL query that answers the following question: What is Tries Against, when Tries For is 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (tries_against VARCHAR, tries_for VARCHAR) | SELECT tries_against FROM table_name_56 WHERE tries_for = "21" |
Write a SQL query that answers the following question: What is Try Diff, when Points Diff is +71? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (try_diff VARCHAR, points_diff VARCHAR) | SELECT try_diff FROM table_name_18 WHERE points_diff = "+71" |
Write a SQL query that answers the following question: What is Try Diff, when Points Against is 213? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (try_diff VARCHAR, points_against VARCHAR) | SELECT try_diff FROM table_name_42 WHERE points_against = "213" |
Write a SQL query that answers the following question: What is Tries Against, when Try Diff is +15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (tries_against VARCHAR, try_diff VARCHAR) | SELECT tries_against FROM table_name_34 WHERE try_diff = "+15" |
Write a SQL query that answers the following question: Which archbishop vacated the throne on May 17, 1907? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (archbishop VARCHAR, vacated_throne VARCHAR) | SELECT archbishop FROM table_name_42 WHERE vacated_throne = "may 17, 1907" |
Write a SQL query that answers the following question: When did the archbishop that was ordained a bishop on July 25, 1902 die? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (died VARCHAR, ordained_bishop VARCHAR) | SELECT died FROM table_name_62 WHERE ordained_bishop = "july 25, 1902" |
Write a SQL query that answers the following question: When was the archbishop that was born on February 10, 1858 ordained a bishop? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (ordained_bishop VARCHAR, born VARCHAR) | SELECT ordained_bishop FROM table_name_80 WHERE born = "february 10, 1858" |
Write a SQL query that answers the following question: When did Archbishop Albert Daeger vacate the throne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (vacated_throne VARCHAR, archbishop VARCHAR) | SELECT vacated_throne FROM table_name_63 WHERE archbishop = "albert daeger" |
Write a SQL query that answers the following question: When was the archbishop that was ordained as a bishop on November 30, 1925 born? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (born VARCHAR, ordained_bishop VARCHAR) | SELECT born FROM table_name_3 WHERE ordained_bishop = "november 30, 1925" |
Write a SQL query that answers the following question: When was the archbishop that was born on February 22, 1825 ordained as a bishop? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (ordained_bishop VARCHAR, born VARCHAR) | SELECT ordained_bishop FROM table_name_6 WHERE born = "february 22, 1825" |
Write a SQL query that answers the following question: Which event was against Pat Barry? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_87 WHERE opponent = "pat barry" |
Write a SQL query that answers the following question: What Player has a Score of 71-71=142? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_60 WHERE score = 71 - 71 = 142 |
Write a SQL query that answers the following question: What is the To par of T9 Place Player Ernie Els? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_95 WHERE place = "t9" AND player = "ernie els" |
Write a SQL query that answers the following question: What is the Score of the Player from South Africa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_64 WHERE country = "south africa" |
Write a SQL query that answers the following question: What is the Place of the Player with a Score of 70-71=141? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_61 WHERE score = 70 - 71 = 141 |
Write a SQL query that answers the following question: Which Date has a Set 1 of 25β20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (date VARCHAR, set_1 VARCHAR) | SELECT date FROM table_name_85 WHERE set_1 = "25β20" |
Write a SQL query that answers the following question: Which Score has a Total of 80β72? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (score VARCHAR, total VARCHAR) | SELECT score FROM table_name_55 WHERE total = "80β72" |
Write a SQL query that answers the following question: Which Date has a Set 1 of 21β25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, set_1 VARCHAR) | SELECT date FROM table_name_31 WHERE set_1 = "21β25" |
Write a SQL query that answers the following question: Which Set 2 has a Set 3 of 25β20, and a Time of 13:45? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (set_2 VARCHAR, set_3 VARCHAR, time VARCHAR) | SELECT set_2 FROM table_name_5 WHERE set_3 = "25β20" AND time = "13:45" |
Write a SQL query that answers the following question: Which Score has a Set 1 of 25β16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (score VARCHAR, set_1 VARCHAR) | SELECT score FROM table_name_97 WHERE set_1 = "25β16" |
Write a SQL query that answers the following question: Which Date has a Score of 2β3, a Time of 20:30, and a Set 3 of 16β25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (date VARCHAR, set_3 VARCHAR, score VARCHAR, time VARCHAR) | SELECT date FROM table_name_38 WHERE score = "2β3" AND time = "20:30" AND set_3 = "16β25" |
Write a SQL query that answers the following question: Which Back has a Supplier of Kooga and a Year of 2006-2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (back VARCHAR, supplier VARCHAR, year VARCHAR) | SELECT back FROM table_name_88 WHERE supplier = "kooga" AND year = "2006-2008" |
Write a SQL query that answers the following question: Which Supplier has a Year of 2006-2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (supplier VARCHAR, year VARCHAR) | SELECT supplier FROM table_name_83 WHERE year = "2006-2008" |
Write a SQL query that answers the following question: Which Sleeves have a Back of Unknown? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (sleeves VARCHAR, back VARCHAR) | SELECT sleeves FROM table_name_72 WHERE back = "unknown" |
Write a SQL query that answers the following question: What is the Year for Supplier Kooga? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (year VARCHAR, supplier VARCHAR) | SELECT year FROM table_name_97 WHERE supplier = "kooga" |
Write a SQL query that answers the following question: Which Sleeves have a Year of 2006-2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (sleeves VARCHAR, year VARCHAR) | SELECT sleeves FROM table_name_67 WHERE year = "2006-2008" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.