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_7 (runners_up VARCHAR, club VARCHAR)
### Question:
Who were the runners-up for the FC Viktoria Plzeň club?
### Answer:
SELECT runners_up FROM table_name_7 WHERE club = "fc viktoria plzeň" |
Below is an context that describes a sql 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 (date VARCHAR, goal VARCHAR)
### Question:
On what date did Goal 24 take place?
### Answer:
SELECT date FROM table_name_76 WHERE goal = 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_1571238_2 (third_place VARCHAR, team VARCHAR)
### Question:
When the team is Toronto how many times did they place third?
### Answer:
SELECT COUNT(third_place) FROM table_1571238_2 WHERE team = "Toronto" |
Below is an context that describes a sql 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 (music VARCHAR, points_jury VARCHAR)
### Question:
Which Music has a Points Jury of 18 (5,5,4,4)?
### Answer:
SELECT music FROM table_name_32 WHERE points_jury = "18 (5,5,4,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_65 (crowd INTEGER, venue VARCHAR)
### Question:
At Junction Oval, what is the sum of the crowd?
### Answer:
SELECT SUM(crowd) FROM table_name_65 WHERE venue = "junction oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140073_2 (fastest_lap VARCHAR, pole_position VARCHAR)
### Question:
Who had the fastest lap in the race where Patrick Tambay was on the pole?
### Answer:
SELECT fastest_lap FROM table_1140073_2 WHERE pole_position = "Patrick Tambay" |
Below is an context that describes a sql 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 (score VARCHAR, game VARCHAR, record VARCHAR)
### Question:
What score has a game greater than 29, with 24-6 as the record?
### Answer:
SELECT score FROM table_name_6 WHERE game > 29 AND record = "24-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_1341604_10 (candidates VARCHAR, incumbent VARCHAR)
### Question:
who is the the candidates with incumbent being don fuqua
### Answer:
SELECT candidates FROM table_1341604_10 WHERE incumbent = "Don Fuqua" |
Below is an context that describes a sql 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 (type VARCHAR, vessel VARCHAR)
### Question:
What is the type for a vessel of lublin class?
### Answer:
SELECT type FROM table_name_77 WHERE vessel = "lublin class" |
Below is an context that describes a sql 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 (lane INTEGER, mark VARCHAR, heat VARCHAR)
### Question:
What is the total Lane with a Mark of 47.02, and a Heat higher than 5?
### Answer:
SELECT SUM(lane) FROM table_name_64 WHERE mark = "47.02" AND heat > 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_38 (method VARCHAR, location VARCHAR, event VARCHAR)
### Question:
What is Method, when Location is "Tokyo , Japan", and when Event is "Rings: Millennium Combine 2"?
### Answer:
SELECT method FROM table_name_38 WHERE location = "tokyo , japan" AND event = "rings: millennium combine 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_33 (failures INTEGER, orbital_regime VARCHAR, launches VARCHAR)
### Question:
What is the total failures of heliocentric orbit orbital regimes and launches less than 1?
### Answer:
SELECT SUM(failures) FROM table_name_33 WHERE orbital_regime = "heliocentric orbit" AND launches < 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_61 (bats VARCHAR, surname VARCHAR)
### Question:
Which batter has the last name Graham?
### Answer:
SELECT bats FROM table_name_61 WHERE surname = "graham" |
Below is an context that describes a sql 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 (money___$__ VARCHAR, player VARCHAR)
### Question:
How much money does player horton smith have?
### Answer:
SELECT money___$__ FROM table_name_62 WHERE player = "horton 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 Teachers (address_id VARCHAR); CREATE TABLE Students (address_id VARCHAR); CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR)
### Question:
What are the line 1 of addresses shared by some students and some teachers?
### Answer:
SELECT T1.line_1 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.address_id INTERSECT SELECT T1.line_1 FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_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_26 (year VARCHAR, position VARCHAR, venue VARCHAR)
### Question:
what is the year that the position was 1st in paris?
### Answer:
SELECT year FROM table_name_26 WHERE position = "1st" AND venue = "paris" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1901751_1 (original_broadway_performer VARCHAR, character VARCHAR)
### Question:
Who is the original broadway performer for the character Colin Craven?
### Answer:
SELECT original_broadway_performer FROM table_1901751_1 WHERE character = "Colin Craven" |
Below is an context that describes a sql 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 (team VARCHAR, best VARCHAR)
### Question:
Which team has a 1:10.998 best?
### Answer:
SELECT team FROM table_name_87 WHERE best = "1:10.998" |
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR)
### Question:
What is the lowest attendance total on August 26?
### Answer:
SELECT MIN(attendance) FROM table_name_71 WHERE date = "august 26" |
Below is an context that describes a sql 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 (team VARCHAR, date VARCHAR)
### Question:
Who was the opposing team for the February 1 game?
### Answer:
SELECT team FROM table_name_70 WHERE date = "february 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_76 (season VARCHAR, opponent VARCHAR)
### Question:
What is Season, when Opponent is source: . last updated: 28 june 2007.?
### Answer:
SELECT season FROM table_name_76 WHERE opponent = "source: . last updated: 28 june 2007." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (series VARCHAR, site VARCHAR, sport VARCHAR)
### Question:
Which Series has a Site of ames and a Sport of w gymnastics?
### Answer:
SELECT series FROM table_name_13 WHERE site = "ames" AND sport = "w gymnastics" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
### Question:
Find the name, checking balance and saving balance of all accounts in the bank.
### Answer:
SELECT T2.balance, T3.balance, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid |
Below is an context that describes a sql 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 (bronze VARCHAR, total INTEGER)
### Question:
What is the total number of bronzes that is less than 1 in total?
### Answer:
SELECT COUNT(bronze) FROM table_name_24 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_27671835_3 (members_added VARCHAR, conference VARCHAR)
### Question:
How many members were added at the nchc (men only) conference?
### Answer:
SELECT members_added FROM table_27671835_3 WHERE conference = "NCHC (men only)" |
Below is an context that describes a sql 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 (verb_meaning VARCHAR, part_2 VARCHAR)
### Question:
What is the verb meaning when part 2 is band?
### Answer:
SELECT verb_meaning FROM table_name_36 WHERE part_2 = "band" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE death (note VARCHAR)
### Question:
What are the notes of the death events which has substring 'East'?
### Answer:
SELECT note FROM death WHERE note LIKE '%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_89 (capacity INTEGER, navigator VARCHAR)
### Question:
What is the average capacity for the vehicle having a navigator of Macneall?
### Answer:
SELECT AVG(capacity) FROM table_name_89 WHERE navigator = "macneall" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (byes INTEGER, against VARCHAR, wins VARCHAR)
### Question:
How many Byes have Against of 1076 and Wins smaller than 13?
### Answer:
SELECT AVG(byes) FROM table_name_16 WHERE against = 1076 AND wins < 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_16186152_1 (percentage VARCHAR, state_delegate VARCHAR)
### Question:
What's the percentage when the state delegate is 1662?
### Answer:
SELECT percentage FROM table_16186152_1 WHERE state_delegate = 1662 |
Below is an context that describes a sql 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 (gdp_2012_millions_of_euro VARCHAR, population_in_millions VARCHAR, gdp__nominal__per_capita_2012_euro VARCHAR)
### Question:
What is GDP 2012 Millions of Euro, when Population in Millions is less than 1.3, and when GDP (Nominal) Per Capita 2012 Euro is 20,700(p)?
### Answer:
SELECT gdp_2012_millions_of_euro FROM table_name_51 WHERE population_in_millions < 1.3 AND gdp__nominal__per_capita_2012_euro = "20,700(p)" |
Below is an context that describes a sql 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 (grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR)
### Question:
How many grids have a Manufacturer of honda, a Rider of yuki takahashi, and more than 22 laps?
### Answer:
SELECT COUNT(grid) FROM table_name_8 WHERE manufacturer = "honda" AND rider = "yuki takahashi" AND laps > 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_69 (goals VARCHAR, club_apps VARCHAR)
### Question:
How many goals did the player with 229 club apps have?
### Answer:
SELECT goals FROM table_name_69 WHERE club_apps = "229" |
Below is an context that describes a sql 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 (programming VARCHAR, video VARCHAR)
### Question:
Which Programming has a Video of audio only?
### Answer:
SELECT programming FROM table_name_62 WHERE video = "audio only" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (date VARCHAR, surface VARCHAR, tournament VARCHAR)
### Question:
When has a Surface of hard, a Tournament of wrexham , great britain?
### Answer:
SELECT date FROM table_name_46 WHERE surface = "hard" AND tournament = "wrexham , great britain" |
Below is an context that describes a sql 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 (grid VARCHAR, team VARCHAR)
### Question:
What grid did the team racing professionals race on?
### Answer:
SELECT grid FROM table_name_84 WHERE team = "racing professionals" |
Below is an context that describes a sql 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 (tenure VARCHAR, lineage VARCHAR)
### Question:
What's the tenure of 3rd son of tadatsune?
### Answer:
SELECT tenure FROM table_name_14 WHERE lineage = "3rd son of tadatsune" |
Below is an context that describes 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 (lname VARCHAR, stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pet_age VARCHAR, pettype VARCHAR)
### Question:
Find the last name of the student who has a cat that is age 3.
### Answer:
SELECT T1.lname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pet_age = 3 AND T3.pettype = 'cat' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13836704_9 (airport VARCHAR, rank VARCHAR)
### Question:
how many airport with rank being 4
### Answer:
SELECT COUNT(airport) FROM table_13836704_9 WHERE rank = 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_28 (draws VARCHAR, wins VARCHAR, goal_difference VARCHAR)
### Question:
How many draws when there are fewer than 6 wins and the goal difference is less than -15?
### Answer:
SELECT COUNT(draws) FROM table_name_28 WHERE wins < 6 AND goal_difference < -15 |
Below is an context that describes a sql 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 (total_fertility_rate VARCHAR, deaths INTEGER)
### Question:
What was the total fertility rate that had a death rate larger than 7.8?
### Answer:
SELECT total_fertility_rate FROM table_name_60 WHERE deaths > 7.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_92 (round VARCHAR, club_team VARCHAR)
### Question:
Which Round has a Club team of brandon wheat kings (whl)?
### Answer:
SELECT round FROM table_name_92 WHERE club_team = "brandon wheat kings (whl)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (class VARCHAR, year_s__withdrawn VARCHAR, manufacturer VARCHAR, year_made VARCHAR)
### Question:
What is the class of the locomotive with an Eastleigh Works manufacturer, made in 1914, and withdrawn in 1959?
### Answer:
SELECT class FROM table_name_72 WHERE manufacturer = "eastleigh works" AND year_made = "1914" AND year_s__withdrawn = "1959" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17634290_7 (p VARCHAR, type VARCHAR)
### Question:
What is listed in p when the type is listed as free agent 1?
### Answer:
SELECT p FROM table_17634290_7 WHERE type = "Free agent 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_70 (runner_up VARCHAR, prize VARCHAR)
### Question:
What is 3rd Place, when Runner-Up is "Simon Ehne", and when Prize is $100,000?
### Answer:
SELECT 3 AS rd_place FROM table_name_70 WHERE runner_up = "simon ehne" AND prize = "$100,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_55 (fiscal_year INTEGER, headquarters VARCHAR, employees VARCHAR)
### Question:
What is the average Fiscal Year of the firm Headquartered in noida, with less than 85,335 employees?
### Answer:
SELECT AVG(fiscal_year) FROM table_name_55 WHERE headquarters = "noida" AND employees < 85 OFFSET 335 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25352324_5 (points VARCHAR, player VARCHAR)
### Question:
How many values for points have Sophia Witherspoon as the player?
### Answer:
SELECT COUNT(points) FROM table_25352324_5 WHERE player = "Sophia Witherspoon" |
Below is an context that describes a 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 (winners INTEGER)
### Question:
how many maximum winners
### Answer:
SELECT MAX(winners) FROM table_12303563_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_51 (away_team VARCHAR, home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR)
### Question:
Which Away team has a Tie # of replay, and an Attendance of 24 november 1998, and a Home team of rotherham united?
### Answer:
SELECT away_team FROM table_name_51 WHERE tie_no = "replay" AND attendance = "24 november 1998" AND home_team = "rotherham 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_216776_2 (municipal_mayor VARCHAR, area__km²_ VARCHAR)
### Question:
How many different municipal mayors were there in the municipality with an area of 42.66 km2?
### Answer:
SELECT COUNT(municipal_mayor) FROM table_216776_2 WHERE area__km²_ = "42.66" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
### Question:
What was the record on the date of december 1, 1968?
### Answer:
SELECT record FROM table_name_55 WHERE date = "december 1, 1968" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11622840_1 (location VARCHAR, score VARCHAR)
### Question:
What is the state that hosted a tournament with the score of 208 (-8)?
### Answer:
SELECT location FROM table_11622840_1 WHERE score = "208 (-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_88 (part_1 VARCHAR, part_4 VARCHAR)
### Question:
When is Part 1, when Part 4 is on February 10, 2008?
### Answer:
SELECT part_1 FROM table_name_88 WHERE part_4 = "february 10, 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_12962773_12 (player VARCHAR, height VARCHAR)
### Question:
WHat is the number for the player whose height is 2.01?
### Answer:
SELECT COUNT(player) FROM table_12962773_12 WHERE height = "2.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_17323092_6 (high_points VARCHAR, date VARCHAR)
### Question:
What is the total number of high points on January 21?
### Answer:
SELECT COUNT(high_points) FROM table_17323092_6 WHERE date = "January 21" |
Below is an context that describes a sql 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 (year INTEGER, issue_price VARCHAR)
### Question:
What was the year that had an issue price of $1,295.95?
### Answer:
SELECT AVG(year) FROM table_name_31 WHERE issue_price = "$1,295.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_17360840_6 (score VARCHAR, date VARCHAR)
### Question:
What was the score of the game on December 11?
### Answer:
SELECT score FROM table_17360840_6 WHERE date = "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_38 (giro_di_lombardia VARCHAR, paris_roubaix VARCHAR)
### Question:
Which Giro di Lombardia has a Paris–Roubaix of servais knaven ( ned )?
### Answer:
SELECT giro_di_lombardia FROM table_name_38 WHERE paris_roubaix = "servais knaven ( ned )" |
Below is an context that describes a sql 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 (international_freight VARCHAR, change VARCHAR, international_mail VARCHAR)
### Question:
How much international freight has a change of +0,2% with more than 0 international mail?
### Answer:
SELECT COUNT(international_freight) FROM table_name_75 WHERE change = "+0,2%" AND international_mail > 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 Addresses (country VARCHAR, address_id VARCHAR); CREATE TABLE Customers (customer_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
### Question:
Which country does customer with first name as Carole and last name as Bernhard lived in?
### Answer:
SELECT T2.country FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = "Carole" AND T1.last_name = "Bernhard" |
Below is an context that describes a sql 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 (george_h_w_bush VARCHAR, result VARCHAR)
### Question:
What percent of respondents had no opinion on George H.W. Bush?
### Answer:
SELECT george_h_w_bush FROM table_name_84 WHERE result = "no opinion" |
Below is an context that describes a sql 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 (city_of_license VARCHAR, frequency_mhz INTEGER)
### Question:
What is City of License, when Frequency MHz is less than 102.5?
### Answer:
SELECT city_of_license FROM table_name_8 WHERE frequency_mhz < 102.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_28 (source VARCHAR, date VARCHAR)
### Question:
Which source has a date of June 2008?
### Answer:
SELECT source FROM table_name_28 WHERE date = "june 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_58 (pick INTEGER, name VARCHAR)
### Question:
What is the highest pick of ron whaley?
### Answer:
SELECT MAX(pick) FROM table_name_58 WHERE name = "ron whaley" |
Below is an context that describes a sql 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 (program VARCHAR, duration__years_ VARCHAR)
### Question:
Which program has 3.5 years?
### Answer:
SELECT program FROM table_name_35 WHERE duration__years_ = 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_name_24 (rider VARCHAR, laps VARCHAR, time VARCHAR)
### Question:
Which rider went 18 laps ending +25.165 behind the leader?
### Answer:
SELECT rider FROM table_name_24 WHERE laps = 18 AND time = "+25.165" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What was the result of the 2011 US Open when the 2007 was F?
### Answer:
SELECT 2011 FROM table_name_59 WHERE 2007 = "f" AND tournament = "us open" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2850912_7 (position VARCHAR, nhl_team VARCHAR)
### Question:
What is the postion when the nhl team is los angeles kings?
### Answer:
SELECT position FROM table_2850912_7 WHERE nhl_team = "Los Angeles Kings" |
Below is an context that describes a sql 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 (wins INTEGER, byes INTEGER)
### Question:
What is the lowest wins with less than 2 Byes?
### Answer:
SELECT MIN(wins) FROM table_name_15 WHERE byes < 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)
### Question:
What country is Larry Mize from?
### Answer:
SELECT country FROM table_name_21 WHERE player = "larry mize" |
Below is an context that describes a sql 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 (hdtv VARCHAR, television_service VARCHAR)
### Question:
What is HDTV, when Television service is cartello promozionale sky hd?
### Answer:
SELECT hdtv FROM table_name_95 WHERE television_service = "cartello promozionale sky hd" |
Below is an context that describes a sql 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 (club_career VARCHAR, league_goals VARCHAR, league_apps VARCHAR, position VARCHAR, total_goals VARCHAR)
### Question:
What was the club career for players in positions of DF, fewer than 18 total goals, fewer than 129 league appearances, and more than 7 league goals?
### Answer:
SELECT club_career FROM table_name_65 WHERE position = "df" AND total_goals < 18 AND league_apps < 129 AND league_goals > 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_65 (type VARCHAR, turbines VARCHAR, location VARCHAR)
### Question:
What is the type of turbine having fewer than 17 units and located in County Laois?
### Answer:
SELECT type FROM table_name_65 WHERE turbines < 17 AND location = "county laois" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
What is the home team score that played at windy hill?
### Answer:
SELECT home_team AS score FROM table_name_81 WHERE venue = "windy 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_name_34 (date VARCHAR, game VARCHAR)
### Question:
What is the date of game 66?
### Answer:
SELECT date FROM table_name_34 WHERE game = 66 |
Below is an context that describes a sql 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 (race_4 VARCHAR, driver VARCHAR)
### Question:
What's the value for race 4 for driver kevin heffernan?
### Answer:
SELECT race_4 FROM table_name_61 WHERE driver = "kevin heffernan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (home_team VARCHAR)
### Question:
What is the home teamscore for Richmond?
### Answer:
SELECT home_team AS score FROM table_name_11 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_1802760_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)
### Question:
Where was the successor formally installed on December 3, 1858?
### Answer:
SELECT state__class_ FROM table_1802760_3 WHERE date_of_successors_formal_installation = "December 3, 1858" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668243_19 (party VARCHAR, incumbent VARCHAR)
### Question:
What is the party of Joseph Vance?
### Answer:
SELECT party FROM table_2668243_19 WHERE incumbent = "Joseph Vance" |
Below is an context that describes a sql 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 (name VARCHAR, year VARCHAR, home_town VARCHAR)
### Question:
What is the Name of the Junior from Fayetteville, NC?
### Answer:
SELECT name FROM table_name_69 WHERE year = "junior" AND home_town = "fayetteville, nc" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (club VARCHAR, try_bonus VARCHAR)
### Question:
What club has a Try Bonus of 8?
### Answer:
SELECT club FROM table_name_16 WHERE try_bonus = "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_2192067_4 (district VARCHAR, vacator VARCHAR)
### Question:
what is the district where the vacator is vacant?
### Answer:
SELECT district FROM table_2192067_4 WHERE vacator = "Vacant" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (time VARCHAR, opponent VARCHAR)
### Question:
What was the time when Shinya Aoki was the opponent?
### Answer:
SELECT time FROM table_name_57 WHERE opponent = "shinya aoki" |
Below is an context that describes a sql 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 (time VARCHAR, rider VARCHAR)
### Question:
What is the time for tony myres?
### Answer:
SELECT time FROM table_name_13 WHERE rider = "tony myres" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_74 (fcc_info VARCHAR, city_of_license VARCHAR)
### Question:
What is the FCC info for the city of Tribune, Kansas?
### Answer:
SELECT fcc_info FROM table_name_74 WHERE city_of_license = "tribune, kansas" |
Below is an context that describes a sql 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 (game_site VARCHAR, opponent VARCHAR)
### Question:
What's the Game SIte with an Opponent of San Diego Chargers?
### Answer:
SELECT game_site FROM table_name_97 WHERE opponent = "san diego chargers" |
Below is an context that describes a sql 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 (draws INTEGER, result VARCHAR, losses VARCHAR)
### Question:
What is the smallest Draws with a Result of runner-up, and Losses larger than 1?
### Answer:
SELECT MIN(draws) FROM table_name_60 WHERE result = "runner-up" AND losses > 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_15162479_8 (eviction_result VARCHAR, eviction_no VARCHAR, vote_to_save VARCHAR)
### Question:
How many eviction results occurred with a eviction no. 12 and a vote to save of 2.76%?
### Answer:
SELECT COUNT(eviction_result) FROM table_15162479_8 WHERE eviction_no = 12 AND vote_to_save = "2.76%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27383390_4 (manner_of_departure VARCHAR, incoming_head_coach VARCHAR)
### Question:
What is the manner of departure when the incoming head coach is mohammad khakpour?
### Answer:
SELECT manner_of_departure FROM table_27383390_4 WHERE incoming_head_coach = "Mohammad Khakpour" |
Below is an context that describes a sql 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 (imperfect_stem VARCHAR, future_stem VARCHAR)
### Question:
What is the imperfect stem for the word that has a future stem of ikusiko?
### Answer:
SELECT imperfect_stem FROM table_name_93 WHERE future_stem = "ikusiko" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2979789_1 (fa_cup_apps INTEGER, league_apps VARCHAR)
### Question:
Name the most fa cup apps for league apps being 27
### Answer:
SELECT MAX(fa_cup_apps) FROM table_2979789_1 WHERE league_apps = 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_29261823_10 (team VARCHAR, opponent VARCHAR)
### Question:
what was the name of the team opponent to elfsborg
### Answer:
SELECT team FROM table_29261823_10 WHERE opponent = "Elfsborg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14834801_1 (mandate VARCHAR, list_pct VARCHAR)
### Question:
Name the mandate for list pct 12.39%
### Answer:
SELECT mandate FROM table_14834801_1 WHERE list_pct = "12.39%" |
Below is an context that describes a sql 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 (loss VARCHAR, record VARCHAR)
### Question:
What was the loss of the game with a record of 84-71?
### Answer:
SELECT loss FROM table_name_29 WHERE record = "84-71" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2679061_10 (nationality VARCHAR, player VARCHAR)
### Question:
What is Reine Karlsson's nationality?
### Answer:
SELECT nationality FROM table_2679061_10 WHERE player = "Reine Karlsson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE artist (country VARCHAR)
### Question:
How many artists are from Bangladesh?
### Answer:
SELECT COUNT(*) FROM artist WHERE country = "Bangladesh" |
Below is an context that describes a sql 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 (against INTEGER, drawn VARCHAR, played VARCHAR)
### Question:
what is the average Against has Drawn of 2, and a Played larger than 10?
### Answer:
SELECT AVG(against) FROM table_name_37 WHERE drawn = 2 AND 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_39 (car__number INTEGER, driver VARCHAR, pos VARCHAR)
### Question:
Which Car # has a Driver of ryan newman, and a Position larger than 10?
### Answer:
SELECT MIN(car__number) FROM table_name_39 WHERE driver = "ryan newman" AND pos > 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_60 (lms_spr VARCHAR, car_no VARCHAR)
### Question:
Which is the LMS SPR when the car number was 15?
### Answer:
SELECT lms_spr FROM table_name_60 WHERE car_no = "15" |
Below is an context that describes a sql 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 (seats INTEGER, votes VARCHAR)
### Question:
Which highest number of Seats has votes of 244,867?
### Answer:
SELECT MAX(seats) FROM table_name_83 WHERE votes = 244 OFFSET 867 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.