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_75 (time VARCHAR, opponent VARCHAR)
### Question:
Can you tell me the Time that has the Opponent of phil baroni?
### Answer:
SELECT time FROM table_name_75 WHERE opponent = "phil baroni" |
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 (Winery VARCHAR)
### Question:
How many wines are produced at Robert Biale winery?
### Answer:
SELECT COUNT(*) FROM WINE WHERE Winery = "Robert Biale" |
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_18536769_1 (call_sign VARCHAR, owner VARCHAR)
### Question:
When vista radio is the owner how many call signs are there?
### Answer:
SELECT COUNT(call_sign) FROM table_18536769_1 WHERE owner = "Vista Radio" |
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_16201038_5 (at_columbia VARCHAR, overall_record VARCHAR)
### Question:
What is the record at Columbia for the team overall record of MU, 3-1?
### Answer:
SELECT at_columbia FROM table_16201038_5 WHERE overall_record = "MU, 3-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 (opening VARCHAR, result VARCHAR, white VARCHAR, moves VARCHAR)
### Question:
What's the opening when white is Anand with fewer than 61 moves for a result of ½–½?
### Answer:
SELECT opening FROM table_name_83 WHERE white = "anand" AND moves < 61 AND result = "½–½" |
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_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR)
### Question:
What is the church name located in Høyanger?
### Answer:
SELECT church_name FROM table_178389_1 WHERE location_of_the_church = "Høyanger" |
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_16710829_2 (game INTEGER, attendance VARCHAR)
### Question:
Name the max game for attendance being 54774
### Answer:
SELECT MAX(game) FROM table_16710829_2 WHERE attendance = 54774 |
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_68 (fleet_numbers VARCHAR, diagram VARCHAR, built VARCHAR)
### Question:
What fleet numbers have a diagram less than 99 and built in 1960?
### Answer:
SELECT fleet_numbers FROM table_name_68 WHERE diagram < 99 AND built = "1960" |
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 (round VARCHAR, date VARCHAR)
### Question:
what is the round on 21 february 2009?
### Answer:
SELECT round FROM table_name_54 WHERE date = "21 february 2009" |
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_1342218_24 (first_elected VARCHAR, incumbent VARCHAR)
### Question:
How many times was w. arthur winstead first elected?
### Answer:
SELECT COUNT(first_elected) FROM table_1342218_24 WHERE incumbent = "W. Arthur Winstead" |
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 (res VARCHAR, record VARCHAR)
### Question:
What was the resolution of the fight when tim hague had a record of 15-7?
### Answer:
SELECT res FROM table_name_65 WHERE record = "15-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 workshop (Date VARCHAR, Venue VARCHAR)
### Question:
Show the date and venue of each workshop in ascending alphabetical order of the venue.
### Answer:
SELECT Date, Venue FROM workshop ORDER BY Venue |
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 (designated_home VARCHAR, date VARCHAR, designated_visitors VARCHAR)
### Question:
Who was the home team on October 28 when the new england patriots were the visitors?
### Answer:
SELECT designated_home FROM table_name_34 WHERE date = "october 28" AND designated_visitors = "new england 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_89 (height_metres___ft VARCHAR, floors VARCHAR)
### Question:
Name the Height metres / ft of Floors of 05.0 n/a?
### Answer:
SELECT height_metres___ft FROM table_name_89 WHERE floors = "05.0 n/a" |
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 (party VARCHAR, member VARCHAR)
### Question:
To what party does Ralph Jacobi belong?
### Answer:
SELECT party FROM table_name_79 WHERE member = "ralph jacobi" |
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 (home_team VARCHAR, tie_no VARCHAR)
### Question:
Who was the home team for the game that has a Tie value of 3?
### Answer:
SELECT home_team FROM table_name_36 WHERE tie_no = "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_61 (score VARCHAR, record VARCHAR)
### Question:
What was the score of the game when the Devils had a record of 14–10–2?
### Answer:
SELECT score FROM table_name_61 WHERE record = "14–10–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_68 (opponent VARCHAR, h_a_n VARCHAR, score VARCHAR)
### Question:
Who were the opponents when the score of the game was 101-105 and the H/A/N was H?
### Answer:
SELECT opponent FROM table_name_68 WHERE h_a_n = "h" AND score = "101-105" |
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 (pos VARCHAR, weight INTEGER)
### Question:
What is the pos with weight less than 205?
### Answer:
SELECT pos FROM table_name_37 WHERE weight < 205 |
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, winning_team VARCHAR)
### Question:
Which Score that has a Winning team of wei chuan dragons?
### Answer:
SELECT score FROM table_name_35 WHERE winning_team = "wei chuan dragons" |
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 (lost INTEGER, team VARCHAR, drawn VARCHAR, goals_against VARCHAR, position VARCHAR)
### Question:
What is the average number lost for hyde united when they had a smaller position than 17, 8 draws, and more than 57 goals against?
### Answer:
SELECT AVG(lost) FROM table_name_62 WHERE goals_against > 57 AND position < 17 AND drawn = 8 AND team = "hyde united" |
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 Movie (title VARCHAR, mID VARCHAR, year VARCHAR); CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (YEAR INTEGER)
### Question:
What is the average rating stars and title for the oldest movie?
### Answer:
SELECT AVG(T1.stars), T2.title FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T2.year = (SELECT MIN(YEAR) FROM Movie) |
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 (wins VARCHAR, byes INTEGER)
### Question:
What is the total number of wins that has byes less than 0?
### Answer:
SELECT COUNT(wins) FROM table_name_84 WHERE byes < 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 (against VARCHAR, position VARCHAR, points VARCHAR)
### Question:
Which Against has a Position larger than 8, and Points larger than 9?
### Answer:
SELECT against FROM table_name_67 WHERE position > 8 AND points > 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 Documents (template_id VARCHAR); CREATE TABLE Templates (template_id VARCHAR); CREATE TABLE Templates (template_type_code VARCHAR)
### Question:
Show all template type codes that are not used by any document.
### Answer:
SELECT template_type_code FROM Templates EXCEPT SELECT template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_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 College (enr VARCHAR)
### Question:
List all information about college sorted by enrollment number in the ascending order.
### Answer:
SELECT * FROM College ORDER BY enr |
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 (result VARCHAR, nominated_work VARCHAR)
### Question:
What was the result for work made by Neil Finn?
### Answer:
SELECT result FROM table_name_10 WHERE nominated_work = "neil finn" |
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 (Giant VARCHAR, super_g VARCHAR)
### Question:
What is the giant slalom with a 37 super g?
### Answer:
SELECT Giant AS slalom FROM table_name_94 WHERE super_g = "37" |
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 (year VARCHAR, laps VARCHAR)
### Question:
Which year has 200 laps?
### Answer:
SELECT year FROM table_name_95 WHERE laps = 200 |
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 (date VARCHAR, week VARCHAR)
### Question:
what was the date of the game on week 2?
### Answer:
SELECT date FROM table_name_2 WHERE week = 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_95 (studio VARCHAR, director VARCHAR)
### Question:
What studio is director David Fincher from?
### Answer:
SELECT studio FROM table_name_95 WHERE director = "david fincher" |
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_12962773_13 (height VARCHAR, year_born VARCHAR, position VARCHAR)
### Question:
Name the height for the player born in 1980 and center?
### Answer:
SELECT height FROM table_12962773_13 WHERE year_born = 1980 AND position = "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_name_50 (rank VARCHAR, studio VARCHAR)
### Question:
What is the ranking of the movie made at Walt Disney Pictures?
### Answer:
SELECT rank FROM table_name_50 WHERE studio = "walt disney pictures" |
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_27537870_5 (december VARCHAR, record VARCHAR)
### Question:
Name the december for record 14-17-4
### Answer:
SELECT december FROM table_27537870_5 WHERE record = "14-17-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_12608427_8 (loan_club VARCHAR, name VARCHAR)
### Question:
Who was the loan club for the Westlake game?
### Answer:
SELECT loan_club FROM table_12608427_8 WHERE name = "Westlake" |
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 (team_1 VARCHAR)
### Question:
What is 1st Leg, when Team 1 is "Makedonija"?
### Answer:
SELECT 1 AS st_leg FROM table_name_52 WHERE team_1 = "makedonija" |
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 (round VARCHAR, opponent VARCHAR)
### Question:
How many rounds were fought with opponent Kevin Roddy?
### Answer:
SELECT COUNT(round) FROM table_name_54 WHERE opponent = "kevin roddy" |
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_93 (tournament VARCHAR)
### Question:
Which tournament has a 2007 of 2r, and a 2011 of 2r?
### Answer:
SELECT tournament FROM table_name_93 WHERE 2007 = "2r" AND 2011 = "2r" |
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 (year_s__won VARCHAR, to_par VARCHAR)
### Question:
The To par of +14 was won in what year(s)?
### Answer:
SELECT year_s__won FROM table_name_17 WHERE to_par = "+14" |
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 (score VARCHAR, competition VARCHAR, result VARCHAR, location VARCHAR)
### Question:
What was the score when the result was win, in Helsinki, competition was friendly?
### Answer:
SELECT score FROM table_name_50 WHERE result = "win" AND location = "helsinki" AND competition = "friendly" |
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 (goals_for INTEGER, played INTEGER)
### Question:
How many goals when more than 10 games played?
### Answer:
SELECT AVG(goals_for) FROM table_name_79 WHERE played > 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_96 (official_itv1_rating VARCHAR, episode VARCHAR)
### Question:
What is the Official ITV1 rating for auditions 4?
### Answer:
SELECT official_itv1_rating FROM table_name_96 WHERE episode = "auditions 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_1965650_2 (pick__number INTEGER, player VARCHAR)
### Question:
Name the least pick number for colin campbell
### Answer:
SELECT MIN(pick__number) FROM table_1965650_2 WHERE player = "Colin Campbell" |
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_56 (tie_no VARCHAR, home_team VARCHAR)
### Question:
What is the Tie Number when the home team was West Ham United?
### Answer:
SELECT tie_no FROM table_name_56 WHERE home_team = "west ham united" |
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 (investing_dragon_s_ VARCHAR, money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)
### Question:
Which Investing Dragon has requested £100,000 and is supported by Entrepreneur Kay Russell?
### Answer:
SELECT investing_dragon_s_ FROM table_name_43 WHERE money_requested__£_ = "100,000" AND entrepreneur_s_ = "kay russell" |
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 (against INTEGER, opposing_team VARCHAR)
### Question:
Sum of cuyo selection as the opposing team?
### Answer:
SELECT SUM(against) FROM table_name_86 WHERE opposing_team = "cuyo selection" |
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_19 (film_show VARCHAR, year VARCHAR)
### Question:
What is the Film/Show, when the Year is 2010?
### Answer:
SELECT film_show FROM table_name_19 WHERE year = 2010 |
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 (name VARCHAR, points VARCHAR)
### Question:
Who had 1344 points?
### Answer:
SELECT name FROM table_name_79 WHERE points = 1344 |
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 (record VARCHAR, visitor VARCHAR, date VARCHAR)
### Question:
What was the team's record when they played visitor team Chicago Black Hawks on November 24?
### Answer:
SELECT record FROM table_name_87 WHERE visitor = "chicago black hawks" AND date = "november 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_34 (manner_of_departure VARCHAR, replaced_by VARCHAR)
### Question:
What was the manner of departure replaced by tita?
### Answer:
SELECT manner_of_departure FROM table_name_34 WHERE replaced_by = "tita" |
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_89 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the score of the other team that played Geelong?
### Answer:
SELECT away_team AS score FROM table_name_89 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_name_78 (allsvenskan_titles INTEGER, introduced VARCHAR, stars_symbolizes VARCHAR, club VARCHAR)
### Question:
How many allsvenskan titles did club aik have after its introduction after 2000, with stars symbolizing the number of swedish championship titles ?
### Answer:
SELECT SUM(allsvenskan_titles) FROM table_name_78 WHERE stars_symbolizes = "number of swedish championship titles" AND club = "aik" AND introduced > 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_6 (adelaide VARCHAR, sydney VARCHAR, perth VARCHAR)
### Question:
Name the Adelaide for Sydney of yes and Perth of yes
### Answer:
SELECT adelaide FROM table_name_6 WHERE sydney = "yes" AND perth = "yes" |
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_1300525_1 (population INTEGER, simplified VARCHAR)
### Question:
How many people live in 铅山县?
### Answer:
SELECT MAX(population) FROM table_1300525_1 WHERE simplified = "铅山县" |
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_19 (episode VARCHAR, year VARCHAR, show VARCHAR)
### Question:
What is the Episode number of Ernest Dickerson in 2009 when the show was dexter?
### Answer:
SELECT episode FROM table_name_19 WHERE year = 2009 AND show = "dexter" |
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 (artist VARCHAR, peak_position VARCHAR, sales VARCHAR)
### Question:
What artist had a peak position under 2, and more than 200,000 in sales?
### Answer:
SELECT artist FROM table_name_87 WHERE peak_position < 2 AND sales > 200 OFFSET 000 |
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_27257896_2 (indians VARCHAR, salary_range VARCHAR)
### Question:
If the salary range is 4,000-9,000, what is the Indians %?
### Answer:
SELECT indians FROM table_27257896_2 WHERE salary_range = "4,000-9,000" |
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 (producer VARCHAR, year VARCHAR)
### Question:
What is the Producer on December 25, 2006?
### Answer:
SELECT producer FROM table_name_77 WHERE year = "december 25, 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 table_name_3 (country VARCHAR, player VARCHAR)
### Question:
What is the country for the player Tiger Woods?
### Answer:
SELECT country FROM table_name_3 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_78 (outcome VARCHAR, surface VARCHAR, date VARCHAR)
### Question:
Which Outcome has a Surface of hard (i), and a Date of 28 january 2003?
### Answer:
SELECT outcome FROM table_name_78 WHERE surface = "hard (i)" AND date = "28 january 2003" |
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_27902171_8 (date VARCHAR, score VARCHAR)
### Question:
Name the date for score of w 112-91
### Answer:
SELECT date FROM table_27902171_8 WHERE score = "W 112-91" |
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_24 (time VARCHAR, rank VARCHAR, speed VARCHAR)
### Question:
What is the time of the rider who has a rank smaller than 8 and speed of 104.567mph?
### Answer:
SELECT time FROM table_name_24 WHERE rank < 8 AND speed = "104.567mph" |
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_78 (result VARCHAR, director VARCHAR)
### Question:
What is Result, when Director is Mirza Idrizović category:articles with hcards?
### Answer:
SELECT result FROM table_name_78 WHERE director = "mirza idrizović 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_name_37 (game VARCHAR, opponent VARCHAR, opponents VARCHAR, nets_points VARCHAR)
### Question:
How many games had fewer than 118 opponents and more than 109 net points with an opponent of Washington?
### Answer:
SELECT COUNT(game) FROM table_name_37 WHERE opponents < 118 AND nets_points > 109 AND opponent = "washington" |
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 (loss VARCHAR, date VARCHAR)
### Question:
Name the loss for june 22
### Answer:
SELECT loss FROM table_name_8 WHERE date = "june 22" |
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 (to_par VARCHAR, player VARCHAR)
### Question:
What was Phil Mickelson's score to par?
### Answer:
SELECT to_par FROM table_name_20 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_28372291_1 (team VARCHAR, average_fencers_rank VARCHAR)
### Question:
What team had an average fencer rank of 1.33?
### Answer:
SELECT team FROM table_28372291_1 WHERE average_fencers_rank = "1.33" |
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_64 (to_par VARCHAR, score VARCHAR)
### Question:
Name the to par for score of 74-74-74-71=293
### Answer:
SELECT to_par FROM table_name_64 WHERE score = 74 - 74 - 74 - 71 = 293 |
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 (_number_of_total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)
### Question:
Name the most # of total votes with % of popular vote of 32.41% and # of seats won more than 95
### Answer:
SELECT MAX(_number_of_total_votes) FROM table_name_31 WHERE _percentage_of_popular_vote = "32.41%" AND _number_of_seats_won > 95 |
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_2589963_1 (status VARCHAR, juniors VARCHAR)
### Question:
What status of school is the school represented by the baby olympians?
### Answer:
SELECT status FROM table_2589963_1 WHERE juniors = "Baby Olympians" |
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 (_number_of_home_games INTEGER, average_attendance VARCHAR, year VARCHAR, canada___usa_rank VARCHAR)
### Question:
Before 2012, what was the greatest # of Home Games with a Canada - USA Rank of 52nd, and an Average Attendance less than 992?
### Answer:
SELECT MAX(_number_of_home_games) FROM table_name_41 WHERE year < 2012 AND canada___usa_rank = "52nd" AND average_attendance < 992 |
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 (score VARCHAR, opponent VARCHAR)
### Question:
Can you tell me the Score that has the Opponent of at edmonton oilers?
### Answer:
SELECT score FROM table_name_97 WHERE opponent = "at edmonton oilers" |
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 (place VARCHAR, country VARCHAR)
### Question:
What place has Canada as the country?
### Answer:
SELECT place FROM table_name_53 WHERE country = "canada" |
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_21530474_1 (drivetrain VARCHAR, engine_code VARCHAR)
### Question:
Name the drivetrain for 2ur-fse
### Answer:
SELECT drivetrain FROM table_21530474_1 WHERE engine_code = "2UR-FSE" |
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_2169966_1 (wins VARCHAR, starts VARCHAR)
### Question:
How many wins does he get when he starts at 10?
### Answer:
SELECT wins FROM table_2169966_1 WHERE starts = 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_7 (attendance VARCHAR, week VARCHAR)
### Question:
What was the Attendance in Week 1?
### Answer:
SELECT attendance FROM table_name_7 WHERE week = 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 web_client_accelerator (client VARCHAR)
### Question:
How many different kinds of clients are supported by the web clients accelerators?
### Answer:
SELECT COUNT(DISTINCT client) FROM web_client_accelerator |
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 (gold VARCHAR, total INTEGER)
### Question:
Tell me the total number of gold for total less than 1
### Answer:
SELECT COUNT(gold) FROM table_name_62 WHERE total < 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_86 (date VARCHAR, loss VARCHAR)
### Question:
What is the date of the match where Jeriome Robertson lost?
### Answer:
SELECT date FROM table_name_86 WHERE loss = "jeriome robertson" |
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 (rank INTEGER, lost VARCHAR, played VARCHAR)
### Question:
Which Rank has a Lost smaller than 12, and a Played larger than 20, and an Avg Points larger than 1.73?
### Answer:
SELECT MAX(rank) FROM table_name_95 WHERE lost < 12 AND played > 20 AND Avg.points > 1.73 |
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_149330_1 (votes_swing VARCHAR, general_election VARCHAR)
### Question:
What was the vote swing for the general election of the 12th lok sabha?
### Answer:
SELECT votes_swing FROM table_149330_1 WHERE general_election = "12th Lok Sabha" |
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 (away_team VARCHAR, home_team VARCHAR)
### Question:
How faced Geelong at home?
### Answer:
SELECT away_team AS score FROM table_name_52 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_name_99 (number VARCHAR, name VARCHAR)
### Question:
for the name of jamar jackson what is the total of Number?
### Answer:
SELECT COUNT(number) FROM table_name_99 WHERE name = "jamar jackson" |
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_93 (capacity VARCHAR, leagues VARCHAR)
### Question:
What is the capacity for b national - basketball?
### Answer:
SELECT COUNT(capacity) FROM table_name_93 WHERE leagues = "b national - basketball" |
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_21092444_1 (date VARCHAR, result VARCHAR, opponent VARCHAR)
### Question:
Name the date for result loss for duke
### Answer:
SELECT date FROM table_21092444_1 WHERE result = "Loss" AND opponent = "Duke" |
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 Documents_to_be_destroyed (Destroyed_by_Employee_ID VARCHAR, Destruction_Authorised_by_Employee_ID VARCHAR)
### Question:
Show the ids of all employees who have either destroyed a document or made an authorization to do this.
### Answer:
SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed |
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 (notes VARCHAR, kit_supplier VARCHAR, shirt_printing VARCHAR)
### Question:
What are the notes for the shirt that says 名品+1 in the kit supplied by Rapido?
### Answer:
SELECT notes FROM table_name_85 WHERE kit_supplier = "rapido" AND shirt_printing = "名品+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 review (u_id VARCHAR); CREATE TABLE useracct (u_id VARCHAR)
### Question:
Find the number of users who did not write any review.
### Answer:
SELECT COUNT(*) FROM useracct WHERE NOT u_id IN (SELECT u_id FROM review) |
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_206359_1 (shareholder_name VARCHAR, a_shares VARCHAR)
### Question:
What shareholders have 0 A shares?
### Answer:
SELECT shareholder_name FROM table_206359_1 WHERE a_shares = 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_3 (position VARCHAR, hometown VARCHAR)
### Question:
What is the position of the player from Fort Lauderdale, Florida?
### Answer:
SELECT position FROM table_name_3 WHERE hometown = "fort lauderdale, florida" |
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 (pick__number INTEGER, round INTEGER)
### Question:
Which of the highest pick numbers had a round of less than 2?
### Answer:
SELECT MAX(pick__number) FROM table_name_81 WHERE round < 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_67 (builder VARCHAR, wheels VARCHAR, railway VARCHAR)
### Question:
Who was the Builder when the wheels were 4-4-0 and the railway was GCR?
### Answer:
SELECT builder FROM table_name_67 WHERE wheels = "4-4-0" AND railway = "gcr" |
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_1805191_36 (results VARCHAR, incumbent VARCHAR)
### Question:
What are the results of the elections in which Ted Strickland is seeking re-election?
### Answer:
SELECT results FROM table_1805191_36 WHERE incumbent = "Ted Strickland" |
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 (silver INTEGER, bronze VARCHAR, total VARCHAR)
### Question:
How many total Silver has a Bronze larger than 19 and a Total smaller than 125?
### Answer:
SELECT SUM(silver) FROM table_name_13 WHERE bronze > 19 AND total < 125 |
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_18268826_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Who's the writer of the episode seen by 3.25 million people in the US?
### Answer:
SELECT written_by FROM table_18268826_1 WHERE us_viewers__million_ = "3.25" |
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 (place VARCHAR, year VARCHAR, points VARCHAR)
### Question:
What is the place later than 2007, with 141 (sf:83) points?
### Answer:
SELECT place FROM table_name_98 WHERE year > 2007 AND points = "141 (sf: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_10264179_2 (circuit VARCHAR, fastest_lap VARCHAR)
### Question:
What circuit was the race where Hideki Mutoh had the fastest lap?
### Answer:
SELECT circuit FROM table_10264179_2 WHERE fastest_lap = "Hideki Mutoh" |
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 (place VARCHAR, player VARCHAR)
### Question:
Golfer Steve Pate is in what place?
### Answer:
SELECT place FROM table_name_6 WHERE player = "steve pate" |
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 (record VARCHAR, home VARCHAR)
### Question:
What is the record of the game when Los Angeles was the home team?
### Answer:
SELECT record FROM table_name_38 WHERE home = "los angeles" |
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 (points INTEGER, opponent VARCHAR, january VARCHAR)
### Question:
Which Points have an Opponent of calgary flames, and a January larger than 22?
### Answer:
SELECT AVG(points) FROM table_name_90 WHERE opponent = "calgary flames" AND january > 22 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.