instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What country is team ucla come from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (nationality VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_70 WHERE school_club_team = "ucla" |
Write a SQL query that answers the following question: How many rounds have picked smaller than 220, with Alford Turner as a player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (round INTEGER, pick VARCHAR, player VARCHAR) | SELECT SUM(round) FROM table_name_79 WHERE pick < 220 AND player = "alford turner" |
Write a SQL query that answers the following question: What is the pick with Dean Sears and round larger than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (pick INTEGER, round VARCHAR, player VARCHAR) | SELECT MIN(pick) FROM table_name_61 WHERE round > 6 AND player = "dean sears" |
Write a SQL query that answers the following question: What is the total pick with Bill Duffy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (pick INTEGER, player VARCHAR) | SELECT SUM(pick) FROM table_name_12 WHERE player = "bill duffy" |
Write a SQL query that answers the following question: What is the total round with pick of 109? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (round INTEGER, pick VARCHAR) | SELECT SUM(round) FROM table_name_37 WHERE pick = 109 |
Write a SQL query that answers the following question: How many picks for round 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (pick__number VARCHAR, round VARCHAR) | SELECT COUNT(pick__number) FROM table_name_5 WHERE round = 12 |
Write a SQL query that answers the following question: What was Tom Donchez pick number? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (pick__number VARCHAR, player VARCHAR) | SELECT pick__number FROM table_name_21 WHERE player = "tom donchez" |
Write a SQL query that answers the following question: What is date when against is smaller than 6 and location was durban? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (date VARCHAR, against VARCHAR, venue VARCHAR) | SELECT date FROM table_name_75 WHERE against < 6 AND venue = "durban" |
Write a SQL query that answers the following question: What was the note with a year after 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (note VARCHAR, year INTEGER) | SELECT note FROM table_name_28 WHERE year > 2003 |
Write a SQL query that answers the following question: When was the note a vocals and the album north (original motion picture soundtrack)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (year VARCHAR, note VARCHAR, album VARCHAR) | SELECT year FROM table_name_62 WHERE note = "vocals" AND album = "north (original motion picture soundtrack)" |
Write a SQL query that answers the following question: Which album had the note tape [tape echo]? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (album VARCHAR, note VARCHAR) | SELECT album FROM table_name_95 WHERE note = "tape [tape echo]" |
Write a SQL query that answers the following question: Which artist was 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (artist VARCHAR, year VARCHAR) | SELECT artist FROM table_name_32 WHERE year = 2003 |
Write a SQL query that answers the following question: What is the Title of the episode after Season 10 Directed by Erik Wiese and Eddie Trigueros after Seres 35? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (title VARCHAR, directed_by VARCHAR, season__number VARCHAR, series__number VARCHAR) | SELECT title FROM table_name_83 WHERE season__number > 10 AND series__number > 35 AND directed_by = "erik wiese and eddie trigueros" |
Write a SQL query that answers the following question: What is the Original airdate of the episode after Season 6 Directed by Erik Wiese? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (original_airdate VARCHAR, directed_by VARCHAR, season__number VARCHAR) | SELECT original_airdate FROM table_name_19 WHERE directed_by = "erik wiese" AND season__number > 6 |
Write a SQL query that answers the following question: What is the average of laps ridden by Toni Elias? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (laps INTEGER, rider VARCHAR) | SELECT AVG(laps) FROM table_name_42 WHERE rider = "toni elias" |
Write a SQL query that answers the following question: How long did it take for the rider of a Yamaha with a grid less than 8 and laps less than 23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (time VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) | SELECT time FROM table_name_47 WHERE manufacturer = "yamaha" AND grid < 8 AND laps < 23 |
Write a SQL query that answers the following question: What is the fewest amount of laps when the grid was larger than 1 and 42:31.153? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (laps INTEGER, time VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_45 WHERE time = "42:31.153" AND grid > 1 |
Write a SQL query that answers the following question: How long did it take to ride when the laps were 23 and the grid of 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (time VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time FROM table_name_65 WHERE laps = 23 AND grid = 13 |
Write a SQL query that answers the following question: What was the result for the 71,164 in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (result VARCHAR, attendance INTEGER) | SELECT result FROM table_name_9 WHERE attendance > 71 OFFSET 164 |
Write a SQL query that answers the following question: Which rank is above floor 47? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (rank VARCHAR, floors INTEGER) | SELECT rank FROM table_name_83 WHERE floors > 47 |
Write a SQL query that answers the following question: What class is the RML Team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (class VARCHAR, team VARCHAR) | SELECT class FROM table_name_40 WHERE team = "rml" |
Write a SQL query that answers the following question: Which Result has a Home team of portland, and a Date of may 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (result VARCHAR, home_team VARCHAR, date VARCHAR) | SELECT result FROM table_name_30 WHERE home_team = "portland" AND date = "may 31" |
Write a SQL query that answers the following question: Which Date has a Road team of portland, and a Game of game 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (date VARCHAR, road_team VARCHAR, game VARCHAR) | SELECT date FROM table_name_16 WHERE road_team = "portland" AND game = "game 5" |
Write a SQL query that answers the following question: Which Home team has a Road team of portland, and a Result of 104–110? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (home_team VARCHAR, road_team VARCHAR, result VARCHAR) | SELECT home_team FROM table_name_85 WHERE road_team = "portland" AND result = "104–110" |
Write a SQL query that answers the following question: Which Home team has a Game of game 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (home_team VARCHAR, game VARCHAR) | SELECT home_team FROM table_name_85 WHERE game = "game 5" |
Write a SQL query that answers the following question: Which Date has a Home team of philadelphia, and a Result of 104–110? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (date VARCHAR, home_team VARCHAR, result VARCHAR) | SELECT date FROM table_name_4 WHERE home_team = "philadelphia" AND result = "104–110" |
Write a SQL query that answers the following question: Which Road team has a Home team of portland, and a Date of may 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (road_team VARCHAR, home_team VARCHAR, date VARCHAR) | SELECT road_team FROM table_name_17 WHERE home_team = "portland" AND date = "may 31" |
Write a SQL query that answers the following question: Which Tongan has a North Marquesan of /haʔe/? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (tongan VARCHAR, north_marquesan VARCHAR) | SELECT tongan FROM table_name_15 WHERE north_marquesan = "/haʔe/" |
Write a SQL query that answers the following question: What kind of North Marquesan has a Takuu of /ɾani/? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (north_marquesan VARCHAR, takuu VARCHAR) | SELECT north_marquesan FROM table_name_2 WHERE takuu = "/ɾani/" |
Write a SQL query that answers the following question: What kind of Takuu has a North Marquesan of /vehine/? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (takuu VARCHAR, north_marquesan VARCHAR) | SELECT takuu FROM table_name_83 WHERE north_marquesan = "/vehine/" |
Write a SQL query that answers the following question: What kind of Rarotongan has a Tahitian of /metua/? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (rarotongan VARCHAR, tahitian VARCHAR) | SELECT rarotongan FROM table_name_15 WHERE tahitian = "/metua/" |
Write a SQL query that answers the following question: What kind of Tongan has a North Marquesan of /haʔe/? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (tongan VARCHAR, north_marquesan VARCHAR) | SELECT tongan FROM table_name_89 WHERE north_marquesan = "/haʔe/" |
Write a SQL query that answers the following question: What kind of South Marquesan has a Sāmoan of /matua/? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (south_marquesan VARCHAR, sāmoan VARCHAR) | SELECT south_marquesan FROM table_name_67 WHERE sāmoan = "/matua/" |
Write a SQL query that answers the following question: What is the maximum Col (m) when 3,046 is the Prominence (m)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (col__m_ INTEGER, prominence__m_ VARCHAR) | SELECT MAX(col__m_) FROM table_name_94 WHERE prominence__m_ = 3 OFFSET 046 |
Write a SQL query that answers the following question: Where is the peak Pico Basilé located? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (location VARCHAR, peak VARCHAR) | SELECT location FROM table_name_15 WHERE peak = "pico basilé" |
Write a SQL query that answers the following question: What is the German Gewehr 98 when the Danish Krag-Jørgensen 1889 is 4.28kg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (german_gewehr_98 VARCHAR, danish_krag_jørgensen_1889 VARCHAR) | SELECT german_gewehr_98 FROM table_name_46 WHERE danish_krag_jørgensen_1889 = "4.28kg" |
Write a SQL query that answers the following question: What is the Rifle when the German Gewehr 98 is 74cm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (rifle VARCHAR, german_gewehr_98 VARCHAR) | SELECT rifle FROM table_name_94 WHERE german_gewehr_98 = "74cm" |
Write a SQL query that answers the following question: What is the US Krag-Jørgensen M1892 when the Norwegian Krag-Jørgensen M1894 is 126.8cm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (us_krag_jørgensen_m1892 VARCHAR, norwegian_krag_jørgensen_m1894 VARCHAR) | SELECT us_krag_jørgensen_m1892 FROM table_name_87 WHERE norwegian_krag_jørgensen_m1894 = "126.8cm" |
Write a SQL query that answers the following question: What team has a national league in 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (team VARCHAR, league VARCHAR, year VARCHAR) | SELECT team FROM table_name_31 WHERE league = "national" AND year = 2001 |
Write a SQL query that answers the following question: What is the league of the third baseman player before 1973? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (league VARCHAR, year VARCHAR, position VARCHAR) | SELECT league FROM table_name_79 WHERE year < 1973 AND position = "third baseman" |
Write a SQL query that answers the following question: What is Original Title, when Film Title Used In Nomination is "Monga"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_title FROM table_name_15 WHERE film_title_used_in_nomination = "monga" |
Write a SQL query that answers the following question: What is Result, when Original Title is "Tiānmǎ Cháfáng (天馬茶房)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (result VARCHAR, original_title VARCHAR) | SELECT result FROM table_name_47 WHERE original_title = "tiānmǎ cháfáng (天馬茶房)" |
Write a SQL query that answers the following question: What is Film Title Used In Nomination, when Original Title is "Báng-Kah (艋舺)" | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_27 WHERE original_title = "báng-kah (艋舺)" |
Write a SQL query that answers the following question: What is the Original Title, when Director is "Ting Shan-Si", and when Film Title Used In Nomination is "The 800 Heroes"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_title FROM table_name_73 WHERE director = "ting shan-si" AND film_title_used_in_nomination = "the 800 heroes" |
Write a SQL query that answers the following question: What is Year (Ceremony), when Director is "Wang Siu-Di"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (year__ceremony_ VARCHAR, director VARCHAR) | SELECT year__ceremony_ FROM table_name_66 WHERE director = "wang siu-di" |
Write a SQL query that answers the following question: What is Result, when Film Title Used In Nomination is "Kuei-Mei, A Woman"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (result VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT result FROM table_name_43 WHERE film_title_used_in_nomination = "kuei-mei, a woman" |
Write a SQL query that answers the following question: What was the issued serial for yellow on blue design issued in 1955? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (serials_issued VARCHAR, design VARCHAR, issued VARCHAR) | SELECT serials_issued FROM table_name_39 WHERE design = "yellow on blue" AND issued = 1955 |
Write a SQL query that answers the following question: What is the serial format for white on blue with a serial issued of ss-00-00 to zz-99-99? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (serial_format VARCHAR, design VARCHAR, serials_issued VARCHAR) | SELECT serial_format FROM table_name_72 WHERE design = "white on blue" AND serials_issued = "ss-00-00 to zz-99-99" |
Write a SQL query that answers the following question: What is the issued serial given in 1966? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (serials_issued VARCHAR, issued VARCHAR) | SELECT serials_issued FROM table_name_71 WHERE issued = 1966 |
Write a SQL query that answers the following question: What serial format was issued in 1972? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (serial_format VARCHAR, issued VARCHAR) | SELECT serial_format FROM table_name_71 WHERE issued = 1972 |
Write a SQL query that answers the following question: What type was issued in 1964? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (type VARCHAR, issued VARCHAR) | SELECT type FROM table_name_1 WHERE issued = 1964 |
Write a SQL query that answers the following question: At which tournament does Milan play against Hungary's league selection? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (tournament VARCHAR, opponent_team VARCHAR) | SELECT tournament FROM table_name_97 WHERE opponent_team = "hungary's league selection" |
Write a SQL query that answers the following question: What was the final score on 1 August 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_65 WHERE date = "1 august 2008" |
Write a SQL query that answers the following question: Where did Milan play against Napoli? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (location VARCHAR, opponent_team VARCHAR) | SELECT location FROM table_name_74 WHERE opponent_team = "napoli" |
Write a SQL query that answers the following question: WHAT WEEK HAS A TV TIME OF BYE? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (week VARCHAR, tv_time VARCHAR) | SELECT week FROM table_name_37 WHERE tv_time = "bye" |
Write a SQL query that answers the following question: WHAT WAS THE ATTENDANCE FOR WEEK 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_17 WHERE week = 15 |
Write a SQL query that answers the following question: WHAT WAS THE RESULT FOR NOVEMBER 29, 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_30 WHERE date = "november 29, 2001" |
Write a SQL query that answers the following question: In what year was the bridge in Clarkdale built? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (built VARCHAR, location VARCHAR) | SELECT built FROM table_name_16 WHERE location = "clarkdale" |
Write a SQL query that answers the following question: In what year was the Gila Bend Overpass built? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (built VARCHAR, name VARCHAR) | SELECT built FROM table_name_79 WHERE name = "gila bend overpass" |
Write a SQL query that answers the following question: In what county is the Canyon Padre Bridge? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (county VARCHAR, name VARCHAR) | SELECT county FROM table_name_33 WHERE name = "canyon padre bridge" |
Write a SQL query that answers the following question: Who won the ABA Championship in 1971? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (championships INTEGER, years_won VARCHAR) | SELECT MIN(championships) FROM table_name_94 WHERE years_won = "1971" |
Write a SQL query that answers the following question: What was the average amount of losses for teams with played less than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (lost INTEGER, played INTEGER) | SELECT AVG(lost) FROM table_name_5 WHERE played < 14 |
Write a SQL query that answers the following question: What was the total number of games played by se freising when their points were larger than 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (played VARCHAR, name VARCHAR, points VARCHAR) | SELECT COUNT(played) FROM table_name_61 WHERE name = "se freising" AND points > 13 |
Write a SQL query that answers the following question: What was the average losses for team with points larger than 3 and played larger thna 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (lost INTEGER, points VARCHAR, played VARCHAR) | SELECT AVG(lost) FROM table_name_65 WHERE points > 3 AND played > 14 |
Write a SQL query that answers the following question: How many losses did ev bruckberg have when the drawn was more than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (lost INTEGER, name VARCHAR, drawn VARCHAR) | SELECT SUM(lost) FROM table_name_42 WHERE name = "ev bruckberg" AND drawn > 1 |
Write a SQL query that answers the following question: What was the date administered from a source of Rasmussen Reports and a lead margin over 32? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (dates_administered VARCHAR, poll_source VARCHAR, lead_margin VARCHAR) | SELECT dates_administered FROM table_name_19 WHERE poll_source = "rasmussen reports" AND lead_margin > 32 |
Write a SQL query that answers the following question: What is the Score of the Chicago Black Hawks Home game on March 28? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, home VARCHAR, date VARCHAR) | SELECT score FROM table_name_38 WHERE home = "chicago black hawks" AND date = "march 28" |
Write a SQL query that answers the following question: What is the Visitor of the game on April 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_86 WHERE date = "april 2" |
Write a SQL query that answers the following question: What is the Home team on April 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_61 WHERE date = "april 4" |
Write a SQL query that answers the following question: What is the Visitor on March 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_56 WHERE date = "march 31" |
Write a SQL query that answers the following question: What is the Home team on April 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_43 WHERE date = "april 2" |
Write a SQL query that answers the following question: What is the Date of the game with a Record of 2-3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_86 WHERE record = "2-3" |
Write a SQL query that answers the following question: What track was used in 1926? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (track VARCHAR, year VARCHAR) | SELECT track FROM table_name_55 WHERE year = "1926" |
Write a SQL query that answers the following question: Who won the 250cc in 1927? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (year VARCHAR) | SELECT 250 AS _cc FROM table_name_31 WHERE year = "1927" |
Write a SQL query that answers the following question: What grand prix was held at Granollers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (designated_grand_prix VARCHAR, track VARCHAR) | SELECT designated_grand_prix FROM table_name_32 WHERE track = "granollers" |
Write a SQL query that answers the following question: Who won the 350cc at Sachsenring? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (track VARCHAR) | SELECT 350 AS _cc FROM table_name_90 WHERE track = "sachsenring" |
Write a SQL query that answers the following question: Which fleet numbers has quanitity of 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (fleet_number_s_ VARCHAR, quantity_made VARCHAR) | SELECT fleet_number_s_ FROM table_name_35 WHERE quantity_made = "13" |
Write a SQL query that answers the following question: Which wheel arrangement made in year 1900? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (wheel_arrangement VARCHAR, year_made VARCHAR) | SELECT wheel_arrangement FROM table_name_3 WHERE year_made = "1900" |
Write a SQL query that answers the following question: Which fleet numbers has quantity of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (fleet_number_s_ VARCHAR, quantity_made VARCHAR) | SELECT fleet_number_s_ FROM table_name_78 WHERE quantity_made = "1" |
Write a SQL query that answers the following question: what is the score when the partner is florencia labat, the surface is clay, the opponents is laura golarsa ann grossman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (score VARCHAR, opponents VARCHAR, partner VARCHAR, surface VARCHAR) | SELECT score FROM table_name_43 WHERE partner = "florencia labat" AND surface = "clay" AND opponents = "laura golarsa ann grossman" |
Write a SQL query that answers the following question: who is the opponents when the surface is clay and the date is 12 july 1992? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (opponents VARCHAR, surface VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_93 WHERE surface = "clay" AND date = "12 july 1992" |
Write a SQL query that answers the following question: what is the tournament when the outcome is winner and the opponents is kerry-anne guse corina morariu? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (tournament VARCHAR, outcome VARCHAR, opponents VARCHAR) | SELECT tournament FROM table_name_39 WHERE outcome = "winner" AND opponents = "kerry-anne guse corina morariu" |
Write a SQL query that answers the following question: what is the score when the partner is alexandra fusai? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (score VARCHAR, partner VARCHAR) | SELECT score FROM table_name_67 WHERE partner = "alexandra fusai" |
Write a SQL query that answers the following question: what is the surface when the opponents are louise field nathalie herreman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (surface VARCHAR, opponents VARCHAR) | SELECT surface FROM table_name_13 WHERE opponents = "louise field nathalie herreman" |
Write a SQL query that answers the following question: what is the score when the surface is clay and the tournament is san marino? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (score VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_18 WHERE surface = "clay" AND tournament = "san marino" |
Write a SQL query that answers the following question: If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR) | SELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = "yamaha" |
Write a SQL query that answers the following question: What's the smallest amount of laps that suzuki ran with a grid value of 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_26 WHERE manufacturer = "suzuki" AND grid = 8 |
Write a SQL query that answers the following question: Who were the opponents when the score of the game was 101-105 and the H/A/N was H? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (opponent VARCHAR, h_a_n VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_68 WHERE h_a_n = "h" AND score = "101-105" |
Write a SQL query that answers the following question: What is the score of the game against the baltimore bullets on March 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (score VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT score FROM table_name_4 WHERE opponent = "baltimore bullets" AND date = "march 14" |
Write a SQL query that answers the following question: Who were the opponents when the score was 122-135 and the H/A/N was H? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (opponent VARCHAR, h_a_n VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_87 WHERE h_a_n = "h" AND score = "122-135" |
Write a SQL query that answers the following question: What is the score of the game where the record was 22-55? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_7 WHERE record = "22-55" |
Write a SQL query that answers the following question: What is the average games that were drawn with ERSC Amberg as name and less than 14 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (drawn INTEGER, name VARCHAR, points VARCHAR) | SELECT AVG(drawn) FROM table_name_32 WHERE name = "ersc amberg" AND points < 14 |
Write a SQL query that answers the following question: What is the total position with a drawn of 0 and greater than 22 points and a greater than 14 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (position VARCHAR, played VARCHAR, drawn VARCHAR, points VARCHAR) | SELECT COUNT(position) FROM table_name_17 WHERE drawn = 0 AND points > 22 AND played > 14 |
Write a SQL query that answers the following question: Which Song has a Weeks at number one larger than 2, and an Issue date(s) of 17 april - 8 may? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (song VARCHAR, weeks_at_number_one VARCHAR, issue_date_s_ VARCHAR) | SELECT song FROM table_name_52 WHERE weeks_at_number_one > 2 AND issue_date_s_ = "17 april - 8 may" |
Write a SQL query that answers the following question: Which Song has an Issue date(s) of 29 may - 26 june? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (song VARCHAR, issue_date_s_ VARCHAR) | SELECT song FROM table_name_17 WHERE issue_date_s_ = "29 may - 26 june" |
Write a SQL query that answers the following question: what is the report when the home team is new zealand breakers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (report VARCHAR, home_team VARCHAR) | SELECT report FROM table_name_31 WHERE home_team = "new zealand breakers" |
Write a SQL query that answers the following question: what is the score when the home team is cairns taipans? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_23 WHERE home_team = "cairns taipans" |
Write a SQL query that answers the following question: Who is the away team when the venue is cairns convention centre? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_45 WHERE venue = "cairns convention centre" |
Write a SQL query that answers the following question: who is the away team when the home team is sydney spirit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_28 WHERE home_team = "sydney spirit" |
Write a SQL query that answers the following question: what is the box score when the home team is melbourne tigers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (Box VARCHAR, home_team VARCHAR) | SELECT Box AS score FROM table_name_3 WHERE home_team = "melbourne tigers" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.