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_64 (against INTEGER, date VARCHAR)
### Question:
How many against on the date of 08/06/1985?
### Answer:
SELECT SUM(against) FROM table_name_64 WHERE date = "08/06/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_18 (title VARCHAR, format VARCHAR, label VARCHAR)
### Question:
What is the Title of the Pye Label mono LP release?
### Answer:
SELECT title FROM table_name_18 WHERE format = "mono lp" AND label = "pye" |
Below is an context that describes a sql 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 (year VARCHAR, start VARCHAR, qual VARCHAR)
### Question:
In what year did a Qual of 141.105 with a Start of 25 happen?
### Answer:
SELECT year FROM table_name_69 WHERE start = "25" AND qual = "141.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_1825751_4 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR)
### Question:
How many winners of binibining pilipinas-International when Maria Karla Bautista won binibining pilipinas-world?
### Answer:
SELECT COUNT(binibining_pilipinas_international) FROM table_1825751_4 WHERE binibining_pilipinas_world = "Maria Karla Bautista" |
Below is an context that describes a sql 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 (record VARCHAR, time VARCHAR)
### Question:
For the match that lasted 3:53 minutes, what was the final record?
### Answer:
SELECT record FROM table_name_99 WHERE time = "3:53" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Circulation_History (employee_name VARCHAR); CREATE TABLE Employees (employee_name VARCHAR)
### Question:
List the employees who have not showed up in any circulation history of documents. List the employee's name.
### Answer:
SELECT employee_name FROM Employees EXCEPT SELECT Employees.employee_name FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_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_184803_4 (commentator VARCHAR, broadcaster VARCHAR)
### Question:
how many people commentated where broadcaster is orf
### Answer:
SELECT COUNT(commentator) FROM table_184803_4 WHERE broadcaster = "ORF" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE COURSE (Credits INTEGER)
### Question:
How many courses have more than 2 credits?
### Answer:
SELECT COUNT(*) FROM COURSE WHERE Credits > 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_40 (goals_against VARCHAR, position VARCHAR)
### Question:
How many Goals Against have a Position of 4?
### Answer:
SELECT COUNT(goals_against) FROM table_name_40 WHERE position = 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_69 (team_1 VARCHAR, team_2 VARCHAR)
### Question:
What is the Team 1 with a Team 2 with brest hc meshkov?
### Answer:
SELECT team_1 FROM table_name_69 WHERE team_2 = "brest hc meshkov" |
Below is an context that describes a sql 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 (attendance INTEGER, score VARCHAR, loss VARCHAR)
### Question:
What was the lowest attendance at a game that had a score of 5-4 and a loss of Williams (2-4)?
### Answer:
SELECT MIN(attendance) FROM table_name_29 WHERE score = "5-4" AND loss = "williams (2-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_12919003_3 (director VARCHAR, viewers_millions_ VARCHAR)
### Question:
What's the total number of directors whose episodes have been seen by 9.14 million viewers?
### Answer:
SELECT COUNT(director) FROM table_12919003_3 WHERE viewers_millions_ = "9.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_1147705_1 (engine_type VARCHAR, max_torque_at_rpm VARCHAR)
### Question:
What is the engine type when the max torque at rpm is n·m ( lbf·ft ) @ 4,800 Answers:?
### Answer:
SELECT engine_type FROM table_1147705_1 WHERE max_torque_at_rpm = "N·m ( lbf·ft ) @ 4,800" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Flight (distance INTEGER, price INTEGER, origin VARCHAR)
### Question:
What is the average distance and average price for flights from Los Angeles.
### Answer:
SELECT AVG(distance), AVG(price) FROM Flight WHERE origin = "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_24856332_4 (steals INTEGER, minutes VARCHAR)
### Question:
What is the highest number of steals for a player with 324 minutes?
### Answer:
SELECT MAX(steals) FROM table_24856332_4 WHERE minutes = 324 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1574968_1 (creator VARCHAR, viewer VARCHAR)
### Question:
Who is the creator when the view happens to gddm, afp viewer?
### Answer:
SELECT creator FROM table_1574968_1 WHERE viewer = "GDDM, AFP viewer" |
Below is an context that describes a sql 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 (city VARCHAR, sep VARCHAR)
### Question:
Name the city with september of 83 °f / 28.3 °c
### Answer:
SELECT city FROM table_name_15 WHERE sep = "83 °f / 28.3 °c" |
Below is an context that describes a sql 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 (tournament VARCHAR, winning_score VARCHAR)
### Question:
What tournament had a winning score of −27 (64-64-61=189)?
### Answer:
SELECT tournament FROM table_name_3 WHERE winning_score = −27(64 - 64 - 61 = 189) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Accounts (statement_id VARCHAR); CREATE TABLE Statements (statement_details VARCHAR, statement_id VARCHAR)
### Question:
Show the statement id and the statement detail for the statement with most number of accounts.
### Answer:
SELECT T1.statement_id, T2.statement_details FROM Accounts AS T1 JOIN Statements AS T2 ON T1.statement_id = T2.statement_id GROUP BY T1.statement_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_71 (player VARCHAR, place VARCHAR)
### Question:
What player has 1 as the place?
### Answer:
SELECT player FROM table_name_71 WHERE place = "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_1341718_14 (candidates VARCHAR, district VARCHAR)
### Question:
how many times was it the district illinois 18?
### Answer:
SELECT COUNT(candidates) FROM table_1341718_14 WHERE district = "Illinois 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_1 (location VARCHAR, opponent VARCHAR)
### Question:
Where was the location where justin robbins fought against billy kidd?
### Answer:
SELECT location FROM table_name_1 WHERE opponent = "billy kidd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1131183_2 (number_of_jews__asarb_ VARCHAR, metro_area VARCHAR)
### Question:
What is the number of jews asarb where the metro area is philadelphia?
### Answer:
SELECT number_of_jews__asarb_ FROM table_1131183_2 WHERE metro_area = "Philadelphia" |
Below is an context that describes a sql 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 (grid INTEGER, driver VARCHAR, laps VARCHAR)
### Question:
When Giancarlo Fisichella was the Driver and there were less than 52 Laps, what was the highest Grid?
### Answer:
SELECT MAX(grid) FROM table_name_4 WHERE driver = "giancarlo fisichella" AND laps < 52 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE airports (name VARCHAR, elevation INTEGER)
### Question:
Find the name of airports whose altitude is between -50 and 50.
### Answer:
SELECT name FROM airports WHERE elevation BETWEEN -50 AND 50 |
Below is an context that describes a sql 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 (nation VARCHAR, team VARCHAR)
### Question:
What is the nation of the person who was from the CSC team?
### Answer:
SELECT nation FROM table_name_79 WHERE team = "csc" |
Below is an context that describes a sql 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 (athlete VARCHAR)
### Question:
What is the 2.15 for Tom Parsons?
### Answer:
SELECT 215 FROM table_name_9 WHERE athlete = "tom parsons" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26986076_2 (mon_23_aug VARCHAR, fri_27_aug VARCHAR)
### Question:
what is mon 23 aug when fri 27 aug is 18' 59.25 119.226mph?
### Answer:
SELECT mon_23_aug FROM table_26986076_2 WHERE fri_27_aug = "18' 59.25 119.226mph" |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
What is the date when Richmond was the home team?
### Answer:
SELECT date FROM table_name_66 WHERE home_team = "richmond" |
Below is an context that describes a 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_7 (season INTEGER)
### Question:
What is the newest season?
### Answer:
SELECT MAX(season) FROM table_2140071_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_45 (assists INTEGER, games INTEGER)
### Question:
How many Assists for the Player with more than 25 Games?
### Answer:
SELECT SUM(assists) FROM table_name_45 WHERE games > 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_65 (driver VARCHAR, points VARCHAR, grid VARCHAR)
### Question:
What driver has over 19 points and a grid of over 2?
### Answer:
SELECT driver FROM table_name_65 WHERE points > 19 AND grid > 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_18 (driver_s_ VARCHAR, crew_chief VARCHAR)
### Question:
Who is the driver that has a crew chief Gary Ritter?
### Answer:
SELECT driver_s_ FROM table_name_18 WHERE crew_chief = "gary ritter" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27114708_2 (replaced_by VARCHAR, outgoing_manager VARCHAR)
### Question:
For outgoing manager is alberto malesani mention all the applicable replaced by person
### Answer:
SELECT replaced_by FROM table_27114708_2 WHERE outgoing_manager = "Alberto Malesani" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17325580_10 (record VARCHAR, team VARCHAR)
### Question:
What was the record when the team played Boston?
### Answer:
SELECT record FROM table_17325580_10 WHERE team = "Boston" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
Who was the opponent on December 18, 2005?
### Answer:
SELECT opponent FROM table_name_80 WHERE date = "december 18, 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_38 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR)
### Question:
Name the engine when points are 0 and chassis is kuzma indy roadster for 1954
### Answer:
SELECT engine FROM table_name_38 WHERE points = 0 AND chassis = "kuzma indy roadster" AND 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_44 (home VARCHAR, visitor VARCHAR, date VARCHAR)
### Question:
What is the Home team of the event on Thursday, December 11 with Visitor Modo Hockey?
### Answer:
SELECT home FROM table_name_44 WHERE visitor = "modo hockey" AND date = "thursday, december 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_92 (round VARCHAR, year VARCHAR)
### Question:
What is Round when Year is 1987?
### Answer:
SELECT round FROM table_name_92 WHERE year = 1987 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Staff (staff_address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)
### Question:
Which city lives most of staffs? List the city name and number of staffs.
### Answer:
SELECT T1.city, COUNT(*) FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id GROUP BY T1.city 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_30054758_3 (record VARCHAR, date VARCHAR)
### Question:
What is the record for december 3?
### Answer:
SELECT record FROM table_30054758_3 WHERE date = "December 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_173103_1 (max_pressure VARCHAR, cartridge VARCHAR)
### Question:
How many pressure figures are given for the .380 acp cartridge?
### Answer:
SELECT COUNT(max_pressure) FROM table_173103_1 WHERE cartridge = ".380 ACP" |
Below is an context that describes a sql 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 (speed VARCHAR, rider VARCHAR)
### Question:
What is the Speed for Chris Swallow?
### Answer:
SELECT speed FROM table_name_13 WHERE rider = "chris swallow" |
Below is an context that describes a sql 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 (moving_to VARCHAR, name VARCHAR)
### Question:
Where is rory loy moving to?
### Answer:
SELECT moving_to FROM table_name_17 WHERE name = "rory loy" |
Below is an context that describes a sql 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 (scorer VARCHAR, club VARCHAR, league_goals VARCHAR)
### Question:
Which scorer plays for Aldershot and has scored a total of 19 League goals?
### Answer:
SELECT scorer FROM table_name_17 WHERE club = "aldershot" AND league_goals = "19" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18602462_22 (round_of_32 VARCHAR, round_of_16 VARCHAR)
### Question:
How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16?
### Answer:
SELECT COUNT(round_of_32) FROM table_18602462_22 WHERE round_of_16 = "Polidori ( ITA ) W 6-1, 3-6, 6-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_19 (season VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR)
### Question:
What season did School/Club Team, East have an Acquisition via of trade?
### Answer:
SELECT season FROM table_name_19 WHERE acquisition_via = "trade" AND school_club_team = "east" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
Which Date has a Record of 36–11–7?
### Answer:
SELECT date FROM table_name_15 WHERE record = "36–11–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_10815352_1 (average_attendance INTEGER, season VARCHAR)
### Question:
What's the average attendance of the leagues in the season of 2013?
### Answer:
SELECT MIN(average_attendance) FROM table_10815352_1 WHERE season = "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_66 (lost VARCHAR, matches VARCHAR)
### Question:
Name the lost for matches of 1 928
### Answer:
SELECT lost FROM table_name_66 WHERE matches = "1 928" |
Below is an context that describes a sql 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 (recopa_sudamericana_1996 VARCHAR, copa_libertadores_1996 VARCHAR)
### Question:
What is the recoupa sudamericana 1996 of the team with a copa libertadores 1996 result of the round of 16?
### Answer:
SELECT recopa_sudamericana_1996 FROM table_name_64 WHERE copa_libertadores_1996 = "round of 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_name_35 (author_s_ VARCHAR, time VARCHAR)
### Question:
Who wrote the song that runs for 2:22?
### Answer:
SELECT author_s_ FROM table_name_35 WHERE time = "2: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_26131768_4 (representative VARCHAR, residence VARCHAR)
### Question:
If the residence is Chagrin falls, who is the representative?
### Answer:
SELECT representative FROM table_26131768_4 WHERE residence = "Chagrin Falls" |
Below is an context that describes a sql 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 (opponent VARCHAR, loss VARCHAR)
### Question:
Which team opponent had a loss with their pitcher Dotson (8-6)?
### Answer:
SELECT opponent FROM table_name_93 WHERE loss = "dotson (8-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_35 (preliminary INTEGER, state VARCHAR, interview VARCHAR)
### Question:
What is the best preliminary for a contestant from New Mexico with interview less than 9.533?
### Answer:
SELECT MAX(preliminary) FROM table_name_35 WHERE state = "new mexico" AND interview < 9.533 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24538587_13 (l3_cache VARCHAR, brand_name__list_ VARCHAR)
### Question:
Name the l3 cache for core i7-2xxxqe, i7-26xxqm, i7-27xxqm
### Answer:
SELECT l3_cache FROM table_24538587_13 WHERE brand_name__list_ = "Core i7-2xxxQE, i7-26xxQM, i7-27xxQM" |
Below is an context that describes a sql 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 (first_title INTEGER, amateur_era VARCHAR, all_time VARCHAR, country VARCHAR)
### Question:
What is the lowest First Title, when All-Time is greater than 1, when Country is "United States (USA)", and when Amateur Era is greater than 17?
### Answer:
SELECT MIN(first_title) FROM table_name_13 WHERE all_time > 1 AND country = "united states (usa)" AND amateur_era > 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_23197088_4 (opponents_in_final VARCHAR, championship VARCHAR)
### Question:
what are every one of the rivals in conclusive where title is zürich
### Answer:
SELECT opponents_in_final FROM table_23197088_4 WHERE championship = "Zürich" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Student (city_code VARCHAR, Fname VARCHAR, Lname VARCHAR)
### Question:
Which city does student Linda Smith live in?
### Answer:
SELECT city_code FROM Student WHERE Fname = "Linda" AND Lname = "Smith" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23346303_5 (blocks VARCHAR, points VARCHAR)
### Question:
What is the blocks total number if the points is 4?
### Answer:
SELECT COUNT(blocks) FROM table_23346303_5 WHERE points = 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_87 (_number_100 INTEGER, season VARCHAR, against VARCHAR)
### Question:
Which # 100 has a Season of 1991, and an Against of surrey?
### Answer:
SELECT MAX(_number_100) FROM table_name_87 WHERE season = "1991" AND against = "surrey" |
Below is an context that describes a sql 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 (opponent VARCHAR, result VARCHAR, score VARCHAR)
### Question:
Who loss the 24-28 game?
### Answer:
SELECT opponent FROM table_name_20 WHERE result = "loss" AND score = "24-28" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (pick INTEGER, player VARCHAR)
### Question:
What's the total number of picks for the player Matt Murton?
### Answer:
SELECT SUM(pick) FROM table_name_25 WHERE player = "matt murton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (top_25 INTEGER, events VARCHAR, top_5 VARCHAR)
### Question:
what is the lowest top-25 when the events is less than 17 and top-5 is more than 0?
### Answer:
SELECT MIN(top_25) FROM table_name_47 WHERE events < 17 AND top_5 > 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_60 (pick INTEGER, former_wnba_team VARCHAR)
### Question:
What pick was a player that previously played for the Minnesota Lynx?
### Answer:
SELECT SUM(pick) FROM table_name_60 WHERE former_wnba_team = "minnesota lynx" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11214212_1 (numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_marriage VARCHAR)
### Question:
how many numer of jamaicans granted british citizenship with naturalisation by marriage being 1060
### Answer:
SELECT COUNT(numer_of_jamaicans_granted_british_citizenship) FROM table_11214212_1 WHERE naturalisation_by_marriage = 1060 |
Below is an context that describes a sql 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 (centerfold_model VARCHAR, cover_model VARCHAR)
### Question:
Which Centerfold model has a Cover model of irina voronina?
### Answer:
SELECT centerfold_model FROM table_name_81 WHERE cover_model = "irina voronina" |
Below is an context that describes a sql 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 (date_of_birth VARCHAR, pos VARCHAR, height VARCHAR)
### Question:
What is the Date of Birth of the CB Player with a Height of m (ft 4in)?
### Answer:
SELECT date_of_birth FROM table_name_61 WHERE pos = "cb" AND height = "m (ft 4in)" |
Below is an context that describes a sql 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 (content VARCHAR, television_service VARCHAR)
### Question:
What shows as Content for the Television service of nickelodeon +1?
### Answer:
SELECT content FROM table_name_75 WHERE television_service = "nickelodeon +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_41 (assembled VARCHAR)
### Question:
Who is the 1st member of the parliament assembled on 5 April 1614?
### Answer:
SELECT 1 AS st_member FROM table_name_41 WHERE assembled = "5 april 1614" |
Below is an context that describes a sql 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 (venue VARCHAR, home_team VARCHAR)
### Question:
Where does the home team fitzroy play?
### Answer:
SELECT venue FROM table_name_78 WHERE home_team = "fitzroy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (hanzi VARCHAR, regional_population_2010_ VARCHAR)
### Question:
Which Hanzi has a Regional Population of 4,591,972 in 2010?
### Answer:
SELECT hanzi FROM table_name_92 WHERE regional_population_2010_ = "4,591,972" |
Below is an context that describes a sql 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 (played INTEGER, position INTEGER)
### Question:
What is the total number of played for the entry with a position of less than 1?
### Answer:
SELECT SUM(played) FROM table_name_65 WHERE position < 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_30 (week VARCHAR, attendance VARCHAR)
### Question:
How many weeks had an Attendance of 43,272?
### Answer:
SELECT COUNT(week) FROM table_name_30 WHERE attendance = "43,272" |
Below is an context that describes a sql 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 (international INTEGER, domestic VARCHAR, year VARCHAR)
### Question:
What is the number for the international with 669 domestic earlier than 2005?
### Answer:
SELECT AVG(international) FROM table_name_78 WHERE domestic = 669 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_29 (score VARCHAR, date VARCHAR, game VARCHAR)
### Question:
What is Score, when Date is greater than 7, and when Game is "82"?
### Answer:
SELECT score FROM table_name_29 WHERE date > 7 AND game = 82 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1416612_1 (lowest_elevation VARCHAR, highest_point VARCHAR)
### Question:
what's the lowest elevation with highest point being charles mound
### Answer:
SELECT lowest_elevation FROM table_1416612_1 WHERE highest_point = "Charles Mound" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (winner VARCHAR, stage VARCHAR)
### Question:
Who was the winner of stage 12?
### Answer:
SELECT winner FROM table_name_76 WHERE stage = "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_25 (season VARCHAR, runs VARCHAR)
### Question:
What season were the runs 310/9?
### Answer:
SELECT season FROM table_name_25 WHERE runs = "310/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 products (color_code VARCHAR); CREATE TABLE Ref_colors (color_code VARCHAR)
### Question:
How many colors are never used by any product?
### Answer:
SELECT COUNT(*) FROM Ref_colors WHERE NOT color_code IN (SELECT color_code FROM products) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16387700_1 (crowd INTEGER, date VARCHAR)
### Question:
Name the most crowd for saturday 16 february
### Answer:
SELECT MAX(crowd) FROM table_16387700_1 WHERE date = "Saturday 16 February" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17323042_7 (score VARCHAR, team VARCHAR)
### Question:
How many scores are listed for the game against Houston
### Answer:
SELECT COUNT(score) FROM table_17323042_7 WHERE team = "Houston" |
Below is an context that describes a sql 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 (player VARCHAR, from_club VARCHAR)
### Question:
Which Player had a From club of atlético madrid?
### Answer:
SELECT player FROM table_name_36 WHERE from_club = "atlético madrid" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (name VARCHAR, date_of_birth VARCHAR)
### Question:
What is the name of the person born in 1909?
### Answer:
SELECT name FROM table_name_26 WHERE date_of_birth = "1909" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (weight VARCHAR, internal_storage VARCHAR, wireless_network VARCHAR)
### Question:
What is the weight of the display that has an internal storage of 16-64 GB and uses a wi-fi, 3G wireless network?
### Answer:
SELECT weight FROM table_name_33 WHERE internal_storage = "16-64 gb" AND wireless_network = "wi-fi, 3g" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1949994_7 (format VARCHAR, end_date VARCHAR)
### Question:
What's the format of the season that ended on June 25?
### Answer:
SELECT format FROM table_1949994_7 WHERE end_date = "June 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_20468206_1 (obama_number INTEGER, mccain_percentage VARCHAR)
### Question:
Name the most obama number for mccain being 38.86%
### Answer:
SELECT MAX(obama_number) FROM table_20468206_1 WHERE mccain_percentage = "38.86%" |
Below is an context that describes a sql 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 (round INTEGER, opponent VARCHAR)
### Question:
What is the highest Round, when the Opponent is Junior Pitbull?
### Answer:
SELECT MAX(round) FROM table_name_28 WHERE opponent = "junior pitbull" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11951237_1 (production_code INTEGER, original_air_date VARCHAR)
### Question:
What is the production code for the show that aired on October 27, 1994?
### Answer:
SELECT MAX(production_code) FROM table_11951237_1 WHERE original_air_date = "October 27, 1994" |
Below is an context that describes a sql 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 (appeared INTEGER, rr_w_rate VARCHAR, result VARCHAR)
### Question:
If the RR Rate is less than 0.75 with a result of RR:08,09, what is the average appeared?
### Answer:
SELECT AVG(appeared) FROM table_name_56 WHERE rr_w_rate < 0.75 AND result = "rr:08,09" |
Below is an context that describes a sql 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 (goals VARCHAR, rank VARCHAR)
### Question:
How many goals ranked 6?
### Answer:
SELECT COUNT(goals) FROM table_name_36 WHERE rank = 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_45 (network_brand_name VARCHAR, company_name VARCHAR, country VARCHAR)
### Question:
What is the network brand name of the company vodafone group in Germany?
### Answer:
SELECT network_brand_name FROM table_name_45 WHERE company_name = "vodafone group" AND country = "germany" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (rank VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR)
### Question:
How many ranks have a Bronze smaller than 8, and a Total smaller than 7, and a Gold smaller than 1?
### Answer:
SELECT COUNT(rank) FROM table_name_1 WHERE bronze < 8 AND total < 7 AND gold < 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_26199484_1 (written_by VARCHAR, no VARCHAR)
### Question:
Who wrote title number 38?
### Answer:
SELECT written_by FROM table_26199484_1 WHERE no = 38 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (goals VARCHAR, name VARCHAR, since VARCHAR, nat VARCHAR, transfer_fee VARCHAR)
### Question:
How many goals was by Rix from Eng who started before 2005 in the youth system?
### Answer:
SELECT COUNT(goals) FROM table_name_38 WHERE nat = "eng" AND transfer_fee = "youth system" AND since < 2005 AND name = "rix" |
Below is an context that describes a sql 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 (score VARCHAR, competition VARCHAR)
### Question:
WHAT IS THE SCORE WHEN THE COMPETITION WAS 1978 world cup qualification?
### Answer:
SELECT score FROM table_name_2 WHERE competition = "1978 world cup qualification" |
Below is an context that describes a sql 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 (winners INTEGER, rank VARCHAR, third VARCHAR)
### Question:
Which Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1?
### Answer:
SELECT MAX(winners) FROM table_name_44 WHERE rank > 7 AND third < 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_84 (actor VARCHAR, duration VARCHAR)
### Question:
What is the name of the actor with a duration of 61 years?
### Answer:
SELECT actor FROM table_name_84 WHERE duration = "61 years" |
Below is an context that describes a sql 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 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, position VARCHAR)
### Question:
What is the School/Junior/Club Group (Class) that has a Nationality of canada, and a Place of goalie?
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_69 WHERE nationality = "canada" AND position = "goalie" |
Below is an context that describes a sql 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 (finalist VARCHAR, week VARCHAR)
### Question:
Which finalist played in the week of October 21?
### Answer:
SELECT finalist FROM table_name_38 WHERE week = "october 21" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.