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_77 (february INTEGER, game VARCHAR)
### Question:
What is the average February that has 56 as the game?
### Answer:
SELECT AVG(february) FROM table_name_77 WHERE game = 56 |
Below is an context that describes a 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 (pop_area__1_km²_ INTEGER, no_p VARCHAR, name VARCHAR)
### Question:
Which Pop/Area (1/km²) has a No P. larger than 1, and a Name of albergaria-a-velha?
### Answer:
SELECT AVG(pop_area__1_km²_) FROM table_name_84 WHERE no_p > 1 AND name = "albergaria-a-velha" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342315_10 (candidates VARCHAR, district VARCHAR)
### Question:
Who ran for office at the Georgia 4 district in this election?
### Answer:
SELECT candidates FROM table_1342315_10 WHERE district = "Georgia 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_12175755_1 (order__number VARCHAR, original_artist VARCHAR)
### Question:
What is the order number for songs by the original artist Luis Fonsi?
### Answer:
SELECT order__number FROM table_12175755_1 WHERE original_artist = "Luis Fonsi" |
Below is an context that describes a 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 (result VARCHAR, game_site VARCHAR, date VARCHAR)
### Question:
What was the Result of the Game at the Meadowlands on 1991-09-01?
### Answer:
SELECT result FROM table_name_29 WHERE game_site = "the meadowlands" AND date = "1991-09-01" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27765443_2 (no_of_processors VARCHAR, period_of_operation VARCHAR)
### Question:
Name the number of processors for october 2006 - january 2010
### Answer:
SELECT no_of_processors FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 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_17 (round VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR)
### Question:
What is the round of the match at venue A with a result of 1-2 on 7 December 2004?
### Answer:
SELECT round FROM table_name_17 WHERE venue = "a" AND result = "1-2" AND date = "7 december 2004" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29395291_2 (subscribers__2005___thousands_ INTEGER, provider VARCHAR)
### Question:
What is the fewest number of 2005 subscribers for Vodafone?
### Answer:
SELECT MIN(subscribers__2005___thousands_) FROM table_29395291_2 WHERE provider = "Vodafone" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2251578_4 (elevation__m_ VARCHAR, district VARCHAR)
### Question:
How many elevations are listed for Paratia?
### Answer:
SELECT COUNT(elevation__m_) FROM table_2251578_4 WHERE district = "Paratia" |
Below is an context that describes a 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_15 (attendance INTEGER, loss VARCHAR)
### Question:
How many were in attendance for the loss of rekar (4–5)?
### Answer:
SELECT SUM(attendance) FROM table_name_15 WHERE loss = "rekar (4–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_81 (runner_up VARCHAR, winner VARCHAR)
### Question:
Who is the runner-up for Ilhwa Chunma?
### Answer:
SELECT runner_up FROM table_name_81 WHERE winner = "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_51 (argon VARCHAR, neon VARCHAR)
### Question:
What argon has a neon of 10.5?
### Answer:
SELECT argon FROM table_name_51 WHERE neon = "10.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_78 (result VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
### Question:
What's the result when the kickoff was 4:00 and the record was 4-8?
### Answer:
SELECT result FROM table_name_78 WHERE kickoff_[a_] = "4:00" AND record = "4-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_29 (wins INTEGER, byes INTEGER)
### Question:
Which wins have less than 1 bye?
### Answer:
SELECT MAX(wins) FROM table_name_29 WHERE byes < 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_13 (Id VARCHAR)
### Question:
1960 larger than 196, and a 1996[2] smaller than 726, and a 1980 larger than 125, and a 1990 larger than 848, what is the highest 1950?
### Answer:
SELECT MAX(1950) FROM table_name_13 WHERE 1960 > 196 AND 1996[2] < 726 AND 1980 > 125 AND 1990 > 848 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR, location_id VARCHAR); CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR); CREATE TABLE locations (city VARCHAR, state_province VARCHAR, location_id VARCHAR)
### Question:
display the first and last name, department, city, and state province for each employee.
### Answer:
SELECT T1.first_name, T1.last_name, T2.department_name, T3.city, T3.state_province FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_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_25851971_1 (production_code VARCHAR, written_by VARCHAR)
### Question:
What was the production code of the episode written by Anthony Sparks?
### Answer:
SELECT production_code FROM table_25851971_1 WHERE written_by = "Anthony Sparks" |
Below is an context that describes a 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_14 (coombe_road VARCHAR, woodside VARCHAR)
### Question:
What is the Coombe Road with a Woodside time of 07:23?
### Answer:
SELECT coombe_road FROM table_name_14 WHERE woodside = "07:23" |
Below is an context that describes a 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 (previous_experience VARCHAR, hometown VARCHAR)
### Question:
What is the previous experience of the player from East Jordan, Michigan?
### Answer:
SELECT previous_experience FROM table_14342367_13 WHERE hometown = "East Jordan, Michigan" |
Below is an context that describes a 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 (attendance VARCHAR, score VARCHAR, loss VARCHAR)
### Question:
How many people were in attendance when the Washington Nationals had a score of 7-3 and a loss of Worrell (0-1)?
### Answer:
SELECT COUNT(attendance) FROM table_name_54 WHERE score = "7-3" AND loss = "worrell (0-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 city (White VARCHAR, County_ID VARCHAR); CREATE TABLE county_public_safety (Crime_rate VARCHAR, County_ID VARCHAR)
### Question:
Show white percentages of cities and the crime rates of counties they are in.
### Answer:
SELECT T1.White, T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID = T2.County_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_54 (league_cup_apps VARCHAR, total_goals VARCHAR, total_apps VARCHAR)
### Question:
what is the league cup apps when the total goals is less than 2 and the total apps is 12?
### Answer:
SELECT league_cup_apps FROM table_name_54 WHERE total_goals < 2 AND total_apps = "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_48 (example_code__huc_ VARCHAR, level VARCHAR)
### Question:
How many HUC example codes have 1 level?
### Answer:
SELECT COUNT(example_code__huc_) FROM table_name_48 WHERE level = 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_22822559_4 (high_rebounds VARCHAR, date VARCHAR)
### Question:
What was the total number of rebounds on november 27?
### Answer:
SELECT COUNT(high_rebounds) FROM table_22822559_4 WHERE date = "November 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 table_name_56 (iata VARCHAR, country VARCHAR, city VARCHAR)
### Question:
What is the IATA for Benghazi, Libya?
### Answer:
SELECT iata FROM table_name_56 WHERE country = "libya" AND city = "benghazi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30120664_1 (civil_parish VARCHAR, townland VARCHAR)
### Question:
name the civil parish for garryduff
### Answer:
SELECT civil_parish FROM table_30120664_1 WHERE townland = "Garryduff" |
Below is an context that describes a 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 (fate VARCHAR, date VARCHAR)
### Question:
What was the fate on 27 june 1942?
### Answer:
SELECT fate FROM table_name_44 WHERE date = "27 june 1942" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30012404_4 (series__number INTEGER, us_air_date VARCHAR)
### Question:
What is the series # when the US air date is 20 July 2012?
### Answer:
SELECT MIN(series__number) FROM table_30012404_4 WHERE us_air_date = "20 July 2012" |
Below is an context that describes a 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 (visitor VARCHAR, record VARCHAR)
### Question:
Whose Visitor has a Record of 3–18?
### Answer:
SELECT visitor FROM table_name_20 WHERE record = "3–18" |
Below is an context that describes a 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_30 (home_team VARCHAR, score VARCHAR)
### Question:
What home team has a score of 5 - 5?
### Answer:
SELECT home_team FROM table_name_30 WHERE score = "5 - 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_61 (game INTEGER, date VARCHAR)
### Question:
What is the number of the game that was played on October 4?
### Answer:
SELECT SUM(game) FROM table_name_61 WHERE date = "october 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_23 (score VARCHAR, surface VARCHAR, date VARCHAR)
### Question:
What was the score of the game played on a clay surface on June 6, 2005?
### Answer:
SELECT score FROM table_name_23 WHERE surface = "clay" AND date = "june 6, 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_26804862_1 (season__number VARCHAR, production_code VARCHAR)
### Question:
When 3.89 is the production code how many season numbers are there?
### Answer:
SELECT COUNT(season__number) FROM table_26804862_1 WHERE production_code = "3.89" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11206916_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
### Question:
What manner of departure is listed with an appointment date of 13 march 2008
### Answer:
SELECT manner_of_departure FROM table_11206916_2 WHERE date_of_appointment = "13 March 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_39 (date VARCHAR, week VARCHAR, attendance VARCHAR)
### Question:
What is the Date when the week is more than 3 and the attendance shows bye?
### Answer:
SELECT date FROM table_name_39 WHERE week > 3 AND attendance = "bye" |
Below is an context that describes a 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 (result VARCHAR, year VARCHAR, award VARCHAR)
### Question:
What result took pace in 2009 and had an award of sopot international song festival?
### Answer:
SELECT result FROM table_name_17 WHERE year = 2009 AND award = "sopot international song festival" |
Below is an context that describes a 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 (name VARCHAR, former_local_authority VARCHAR)
### Question:
What is the name of the parish that has a former local authority of St Neots urban district?
### Answer:
SELECT name FROM table_name_71 WHERE former_local_authority = "st neots urban district" |
Below is an context that describes a 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 (new_channel_s_ VARCHAR, programme VARCHAR)
### Question:
What channel is Gladiators on?
### Answer:
SELECT new_channel_s_ FROM table_name_19 WHERE programme = "gladiators" |
Below is an context that describes a 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 (league_cup INTEGER, total VARCHAR, fa_cup VARCHAR)
### Question:
Name the most league cups for total more than 19 and FA cups more than 6
### Answer:
SELECT MAX(league_cup) FROM table_name_38 WHERE total > 19 AND fa_cup > 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_name_40 (record VARCHAR, opponent VARCHAR)
### Question:
What is the Record when Evangelista Cyborg was the opponent?
### Answer:
SELECT record FROM table_name_40 WHERE opponent = "evangelista cyborg" |
Below is an context that describes a 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 (points_against VARCHAR, played VARCHAR, club VARCHAR)
### Question:
How many points against did Carmarthen Athletic RFC have when they played 22 games ?
### Answer:
SELECT points_against FROM table_name_32 WHERE played = "22" AND club = "carmarthen athletic rfc" |
Below is an context that describes a 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 (office VARCHAR, conservative_ticket VARCHAR)
### Question:
Which office has kieran o'doherty as the conservative ticket?
### Answer:
SELECT office FROM table_name_28 WHERE conservative_ticket = "kieran o'doherty" |
Below is an context that describes a 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 (year VARCHAR, category VARCHAR)
### Question:
What year was best costume design the award category?
### Answer:
SELECT year FROM table_name_97 WHERE category = "best costume design" |
Below is an context that describes a 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 (directed_by VARCHAR, written_by VARCHAR, original_airdate VARCHAR)
### Question:
Who directed the episode written by Dan Serafin and aired on July 23, 2008?
### Answer:
SELECT directed_by FROM table_name_52 WHERE written_by = "dan serafin" AND original_airdate = "july 23, 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 Apartment_Bookings (booking_status_code VARCHAR)
### Question:
Show the booking status code and the corresponding number of bookings.
### Answer:
SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code |
Below is an context that describes a 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 (first_performance VARCHAR, status VARCHAR, name VARCHAR)
### Question:
What is the date of the First Performance of Rhys Kosakowski as Billy Elliot in the Original Cast?
### Answer:
SELECT first_performance FROM table_name_38 WHERE status = "original cast" AND name = "rhys kosakowski" |
Below is an context that describes a 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 (record VARCHAR, time VARCHAR, opponent VARCHAR)
### Question:
What was the record when matt grice fought dennis bermudez with a time of 5:00?
### Answer:
SELECT record FROM table_name_36 WHERE time = "5:00" AND opponent = "dennis bermudez" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15780049_8 (high_rebounds VARCHAR, date VARCHAR)
### Question:
Name the high rebounds for march 17
### Answer:
SELECT high_rebounds FROM table_15780049_8 WHERE date = "March 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_1855841_1 (office_running_for VARCHAR, candidate VARCHAR)
### Question:
Name the officing running for for carol marsh
### Answer:
SELECT office_running_for FROM table_1855841_1 WHERE candidate = "Carol Marsh" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE orders (customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
### Question:
Find the name of the customers who have at most two orders.
### Answer:
SELECT T2.customer_name FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING COUNT(*) <= 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_12303563_2 (runners_up VARCHAR, nation VARCHAR)
### Question:
how many runners-up with nation being india
### Answer:
SELECT COUNT(runners_up) FROM table_12303563_2 WHERE nation = "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_2509350_3 (tomina_municipality VARCHAR, villa_alcalá_municipality VARCHAR)
### Question:
Name the number of tomina for villa alcala for 176
### Answer:
SELECT COUNT(tomina_municipality) FROM table_2509350_3 WHERE villa_alcalá_municipality = 176 |
Below is an context that describes a 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 (actor VARCHAR, result VARCHAR, category VARCHAR)
### Question:
What actor was nominated for best actress?
### Answer:
SELECT actor FROM table_name_45 WHERE result = "nominated" AND category = "best actress" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE race (CLASS VARCHAR)
### Question:
List the race class with at least two races.
### Answer:
SELECT CLASS FROM race GROUP BY CLASS HAVING COUNT(*) >= 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_24353141_1 (original_broadway_cast VARCHAR, original_1st_us_tour_cast VARCHAR)
### Question:
Who was in the original broadway cast while jake epstein was in the original 1st us tour cast?
### Answer:
SELECT original_broadway_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Jake Epstein" |
Below is an context that describes a 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 (record VARCHAR, location VARCHAR)
### Question:
Location of hemisfair arena had what record?
### Answer:
SELECT record FROM table_name_43 WHERE location = "hemisfair arena" |
Below is an context that describes a 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 (home VARCHAR, date VARCHAR)
### Question:
Which Home is on april 22?
### Answer:
SELECT home FROM table_name_45 WHERE date = "april 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_16734640_1 (location VARCHAR, institution VARCHAR)
### Question:
Name the location for chattahoochee technical college
### Answer:
SELECT location FROM table_16734640_1 WHERE institution = "Chattahoochee Technical College" |
Below is an context that describes a 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 (score INTEGER, player VARCHAR)
### Question:
What is the top score for tsuneyuki nakajima?
### Answer:
SELECT MAX(score) FROM table_name_80 WHERE player = "tsuneyuki nakajima" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2140071_12 (episode VARCHAR, coach VARCHAR)
### Question:
Name the episode for travis brown
### Answer:
SELECT episode FROM table_2140071_12 WHERE coach = "Travis Brown" |
Below is an context that describes a 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 (losses VARCHAR, games VARCHAR, team_name VARCHAR, season VARCHAR)
### Question:
What's the total losses for the vancouver burrards in the 1947 season with fewer than 24 games?
### Answer:
SELECT COUNT(losses) FROM table_name_8 WHERE team_name = "vancouver burrards" AND season = "1947" AND games < 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_3 (attendance INTEGER, date VARCHAR)
### Question:
What is the total attendance for the date of october 5?
### Answer:
SELECT SUM(attendance) FROM table_name_3 WHERE date = "october 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_86 (firefox VARCHAR, chrome VARCHAR)
### Question:
What was the firefox % was chrome was 25.08%?
### Answer:
SELECT firefox FROM table_name_86 WHERE chrome = "25.08%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11715748_2 (director_s_ VARCHAR, season__number VARCHAR)
### Question:
Who was the dirctor for season 13?
### Answer:
SELECT director_s_ FROM table_11715748_2 WHERE season__number = 13 |
Below is an context that describes a 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 (representative VARCHAR, title VARCHAR, termination_of_mission VARCHAR)
### Question:
Which representative was the Ambassador Extraordinary and Plenipotentiary and had a Termination of Mission date September 20, 1996?
### Answer:
SELECT representative FROM table_name_83 WHERE title = "ambassador extraordinary and plenipotentiary" AND termination_of_mission = "september 20, 1996" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15873014_5 (high_assists VARCHAR, date VARCHAR)
### Question:
Who has the most assists on January 3?
### Answer:
SELECT high_assists FROM table_15873014_5 WHERE date = "January 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_67 (points INTEGER, played INTEGER)
### Question:
Can you tell me the highest Points that has the Played smaller than 30?
### Answer:
SELECT MAX(points) FROM table_name_67 WHERE played < 30 |
Below is an context that describes a 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 (qaxmuğal VARCHAR, malax VARCHAR)
### Question:
What is the Qaxmuğal village with a Malax village meşəbaş?
### Answer:
SELECT qaxmuğal FROM table_name_90 WHERE malax = "meşəbaş" |
Below is an context that describes a 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 (split__50m_ INTEGER, name VARCHAR, lane VARCHAR)
### Question:
What is the total sum of 50m splits for josefin lillhage in lanes above 8?
### Answer:
SELECT SUM(split__50m_) FROM table_name_24 WHERE name = "josefin lillhage" AND lane > 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_64 (notes VARCHAR, year VARCHAR, position VARCHAR)
### Question:
What Notes after 1983 have a Position of 18th?
### Answer:
SELECT notes FROM table_name_64 WHERE year > 1983 AND position = "18th" |
Below is an context that describes a 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 (rank INTEGER, title VARCHAR)
### Question:
What is the sum of the ranks for the film, eddie murphy raw?
### Answer:
SELECT SUM(rank) FROM table_name_19 WHERE title = "eddie murphy raw" |
Below is an context that describes a 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 (name VARCHAR, constituency_number VARCHAR)
### Question:
what is the name when the constituency number is 150?
### Answer:
SELECT name FROM table_name_70 WHERE constituency_number = "150" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28846752_13 (player VARCHAR, average VARCHAR)
### Question:
Who is the player with an average of 35.42?
### Answer:
SELECT player FROM table_28846752_13 WHERE average = "35.42" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342315_10 (first_elected VARCHAR, district VARCHAR)
### Question:
How many winners were there in the Georgia 1 district?
### Answer:
SELECT COUNT(first_elected) FROM table_1342315_10 WHERE district = "Georgia 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_22673872_1 (location VARCHAR, pole_position VARCHAR)
### Question:
Which locations did Gordon Johncock hold the pole position?
### Answer:
SELECT location FROM table_22673872_1 WHERE pole_position = "Gordon Johncock" |
Below is an context that describes a 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 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
### Question:
Who built the 21 grid car that retired due to suspension?
### Answer:
SELECT constructor FROM table_name_80 WHERE grid > 21 AND time_retired = "suspension" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1137702_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)
### Question:
Which round was the winning constructor was Benetton - Ford and in the Pole Position was Damon Hill?
### Answer:
SELECT round FROM table_1137702_3 WHERE winning_constructor = "Benetton - Ford" AND pole_position = "Damon Hill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_202365_2 (гә_гә_ VARCHAR, ɡʷ VARCHAR, ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR)
### Question:
what is гә гә [ɡʷ] when ҕь ҕь [ʁʲ/ɣʲ] is ҭә ҭә [tʷʰ]?
### Answer:
SELECT гә_гә_[ɡʷ] FROM table_202365_2 WHERE ҕь_ҕь_[ʁʲ_ɣʲ] = "Ҭә ҭә [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_1341738_34 (first_elected VARCHAR, district VARCHAR)
### Question:
Who was the first person elected in North Carolina 8?
### Answer:
SELECT first_elected FROM table_1341738_34 WHERE district = "North Carolina 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_87 (hindu VARCHAR, jewish VARCHAR)
### Question:
Tell me the Hindu with Jewish of source: uk 2001 census
### Answer:
SELECT hindu FROM table_name_87 WHERE jewish = "source: uk 2001 census" |
Below is an context that describes a 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_30 (height VARCHAR, name VARCHAR)
### Question:
How tall is Zipp Duncan?
### Answer:
SELECT height FROM table_name_30 WHERE name = "zipp duncan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13762472_5 (high_rebounds VARCHAR, location_attendance VARCHAR)
### Question:
Who had the high rebounds at the delta center?
### Answer:
SELECT high_rebounds FROM table_13762472_5 WHERE location_attendance = "Delta 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_4 (time VARCHAR, away_team VARCHAR)
### Question:
What was the time for the match with away team Shatin?
### Answer:
SELECT time FROM table_name_4 WHERE away_team = "shatin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15869204_7 (score VARCHAR, game VARCHAR)
### Question:
What was the score in game 51?
### Answer:
SELECT score FROM table_15869204_7 WHERE game = 51 |
Below is an context that describes a 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 (position VARCHAR, event VARCHAR, year VARCHAR)
### Question:
What is the position for Discus in 2013?
### Answer:
SELECT position FROM table_name_98 WHERE event = "discus" AND year = 2013 |
Below is an context that describes a 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 (party VARCHAR, member VARCHAR)
### Question:
What is Hon Paul Keating's Party?
### Answer:
SELECT party FROM table_name_70 WHERE member = "hon paul keating" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25363904_2 (season__number INTEGER, title_english VARCHAR)
### Question:
Name the least season number for two marriage proposals
### Answer:
SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = "Two marriage proposals" |
Below is an context that describes a 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 (loss VARCHAR, date VARCHAR)
### Question:
What Loss is recorded for the Date June 2?
### Answer:
SELECT loss FROM table_name_56 WHERE date = "june 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_37 (termination_of_mission VARCHAR, appointed_by VARCHAR, title VARCHAR)
### Question:
What is the termination of mission date of the representative appointed by Franklin Pierce with a title of chargé d'affaires?
### Answer:
SELECT termination_of_mission FROM table_name_37 WHERE appointed_by = "franklin pierce" AND title = "chargé d'affaires" |
Below is an context that describes a 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 (college VARCHAR, position VARCHAR, round VARCHAR, pick__number VARCHAR)
### Question:
Name the College which has a Round smaller than 3, and a Pick # larger than 4, and a Position of wide receiver?
### Answer:
SELECT college FROM table_name_59 WHERE round < 3 AND pick__number > 4 AND position = "wide receiver" |
Below is an context that describes a 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 (period VARCHAR, team VARCHAR, time VARCHAR)
### Question:
What is the period for the DET Team with a time of 11:27?
### Answer:
SELECT period FROM table_name_52 WHERE team = "det" AND time = "11: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 stock (Quantity INTEGER)
### Question:
What is the average quantity of stocks?
### Answer:
SELECT AVG(Quantity) FROM stock |
Below is an context that describes a 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 (manufacturer VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
WHAT IS THE MANUFACTURER WITH 24 LAPS AND GRID 27?
### Answer:
SELECT manufacturer FROM table_name_39 WHERE laps = "24" AND grid = "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 table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
### Question:
What week did the Jets play in the meadowlands with and attendance of 78,161?
### Answer:
SELECT SUM(week) FROM table_name_13 WHERE game_site = "the meadowlands" AND attendance = "78,161" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29574579_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)
### Question:
Who is the director when there are 2.70 million viewers?
### Answer:
SELECT directed_by FROM table_29574579_1 WHERE uk_viewers__million_ = "2.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_96 (Id VARCHAR)
### Question:
what is 1976 when 1977 is 3.5?
### Answer:
SELECT 1976 FROM table_name_96 WHERE 1977 = "3.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_27537518_9 (decision VARCHAR, record VARCHAR)
### Question:
Who made the decision on the game where the record was 27-28-11?
### Answer:
SELECT decision FROM table_27537518_9 WHERE record = "27-28-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_79 (loss VARCHAR, date VARCHAR)
### Question:
What was the loss for June 2?
### Answer:
SELECT loss FROM table_name_79 WHERE date = "june 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 (monarch VARCHAR, heir VARCHAR, reason VARCHAR)
### Question:
Who is the Monarch whose Heir is Robert Curthose when the Reason is that the father became king?
### Answer:
SELECT monarch FROM table_name_67 WHERE heir = "robert curthose" AND reason = "father became king" |
Below is an context that describes a 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 (year INTEGER, artist VARCHAR, issue_price VARCHAR)
### Question:
What is the Year of Christie Paquet with Issue Price of $34.95?
### Answer:
SELECT AVG(year) FROM table_name_78 WHERE artist = "christie paquet" AND issue_price = "$34.95" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.