text
stringlengths 293
1.24k
|
---|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (royal_house VARCHAR, state VARCHAR)
### Question:
What was the Royal House for the state of Song?
### Answer:
SELECT royal_house FROM table_name_54 WHERE state = "song" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17621978_11 (location_attendance VARCHAR, date VARCHAR)
### Question:
Name the number of location attendance for april 24
### Answer:
SELECT COUNT(location_attendance) FROM table_17621978_11 WHERE date = "April 24" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (result VARCHAR, category VARCHAR)
### Question:
What was the result for the best musical revival category?
### Answer:
SELECT result FROM table_name_98 WHERE category = "best musical revival" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1682865_1 (introduction VARCHAR, numeral VARCHAR)
### Question:
What date was the 6d introduced?
### Answer:
SELECT introduction FROM table_1682865_1 WHERE numeral = "6d" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2380212_1 (league VARCHAR, year VARCHAR)
### Question:
What League was played in 2007?
### Answer:
SELECT league FROM table_2380212_1 WHERE year = 2007 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (away VARCHAR, opponent VARCHAR)
### Question:
Which Away has an Opponent of slavia prague?
### Answer:
SELECT away FROM table_name_7 WHERE opponent = "slavia prague" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (played INTEGER, first_game VARCHAR, drawn VARCHAR)
### Question:
What is the average number of games played associated with a first game in 1997 and over 0 games drawn?
### Answer:
SELECT AVG(played) FROM table_name_48 WHERE first_game = 1997 AND drawn > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (location VARCHAR, event VARCHAR)
### Question:
What is the location of the Conquista Fight 1?
### Answer:
SELECT location FROM table_name_11 WHERE event = "conquista fight 1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (tournament VARCHAR)
### Question:
What's the 2012 during Wimbledon and had a Q3 in 2008?
### Answer:
SELECT 2012 FROM table_name_83 WHERE 2008 = "q3" AND tournament = "wimbledon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (place VARCHAR, player VARCHAR)
### Question:
Which Place has a Player of justin leonard?
### Answer:
SELECT place FROM table_name_48 WHERE player = "justin leonard" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18894744_5 (game INTEGER, record VARCHAR)
### Question:
Name the least game for 8-3
### Answer:
SELECT MIN(game) FROM table_18894744_5 WHERE record = "8-3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (gross VARCHAR, studio VARCHAR)
### Question:
Which Gross has a Studio of mgm?
### Answer:
SELECT gross FROM table_name_25 WHERE studio = "mgm" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11577996_1 (year VARCHAR)
### Question:
What school took 4th place in 2001?
### Answer:
SELECT 4 AS th_place FROM table_11577996_1 WHERE year = 2001 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organization_contact_individuals (individual_id VARCHAR)
### Question:
Find the last name of the individuals that have been contact individuals of an organization.
### Answer:
SELECT DISTINCT t1.individual_last_name FROM individuals AS t1 JOIN organization_contact_individuals AS t2 ON t1.individual_id = t2.individual_id |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (tournament VARCHAR)
### Question:
Which tournament has a 2013 of 1r, and a 2012 of 1r?
### Answer:
SELECT tournament FROM table_name_38 WHERE 2013 = "1r" AND 2012 = "1r" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (year_opened VARCHAR, mall_name VARCHAR)
### Question:
Which year did the Short Pump Town Center Mall open?
### Answer:
SELECT year_opened FROM table_name_4 WHERE mall_name = "short pump town center" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17080868_6 (location_attendance VARCHAR, date VARCHAR)
### Question:
what is the total number of attendance where the date is december 29?
### Answer:
SELECT COUNT(location_attendance) FROM table_17080868_6 WHERE date = "December 29" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (area__km_2__ VARCHAR, name VARCHAR, population__2011_ VARCHAR)
### Question:
What is the total area of drakenstein and a population less than 251,262?
### Answer:
SELECT COUNT(area__km_2__) FROM table_name_32 WHERE name = "drakenstein" AND population__2011_ < 251 OFFSET 262 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE airport (International_Passengers VARCHAR)
### Question:
Show all information on the airport that has the largest number of international passengers.
### Answer:
SELECT * FROM airport ORDER BY International_Passengers DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (score VARCHAR, player VARCHAR)
### Question:
What is Tiger Woods's score?
### Answer:
SELECT score FROM table_name_1 WHERE player = "tiger woods" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (winner VARCHAR, edition VARCHAR)
### Question:
Who was the winner of the 23rd Edition?
### Answer:
SELECT winner FROM table_name_58 WHERE edition = "23rd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (opponent VARCHAR, game VARCHAR, record VARCHAR)
### Question:
Who is the opponent before game 5 with a 0-1-0 record?
### Answer:
SELECT opponent FROM table_name_31 WHERE game < 5 AND record = "0-1-0" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (hexadecimal INTEGER, glyph VARCHAR, decimal VARCHAR, octal VARCHAR)
### Question:
What is the average hexadecimal with a decimal less than 53, an octal less than 61, and a glyph greater than 0?
### Answer:
SELECT AVG(hexadecimal) FROM table_name_62 WHERE decimal < 53 AND octal < 61 AND glyph > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (fa_cup_goals INTEGER, name VARCHAR, league_goals VARCHAR)
### Question:
How many FA cup goals did dick taylor score in the year that he had 0 league goals?
### Answer:
SELECT MIN(fa_cup_goals) FROM table_name_10 WHERE name = "dick taylor" AND league_goals < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (team__number2 VARCHAR)
### Question:
what is the 2nd leg when team #2 is žalgiris kaunas?
### Answer:
SELECT 2 AS nd_leg FROM table_name_67 WHERE team__number2 = "žalgiris kaunas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (stadium VARCHAR, club VARCHAR)
### Question:
Which stadium has Seongnam Ilhwa Chunma?
### Answer:
SELECT stadium FROM table_name_77 WHERE club = "seongnam ilhwa chunma" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (bronze INTEGER, nation VARCHAR, total VARCHAR)
### Question:
What is the average Bronze, when Nation is "North Korea", and when Total is greater than 5?
### Answer:
SELECT AVG(bronze) FROM table_name_53 WHERE nation = "north korea" AND total > 5 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13758243_1 (player VARCHAR, position VARCHAR)
### Question:
What kicker was drafted?
### Answer:
SELECT player FROM table_13758243_1 WHERE position = "Kicker" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (results VARCHAR, year VARCHAR)
### Question:
What was the result in 2000?
### Answer:
SELECT results FROM table_name_23 WHERE year = 2000 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_84 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the score for Geelong?
### Answer:
SELECT away_team AS score FROM table_name_84 WHERE home_team = "geelong" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18946749_4 (col__m_ INTEGER, prominence__m_ VARCHAR)
### Question:
What is the highest value for col(m) when prominence(m) is 3755?
### Answer:
SELECT MAX(col__m_) FROM table_18946749_4 WHERE prominence__m_ = 3755 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (home_team VARCHAR, venue VARCHAR)
### Question:
Who is the home team at the Punt Road Oval?
### Answer:
SELECT home_team AS score FROM table_name_99 WHERE venue = "punt road oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, capacity VARCHAR)
### Question:
Find the name of the product that has the smallest capacity.
### Answer:
SELECT catalog_entry_name FROM catalog_contents ORDER BY capacity LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24697604_1 (university VARCHAR, year_founded VARCHAR)
### Question:
What university was founded in 1898?
### Answer:
SELECT university FROM table_24697604_1 WHERE year_founded = 1898 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (date VARCHAR, home_team VARCHAR)
### Question:
Name the date for home team of collingwood
### Answer:
SELECT date FROM table_name_51 WHERE home_team = "collingwood" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17779448_1 (attendance VARCHAR, opponent VARCHAR)
### Question:
How many attended game(s) against the boston patriots?
### Answer:
SELECT attendance FROM table_17779448_1 WHERE opponent = "Boston Patriots" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (score VARCHAR, game VARCHAR, october VARCHAR)
### Question:
Name the score for game more than 6 and before october 28
### Answer:
SELECT score FROM table_name_67 WHERE game > 6 AND october < 28 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (name VARCHAR, out_of VARCHAR, source VARCHAR, rank VARCHAR)
### Question:
Which Name had the Source, World Bank, and a Rank smaller than 110, Out of a number smaller than 199?
### Answer:
SELECT name FROM table_name_48 WHERE source = "world bank" AND rank < 110 AND out_of < 199 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (land___sq_mi__ INTEGER, ansi_code VARCHAR, pop__2010_ VARCHAR)
### Question:
Name the sum of land for ANSI code of 2390496 and population less than 7,284
### Answer:
SELECT SUM(land___sq_mi__) FROM table_name_80 WHERE ansi_code = 2390496 AND pop__2010_ < 7 OFFSET 284 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (score VARCHAR, record VARCHAR)
### Question:
Which Score has a Record of 9–8?
### Answer:
SELECT score FROM table_name_35 WHERE record = "9–8" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (to_par INTEGER, player VARCHAR)
### Question:
What is the lowest par for Bobby Cruickshank?
### Answer:
SELECT MIN(to_par) FROM table_name_9 WHERE player = "bobby cruickshank" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (against INTEGER, difference VARCHAR, lost VARCHAR)
### Question:
Which average's against score has 2 as a difference and a lost of 5?
### Answer:
SELECT AVG(against) FROM table_name_34 WHERE difference = "2" AND lost = 5 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (to_par VARCHAR, player VARCHAR, country VARCHAR, score VARCHAR)
### Question:
What is the to par score from Brad Faxon of the United States with a score of 73-68=141?
### Answer:
SELECT to_par FROM table_name_88 WHERE country = "united states" AND score = 73 - 68 = 141 AND player = "brad faxon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (one_mora VARCHAR, gloss VARCHAR, accented_mora VARCHAR)
### Question:
What is the one mora for a low tone mora with a gloss of /˩okiru/ [òkìɽɯ́]?
### Answer:
SELECT one_mora FROM table_name_95 WHERE NOT accented_mora = "low tone" AND gloss = "/˩okiru/ [òkìɽɯ́]" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (partner VARCHAR, score VARCHAR, outcome VARCHAR, year VARCHAR)
### Question:
Who was the Partner that was a winner, a Year smaller than 1993, and a Score of 6–4, 6–2?
### Answer:
SELECT partner FROM table_name_94 WHERE outcome = "winner" AND year < 1993 AND score = "6–4, 6–2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (losses INTEGER, byes INTEGER)
### Question:
What were the highest losses for a byes larger than 2?
### Answer:
SELECT MAX(losses) FROM table_name_99 WHERE byes > 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18042409_1 (alma_mater VARCHAR, player VARCHAR)
### Question:
What university did Steve Hoar attend.
### Answer:
SELECT alma_mater FROM table_18042409_1 WHERE player = "Steve Hoar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25244412_1 (state VARCHAR, renewable_electricity__gw•h_ VARCHAR)
### Question:
Which states have renewable electricity equal to 9667 (gw×h)?
### Answer:
SELECT state FROM table_25244412_1 WHERE renewable_electricity__gw•h_ = 9667 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (home_team VARCHAR, result VARCHAR)
### Question:
Which Home Team has a Result of 124-101?
### Answer:
SELECT home_team FROM table_name_10 WHERE result = "124-101" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (player VARCHAR, versus VARCHAR)
### Question:
What is the Player with Versus with australia?
### Answer:
SELECT player FROM table_name_34 WHERE versus = "australia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (tournament VARCHAR, opponent VARCHAR)
### Question:
Tell me the tournament for kathy horvath opponent
### Answer:
SELECT tournament FROM table_name_95 WHERE opponent = "kathy horvath" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (venue VARCHAR, date VARCHAR)
### Question:
Which venue had a match played on August 16, 2006?
### Answer:
SELECT venue FROM table_name_90 WHERE date = "august 16, 2006" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE poker_player (Money_Rank VARCHAR, Earnings VARCHAR)
### Question:
What is the money rank of the poker player with the highest earnings?
### Answer:
SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (launch_designation VARCHAR, cospar_id_satcat_№ VARCHAR)
### Question:
What is the launch designation of the satellite with a 2009-001a COSPAR ID?
### Answer:
SELECT launch_designation FROM table_name_53 WHERE cospar_id_satcat_№ = "2009-001a" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (december INTEGER, points VARCHAR, record VARCHAR)
### Question:
Which December has Points of 38, and a Record of 18–6–2?
### Answer:
SELECT AVG(december) FROM table_name_49 WHERE points = 38 AND record = "18–6–2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (price_in_usd VARCHAR, company VARCHAR)
### Question:
What is the USD price for Tealeaf?
### Answer:
SELECT price_in_usd FROM table_name_79 WHERE company = "tealeaf" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (no9 VARCHAR, no6 VARCHAR)
### Question:
Who is the no. 9 team that has a no. 6 player of paulo?
### Answer:
SELECT no9 FROM table_name_85 WHERE no6 = "paulo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE WINE (Appelation VARCHAR, year VARCHAR); CREATE TABLE APPELLATIONS (Area VARCHAR, Appelation VARCHAR)
### Question:
What is the area of the appelation that produces the highest number of wines before the year of 2010?
### Answer:
SELECT T1.Area FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation GROUP BY T2.Appelation HAVING T2.year < 2010 ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12284476_8 (alloy VARCHAR, series VARCHAR)
### Question:
what's the alloy with series being ii series
### Answer:
SELECT alloy FROM table_12284476_8 WHERE series = "II series" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (year INTEGER, competition VARCHAR, result VARCHAR)
### Question:
What was the highest year that Europe/Africa Zone Group I Group B lost?
### Answer:
SELECT MAX(year) FROM table_name_79 WHERE competition = "europe/africa zone group i group b" AND result = "lost" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (team VARCHAR, replaced_by VARCHAR)
### Question:
what is the team geraint williams is the replacement?
### Answer:
SELECT team FROM table_name_20 WHERE replaced_by = "geraint williams" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_44 (largest_ethnic_group__2002_ VARCHAR, population__2011_ VARCHAR)
### Question:
What is the largest ethnic group in the settlement with a 2011 population of 5082?
### Answer:
SELECT COUNT(largest_ethnic_group__2002_) FROM table_2562572_44 WHERE population__2011_ = 5082 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11734041_17 (height_in_ft VARCHAR, years_for_rockets VARCHAR)
### Question:
What is the hight of the player who's tenure lasted from 1969-70?
### Answer:
SELECT height_in_ft FROM table_11734041_17 WHERE years_for_rockets = "1969-70" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (bronze INTEGER, gold INTEGER)
### Question:
Which Bronze has a Gold smaller than 0?
### Answer:
SELECT AVG(bronze) FROM table_name_82 WHERE gold < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (icao VARCHAR, iata VARCHAR)
### Question:
What is the ICAO code for the airport with RBA as its IATA code?
### Answer:
SELECT icao FROM table_name_1 WHERE iata = "rba" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (head_coach VARCHAR, team VARCHAR)
### Question:
Who is the head coach for the team, arminia bielefeld?
### Answer:
SELECT head_coach FROM table_name_94 WHERE team = "arminia bielefeld" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (team VARCHAR, high_points VARCHAR)
### Question:
what is the team when the high points is by charlie villanueva (24)?
### Answer:
SELECT team FROM table_name_48 WHERE high_points = "charlie villanueva (24)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (score VARCHAR, attendance INTEGER)
### Question:
What was the score when the Blue Jays had an attendance larger than 9,430?
### Answer:
SELECT score FROM table_name_25 WHERE attendance > 9 OFFSET 430 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20726262_3 (production_code VARCHAR, usviewers__million_ VARCHAR)
### Question:
What was the production code for the episode with 3.38 million viewers?
### Answer:
SELECT production_code FROM table_20726262_3 WHERE usviewers__million_ = "3.38" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_247955_2 (to_par VARCHAR, winning_score VARCHAR)
### Question:
What were the shots below par when the winning score was 69-66-69-64=268?
### Answer:
SELECT to_par FROM table_247955_2 WHERE winning_score = 69 - 66 - 69 - 64 = 268 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (power VARCHAR, model VARCHAR, displacement VARCHAR)
### Question:
How much power does the 1500 model have with a displacement of 1490cc?
### Answer:
SELECT power FROM table_name_22 WHERE model = "1500" AND displacement = "1490cc" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (score VARCHAR, venue VARCHAR)
### Question:
What is the Score, when the Venue is Lübker Golf Resort?
### Answer:
SELECT score FROM table_name_37 WHERE venue = "lübker golf resort" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (score VARCHAR, record VARCHAR)
### Question:
Name the score which has record of 73-83
### Answer:
SELECT score FROM table_name_17 WHERE record = "73-83" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (build_date VARCHAR, wheels VARCHAR)
### Question:
What was the build date of the railway(s) with 0-6-2 t wheels?
### Answer:
SELECT build_date FROM table_name_13 WHERE wheels = "0-6-2 t" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (date VARCHAR, record VARCHAR)
### Question:
What date is the record 4-3-0?
### Answer:
SELECT date FROM table_name_94 WHERE record = "4-3-0" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR)
### Question:
What team has a kit manufacturer of Umbro and Eric Cantona as captain?
### Answer:
SELECT team FROM table_name_41 WHERE kit_manufacturer = "umbro" AND captain = "eric cantona" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (home_team VARCHAR, venue VARCHAR)
### Question:
Which team lives in mcg?
### Answer:
SELECT home_team FROM table_name_26 WHERE venue = "mcg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (location___state VARCHAR, circuit VARCHAR)
### Question:
What location and state has a circuit of Phillip Island Grand Prix Circuit?
### Answer:
SELECT location___state FROM table_name_59 WHERE circuit = "phillip island grand prix circuit" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18042031_16 (against VARCHAR, date VARCHAR)
### Question:
What country did Gil play against on 21–23 september 2007?
### Answer:
SELECT against FROM table_18042031_16 WHERE date = "21–23 September 2007" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (album VARCHAR, year VARCHAR, label VARCHAR)
### Question:
Which Album had a year less than 2005 with a Label by Ministry of Sound?
### Answer:
SELECT album FROM table_name_94 WHERE year < 2005 AND label = "ministry of sound" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (year INTEGER, opponent VARCHAR)
### Question:
What is the highest Year, when Opponent is #2 Syracuse?
### Answer:
SELECT MAX(year) FROM table_name_52 WHERE opponent = "#2 syracuse" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (first_publisher VARCHAR, year INTEGER)
### Question:
What is the First Publisher prior to 1999?
### Answer:
SELECT first_publisher FROM table_name_31 WHERE year < 1999 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (defending_forces VARCHAR, name VARCHAR)
### Question:
What is the defending forces when Al-Murassas shows for name?
### Answer:
SELECT defending_forces FROM table_name_21 WHERE name = "al-murassas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (speed VARCHAR, glider VARCHAR, pilot VARCHAR)
### Question:
What was sebastian kawa's average speed with Diana 2?
### Answer:
SELECT speed FROM table_name_36 WHERE glider = "diana 2" AND pilot = "sebastian kawa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (name VARCHAR, proposed VARCHAR)
### Question:
What is the name of the superfund that was proposed on 06/24/1988?
### Answer:
SELECT name FROM table_name_99 WHERE proposed = "06/24/1988" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (tournament VARCHAR, date VARCHAR)
### Question:
What is the tournament on Apr 6?
### Answer:
SELECT tournament FROM table_name_13 WHERE date = "apr 6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17294353_1 (result VARCHAR, attendance VARCHAR)
### Question:
In the game with an attendance of 18304, what was the final score?
### Answer:
SELECT result FROM table_17294353_1 WHERE attendance = 18304 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (attendance INTEGER, result VARCHAR, visitor VARCHAR)
### Question:
How much Attendance has a Result of 2–4, and a Visitor of brynäs if?
### Answer:
SELECT SUM(attendance) FROM table_name_10 WHERE result = "2–4" AND visitor = "brynäs if" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (laps INTEGER, grid VARCHAR, driver VARCHAR)
### Question:
Name the most laps for grid more than 9 and the driver being jan heylen
### Answer:
SELECT MAX(laps) FROM table_name_9 WHERE grid > 9 AND driver = "jan heylen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
### Question:
What is Date of Appointment, when Outgoing Manager is "Giray Bulak"?
### Answer:
SELECT date_of_appointment FROM table_name_69 WHERE outgoing_manager = "giray bulak" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (shirt_no INTEGER, birth_date VARCHAR)
### Question:
What shirt No has a Birth Date of April 12, 1986 (age27)?
### Answer:
SELECT MIN(shirt_no) FROM table_name_63 WHERE birth_date = "april 12, 1986 (age27)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11695215_1 (title VARCHAR, written_by VARCHAR)
### Question:
What episode was writted by John A. Norris?
### Answer:
SELECT title FROM table_11695215_1 WHERE written_by = "John A. Norris" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23235767_1 (year VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)
### Question:
What is every year where opponent in the final is John Mcenroe at Wimbledon?
### Answer:
SELECT year FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "Wimbledon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (fastest_lap VARCHAR, race VARCHAR)
### Question:
Who had the fastest lap at the German Grand Prix?
### Answer:
SELECT fastest_lap FROM table_name_87 WHERE race = "german grand prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24463470_1 (unlock_order VARCHAR, unlocks VARCHAR)
### Question:
How many instances is paris the unlock?
### Answer:
SELECT COUNT(unlock_order) FROM table_24463470_1 WHERE unlocks = "Paris" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (enrollment INTEGER, school VARCHAR)
### Question:
What is the highest enrollment for rochester community school?
### Answer:
SELECT MAX(enrollment) FROM table_name_66 WHERE school = "rochester community" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (home_team VARCHAR, venue VARCHAR)
### Question:
What was the home team score when the VFL played at Western Oval?
### Answer:
SELECT home_team AS score FROM table_name_65 WHERE venue = "western oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_44 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
### Question:
What was the largest ethnic group in in the settlement with the cyrillic name банатски карловац?
### Answer:
SELECT largest_ethnic_group__2002_ FROM table_2562572_44 WHERE cyrillic_name_other_names = "Банатски Карловац" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_75 (animal VARCHAR, resting_potential__mv_ VARCHAR)
### Question:
Which animal has a resting potential of −60?
### Answer:
SELECT animal FROM table_name_75 WHERE resting_potential__mv_ = "−60" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25277262_2 (directed_by VARCHAR, no_in_season VARCHAR)
### Question:
How many people directed episode 3 in the season?
### Answer:
SELECT COUNT(directed_by) FROM table_25277262_2 WHERE no_in_season = 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.