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_39 (page_count VARCHAR, author VARCHAR)
### Question:
How many pages were in the book by Stefano D'Arrigo?
### Answer:
SELECT page_count FROM table_name_39 WHERE author = "stefano d'arrigo" |
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_45 (wins INTEGER, team VARCHAR, appearances VARCHAR)
### Question:
With Appearances larger than 1, what is the Wins for the Reno Aces Team?
### Answer:
SELECT MIN(wins) FROM table_name_45 WHERE team = "reno aces" AND appearances > 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 storm (name VARCHAR, max_speed VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR)
### Question:
What is the storm name and max speed which affected the greatest number of regions?
### Answer:
SELECT T1.name, T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id 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_name_31 (years VARCHAR, jersey_number_s_ VARCHAR, player VARCHAR)
### Question:
What years did Elden Campbell category:articles with hcards and jersesy number of 41 play?
### Answer:
SELECT years FROM table_name_31 WHERE jersey_number_s_ = 41 AND player = "elden campbell category:articles with hcards" |
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_10556257_1 (cup_goals INTEGER, season VARCHAR)
### Question:
What is the most cup goals for seasson 1911-12?
### Answer:
SELECT MAX(cup_goals) FROM table_10556257_1 WHERE season = "1911-12" |
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 (rank INTEGER, country VARCHAR)
### Question:
What is the sum of the ranks for india?
### Answer:
SELECT SUM(rank) FROM table_name_59 WHERE country = "india" |
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_29701419_2 (total_appearances VARCHAR, league_appearances VARCHAR)
### Question:
How many total appearances are there when the league appearances is 192?
### Answer:
SELECT COUNT(total_appearances) FROM table_29701419_2 WHERE league_appearances = 192 |
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_86 (games VARCHAR, tied VARCHAR)
### Question:
What is the number of games for the season with 10 ties?
### Answer:
SELECT games FROM table_name_86 WHERE tied = 10 |
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 (shigella VARCHAR, yersinia VARCHAR)
### Question:
Tell me the shigella for yersinia yopb
### Answer:
SELECT shigella FROM table_name_52 WHERE yersinia = "yopb" |
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 (_percentage__1960_ INTEGER, county VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR)
### Question:
What is the % (1960) of Troms, which has a % (2040) smaller than 100 and a % (2000) smaller than 4.7?
### Answer:
SELECT SUM(_percentage__1960_) FROM table_name_48 WHERE _percentage__2040_ < 100 AND _percentage__2000_ < 4.7 AND county = "troms" |
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_43 (laid_down VARCHAR, completed VARCHAR)
### Question:
when was the ship laid down when it was completed on 3 july 1926?
### Answer:
SELECT laid_down FROM table_name_43 WHERE completed = "3 july 1926" |
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_19897294_10 (no_in_season INTEGER, no_in_series VARCHAR)
### Question:
What's the season number of the episode with series number US6?
### Answer:
SELECT MIN(no_in_season) FROM table_19897294_10 WHERE no_in_series = "US6" |
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_73 (director VARCHAR, nomination VARCHAR)
### Question:
Tell me the director nominated for best actor in a leading role
### Answer:
SELECT director FROM table_name_73 WHERE nomination = "best actor in a leading role" |
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_26681728_1 (rank_final INTEGER, apparatus VARCHAR)
### Question:
What was the maximum rank-final score on the floor exercise?
### Answer:
SELECT MAX(rank_final) FROM table_26681728_1 WHERE apparatus = "Floor Exercise" |
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 (place VARCHAR, year VARCHAR, champion VARCHAR)
### Question:
What is Place, when Year is greater than 2006, and when Champion is "Asvel"?
### Answer:
SELECT place FROM table_name_37 WHERE year > 2006 AND champion = "asvel" |
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 (result VARCHAR, attendance VARCHAR)
### Question:
What was the result of the game that had 20,627 fans in attendance?
### Answer:
SELECT result FROM table_name_79 WHERE attendance = "20,627" |
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 (losses VARCHAR, byes INTEGER)
### Question:
How many losses have byes greater than 2?
### Answer:
SELECT COUNT(losses) FROM table_name_38 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_name_57 (seats__acs_ INTEGER, election_winner VARCHAR, incumbent VARCHAR)
### Question:
What is the smallest number of seats with INC as an election winner and BJP incumbent?
### Answer:
SELECT MIN(seats__acs_) FROM table_name_57 WHERE election_winner = "inc" AND incumbent = "bjp" |
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_8 (attendance VARCHAR, record VARCHAR)
### Question:
what game had a score of 86-71
### Answer:
SELECT attendance FROM table_name_8 WHERE record = "86-71" |
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 (away_team VARCHAR, venue VARCHAR)
### Question:
What was the away team's score at Princes Park?
### Answer:
SELECT away_team AS score FROM table_name_38 WHERE venue = "princes park" |
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 (winner_2nd VARCHAR, jockey VARCHAR)
### Question:
WHo is Winner/2nd that has c. symons?
### Answer:
SELECT winner_2nd FROM table_name_84 WHERE jockey = "c. symons" |
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 Ref_Shipping_Agents (shipping_agent_code VARCHAR, shipping_agent_name VARCHAR)
### Question:
What is the shipping agent code of shipping agent UPS?
### Answer:
SELECT shipping_agent_code FROM Ref_Shipping_Agents WHERE shipping_agent_name = "UPS" |
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_97 (date VARCHAR, opponent VARCHAR)
### Question:
When was andrea gámiz the opponent?
### Answer:
SELECT date FROM table_name_97 WHERE opponent = "andrea gámiz" |
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 (final VARCHAR, rank VARCHAR)
### Question:
Which final has rank of 10?
### Answer:
SELECT final FROM table_name_59 WHERE rank = "10" |
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_16 (name VARCHAR, area VARCHAR)
### Question:
Tell me the name with area of eketahuna
### Answer:
SELECT name FROM table_name_16 WHERE area = "eketahuna" |
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, player VARCHAR)
### Question:
What team does Joe Deane play for?
### Answer:
SELECT team FROM table_name_20 WHERE player = "joe deane" |
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 (competition VARCHAR, result VARCHAR, date VARCHAR)
### Question:
What competition has a result of W on June 30, 1966?
### Answer:
SELECT competition FROM table_name_31 WHERE result = "w" AND date = "june 30, 1966" |
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 (qual VARCHAR, year VARCHAR)
### Question:
What was 1961's qual?
### Answer:
SELECT qual FROM table_name_98 WHERE year = "1961" |
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 Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Rating (rID VARCHAR, stars VARCHAR)
### Question:
What are the names of reviewers who had rated 3 star and 4 star?
### Answer:
SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T1.stars = 3 INTERSECT SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T1.stars = 4 |
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_14102379_4 (attendance INTEGER, record VARCHAR)
### Question:
what is the minimum attendance with record being 4–6
### Answer:
SELECT MIN(attendance) FROM table_14102379_4 WHERE record = "4–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_13741576_6 (club VARCHAR, won VARCHAR)
### Question:
How many clubs had 7 wins?
### Answer:
SELECT COUNT(club) FROM table_13741576_6 WHERE won = "7" |
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 (style VARCHAR, choreographer VARCHAR)
### Question:
What is the Style of the dance by Choreographer Luda and Oliver?
### Answer:
SELECT style FROM table_name_59 WHERE choreographer = "luda and oliver" |
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_2523809_1 (branding VARCHAR, channel VARCHAR)
### Question:
List the branding name for channel tv-62.
### Answer:
SELECT branding FROM table_2523809_1 WHERE channel = "TV-62" |
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 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR)
### Question:
Which Crude death rate (per 1000) has Deaths of 768, and a Crude birth rate (per 1000) smaller than 29.7?
### Answer:
SELECT MIN(crude_death_rate__per_1000_) FROM table_name_51 WHERE deaths = "768" AND crude_birth_rate__per_1000_ < 29.7 |
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_74 (silver INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
### Question:
With 1 Gold, more than 2 Bronze and Total greater than 1, what is the Silver?
### Answer:
SELECT AVG(silver) FROM table_name_74 WHERE total > 1 AND gold = 1 AND bronze > 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_49 (attendance VARCHAR, loss VARCHAR)
### Question:
What was the attendance at the game that had a loss of Ayala (6-12)?
### Answer:
SELECT attendance FROM table_name_49 WHERE loss = "ayala (6-12)" |
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_24850630_4 (group VARCHAR, race VARCHAR)
### Question:
What was the group in the British Champion Stakes?
### Answer:
SELECT group FROM table_24850630_4 WHERE race = "British Champion Stakes" |
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_70 (result VARCHAR, date VARCHAR)
### Question:
What is the final result of the game that was played on October 8, 2000?
### Answer:
SELECT result FROM table_name_70 WHERE date = "october 8, 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_71 (to_par VARCHAR, player VARCHAR)
### Question:
What was Tom Kite's to par?
### Answer:
SELECT to_par FROM table_name_71 WHERE player = "tom kite" |
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_2351952_1 (country VARCHAR, serial_numbers VARCHAR)
### Question:
The serial numbers 713096-713119 are in which country?
### Answer:
SELECT country FROM table_2351952_1 WHERE serial_numbers = "713096-713119" |
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_2508633_2 (pick__number INTEGER, position VARCHAR, nfl_team VARCHAR)
### Question:
Name the most pick number for guard and kansas city chiefs
### Answer:
SELECT MAX(pick__number) FROM table_2508633_2 WHERE position = "Guard" AND nfl_team = "Kansas City Chiefs" |
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 (week INTEGER, date VARCHAR)
### Question:
What week did the September 9, 1967 game occur on?
### Answer:
SELECT MIN(week) FROM table_name_25 WHERE date = "september 9, 1967" |
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 (country VARCHAR, hanja VARCHAR)
### Question:
Which country has a city with a Hanja of 平安北道?
### Answer:
SELECT country FROM table_name_83 WHERE hanja = "平安北道" |
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_43 (period VARCHAR, built VARCHAR, model VARCHAR)
### Question:
Between which years were there 241 fokker 70 model cabins built?
### Answer:
SELECT period FROM table_name_43 WHERE built < 241 AND model = "fokker 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_2602958_4 (prod_code VARCHAR, no VARCHAR)
### Question:
How many production codes are there for episode number 45?
### Answer:
SELECT COUNT(prod_code) FROM table_2602958_4 WHERE no = 45 |
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_2897457_2 (nationality VARCHAR, position VARCHAR, nhl_team VARCHAR)
### Question:
What is the nationality of the draft pick player who plays centre position and is going to Calgary Flames?
### Answer:
SELECT nationality FROM table_2897457_2 WHERE position = "Centre" AND nhl_team = "Calgary Flames" |
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_2 (partner VARCHAR, construction_start VARCHAR)
### Question:
What Partner has a Construction Start of 2008 january?
### Answer:
SELECT partner FROM table_name_2 WHERE construction_start = "2008 january" |
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 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR)
### Question:
What is the average goals less than 41 that goalkeeper Claudio Bravo had?
### Answer:
SELECT COUNT(average) FROM table_name_85 WHERE goals < 41 AND goalkeeper = "claudio bravo" |
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 (date VARCHAR, opponent VARCHAR, result VARCHAR)
### Question:
What is the Date with an Opponent with wimbledon, and a Result of drew 0-0?
### Answer:
SELECT date FROM table_name_75 WHERE opponent = "wimbledon" AND result = "drew 0-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_27374004_3 (manner_of_departure VARCHAR, team VARCHAR)
### Question:
What was the manner of departure for the manager of Cercle Brugge?
### Answer:
SELECT manner_of_departure FROM table_27374004_3 WHERE team = "Cercle Brugge" |
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_11803648_17 (overall INTEGER)
### Question:
HOW MUCH WAS THE OVERALL FOR ERIK KARLSSON?
### Answer:
SELECT MIN(overall) FROM table_11803648_17 |
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_46 (date VARCHAR, tournament VARCHAR)
### Question:
On what date was the Transitions Championship?
### Answer:
SELECT date FROM table_name_46 WHERE tournament = "transitions championship" |
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 (crowd VARCHAR, home_team VARCHAR)
### Question:
What was the attendance when St Kilda played as the home team?
### Answer:
SELECT COUNT(crowd) FROM table_name_66 WHERE home_team = "st kilda" |
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 (away_team VARCHAR, venue VARCHAR)
### Question:
Who was the away team at the game at Kardinia Park?
### Answer:
SELECT away_team FROM table_name_99 WHERE venue = "kardinia park" |
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_60 (residence VARCHAR, name VARCHAR)
### Question:
Show the Residence whose Name is rich gordon?
### Answer:
SELECT residence FROM table_name_60 WHERE name = "rich gordon" |
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_12 (week_4 VARCHAR, week_3 VARCHAR)
### Question:
Who was the girl on week 4 after week 3's Mikaela James?
### Answer:
SELECT week_4 FROM table_name_12 WHERE week_3 = "mikaela james" |
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_14342367_13 (hometown VARCHAR, player VARCHAR)
### Question:
Where is George W. Gregory from?
### Answer:
SELECT hometown FROM table_14342367_13 WHERE player = "George W. Gregory" |
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 (date VARCHAR, result VARCHAR)
### Question:
When has a Result of w 41-27?
### Answer:
SELECT date FROM table_name_23 WHERE result = "w 41-27" |
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 song (artist_name VARCHAR, rating INTEGER); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)
### Question:
List the name and country of origin for all singers who have produced songs with rating above 9.
### Answer:
SELECT DISTINCT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.rating > 9 |
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 (total_viewers VARCHAR, share VARCHAR, bbc_one_weekly_ranking VARCHAR)
### Question:
What is the total number of total viewers with a share of 18.8% and a weekly ranking under 16?
### Answer:
SELECT COUNT(total_viewers) FROM table_name_84 WHERE share = "18.8%" AND bbc_one_weekly_ranking < 16 |
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_18703133_6 (losses VARCHAR, team VARCHAR)
### Question:
How many losses are there for team tembetary?
### Answer:
SELECT losses FROM table_18703133_6 WHERE team = "Tembetary" |
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_57 (nationality VARCHAR, ranking VARCHAR)
### Question:
What is the Nationality that shows 4 as the ranking?
### Answer:
SELECT nationality FROM table_name_57 WHERE ranking = 4 |
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_50 (erp_w INTEGER, frequency_mhz VARCHAR)
### Question:
Frequency MHz of 88.7 had what average erp w?
### Answer:
SELECT AVG(erp_w) FROM table_name_50 WHERE frequency_mhz = 88.7 |
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_81 (joint_music_award VARCHAR, year VARCHAR, rthk VARCHAR)
### Question:
How many Joint Music Awards were there with a RTHK of 1, in a Year before 2006?
### Answer:
SELECT joint_music_award FROM table_name_81 WHERE year < 2006 AND rthk = "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_6 (venue VARCHAR, away_team VARCHAR)
### Question:
Which Venue has an Away team of footscray?
### Answer:
SELECT venue FROM table_name_6 WHERE away_team = "footscray" |
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 (record VARCHAR, game VARCHAR, date VARCHAR)
### Question:
Which Record has a Game larger than 34, and a Date of january 9?
### Answer:
SELECT record FROM table_name_34 WHERE game > 34 AND date = "january 9" |
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_2820584_3 (score_in_the_final VARCHAR, partner VARCHAR)
### Question:
What was the score in the final played with Fred McNair as partner?
### Answer:
SELECT score_in_the_final FROM table_2820584_3 WHERE partner = "Fred McNair" |
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_17327458_1 (replaced_by VARCHAR, date_of_appointment VARCHAR)
### Question:
Who was replaced on 11 July?
### Answer:
SELECT replaced_by FROM table_17327458_1 WHERE date_of_appointment = "11 July" |
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_73 (winning_driver VARCHAR, name VARCHAR)
### Question:
WHo is Winning driver that is in st. petersburg - moscow?
### Answer:
SELECT winning_driver FROM table_name_73 WHERE name = "st. petersburg - moscow" |
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_86 (year INTEGER, engine VARCHAR)
### Question:
What is the average year for Maserati Straight-4 Engines?
### Answer:
SELECT AVG(year) FROM table_name_86 WHERE engine = "maserati straight-4" |
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 (record VARCHAR, home VARCHAR)
### Question:
What was the record at the home of the Montreal Maroons
### Answer:
SELECT record FROM table_name_59 WHERE home = "montreal maroons" |
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 (total VARCHAR, player VARCHAR)
### Question:
How many Total has a Player of dave stockton?
### Answer:
SELECT COUNT(total) FROM table_name_53 WHERE player = "dave stockton" |
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 (offer_team VARCHAR, player VARCHAR)
### Question:
What was David Backes' Offer Team?
### Answer:
SELECT offer_team FROM table_name_59 WHERE player = "david backes" |
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_11303072_5 (fielding_team VARCHAR, runs VARCHAR)
### Question:
What is the fielding team with 155 runs?
### Answer:
SELECT fielding_team FROM table_11303072_5 WHERE runs = "155" |
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_20728138_1 (seats_won VARCHAR, seats_contested VARCHAR)
### Question:
How many seats were won, when the seats contested was 48?
### Answer:
SELECT seats_won FROM table_20728138_1 WHERE seats_contested = 48 |
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_29 (rank INTEGER, source VARCHAR, year VARCHAR)
### Question:
What is the average rank that has cia world factbook as the source and a year prior to 2005?
### Answer:
SELECT AVG(rank) FROM table_name_29 WHERE source = "cia world factbook" AND year < 2005 |
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 (venue VARCHAR, opposing_team VARCHAR, round VARCHAR)
### Question:
Which Venue has an Opposing Team of manchester united, and a Round of 5th round replay?
### Answer:
SELECT venue FROM table_name_79 WHERE opposing_team = "manchester united" AND round = "5th round replay" |
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_26976615_3 (outgoing_manager VARCHAR, team VARCHAR)
### Question:
Who was the outgoing manager for the team of târgu mureş?
### Answer:
SELECT outgoing_manager FROM table_26976615_3 WHERE team = "Târgu Mureş" |
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_1000181_1 (current_series VARCHAR, notes VARCHAR)
### Question:
What is the current series where the new series began in June 2011?
### Answer:
SELECT current_series FROM table_1000181_1 WHERE notes = "New series began in June 2011" |
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_184803_4 (country VARCHAR, commentator VARCHAR)
### Question:
which countries were commentated on by gordana bonetti
### Answer:
SELECT country FROM table_184803_4 WHERE commentator = "Gordana Bonetti" |
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_44 (height_ft__m_ VARCHAR, floors VARCHAR, year VARCHAR)
### Question:
How tall is the building built in 1985 with 22 floors?
### Answer:
SELECT height_ft__m_ FROM table_name_44 WHERE floors = 22 AND year = 1985 |
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 (surface VARCHAR, partner VARCHAR)
### Question:
Name the surface when the partner is carlos berlocq
### Answer:
SELECT surface FROM table_name_13 WHERE partner = "carlos berlocq" |
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_27 (econ VARCHAR, s_rate VARCHAR, runs VARCHAR)
### Question:
How many econs have 13.76 as the S/Rate, with runs less than 325?
### Answer:
SELECT COUNT(econ) FROM table_name_27 WHERE s_rate = 13.76 AND runs < 325 |
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 (crowd VARCHAR, away_team VARCHAR)
### Question:
How many people were in the crowd for a game than had carlton as the visiting team?
### Answer:
SELECT crowd FROM table_name_31 WHERE away_team = "carlton" |
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_81 (title VARCHAR, director VARCHAR, production_number VARCHAR)
### Question:
What is the name of the title that was directed by Friz Freleng and has a production number of 443?
### Answer:
SELECT title FROM table_name_81 WHERE director = "friz freleng" AND production_number = "443" |
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_28 (to_par VARCHAR, player VARCHAR)
### Question:
What was Phil Mickelson's score to par?
### Answer:
SELECT to_par FROM table_name_28 WHERE player = "phil mickelson" |
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_2508633_11 (nfl_team VARCHAR, college VARCHAR)
### Question:
What are the NFL Teams in College North Texas State?
### Answer:
SELECT nfl_team FROM table_2508633_11 WHERE college = "North Texas State" |
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_12 (sfc_in_g__kn INTEGER, engine_type VARCHAR, sfc_in_lb__lbf·h_ VARCHAR)
### Question:
What is the highest SFC in g/(kN*s) for Rolls-Royce/Snecma Olympus 593 engines and SFCs under 1.195 lb/(lbf*h)?
### Answer:
SELECT MAX(sfc_in_g__kn) AS ·s_ FROM table_name_12 WHERE engine_type = "rolls-royce/snecma olympus 593" AND sfc_in_lb__lbf·h_ < 1.195 |
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 (record VARCHAR, loss VARCHAR)
### Question:
What is the record number of the game where Guardado lost?
### Answer:
SELECT record FROM table_name_9 WHERE loss = "guardado" |
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 (Id VARCHAR)
### Question:
What is the 1977 value that had Grand Slam Tournaments in 1972?
### Answer:
SELECT 1977 FROM table_name_9 WHERE 1972 = "grand slam tournaments" |
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 (project_name VARCHAR, country VARCHAR)
### Question:
What is the Project Name with a Country that is opec?
### Answer:
SELECT project_name FROM table_name_36 WHERE country = "opec" |
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_21154679_1 (top_speed VARCHAR, max_power VARCHAR)
### Question:
What is the maximum speed for total power of ps (kw; bhp)?
### Answer:
SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)" |
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_86 (pick VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR)
### Question:
How many Picks have an Overall smaller than 304, and a Position of g, and a Round smaller than 11?
### Answer:
SELECT COUNT(pick) FROM table_name_86 WHERE overall < 304 AND position = "g" AND round < 11 |
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 (points INTEGER, year VARCHAR)
### Question:
Which line has the lowest amount of points and a year of 1954?
### Answer:
SELECT MIN(points) FROM table_name_59 WHERE year = 1954 |
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 (source VARCHAR, michael_signer VARCHAR)
### Question:
Which polling source gave Michael Signer 5%?
### Answer:
SELECT source FROM table_name_54 WHERE michael_signer = "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_69 (overall INTEGER, name VARCHAR, pick VARCHAR, round VARCHAR)
### Question:
What is the sum of Overall, when Pick is greater than 5, when Round is less than 11, and when Name is "Tom Barrington"?
### Answer:
SELECT SUM(overall) FROM table_name_69 WHERE pick > 5 AND round < 11 AND name = "tom barrington" |
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 (uci_rating INTEGER, team VARCHAR)
### Question:
What is Relax-Gam's average UCI Rating?
### Answer:
SELECT AVG(uci_rating) FROM table_name_88 WHERE team = "relax-gam" |
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_23316034_23 (dismissals INTEGER, player VARCHAR)
### Question:
Name the least dismissals for sammy carter
### Answer:
SELECT MIN(dismissals) FROM table_23316034_23 WHERE player = "Sammy Carter" |
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 (leading_scorer VARCHAR, date VARCHAR)
### Question:
Who is the leading scorer of the game on 9 February 2008?
### Answer:
SELECT leading_scorer FROM table_name_31 WHERE date = "9 february 2008" |
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_28 (man_of_the_match VARCHAR, venue VARCHAR, opponent VARCHAR)
### Question:
Who was the Man of the Match when they played the Romford Raiders at home?
### Answer:
SELECT man_of_the_match FROM table_name_28 WHERE venue = "home" AND opponent = "romford raiders" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.