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_58 (competition VARCHAR, date VARCHAR)
### Question:
Which competition was held on September 10, 2005?
### Answer:
SELECT competition FROM table_name_58 WHERE date = "september 10, 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_48 (track INTEGER, writer_s_ VARCHAR)
### Question:
Which Track has a Writer(s) of mac davis?
### Answer:
SELECT AVG(track) FROM table_name_48 WHERE writer_s_ = "mac davis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22496374_1 (_number INTEGER, name VARCHAR)
### Question:
What was rickie winslow's number?
### Answer:
SELECT MAX(_number) FROM table_22496374_1 WHERE name = "Rickie Winslow" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18662026_1 (parallel_bars VARCHAR, rings VARCHAR)
### Question:
If the rings are 60.500, what is the parallel bars number?
### Answer:
SELECT parallel_bars FROM table_18662026_1 WHERE rings = "60.500" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13625792_1 (total__number VARCHAR, bush__percentage VARCHAR)
### Question:
In the county where Bush won 77.76%, how many total votes were cast?
### Answer:
SELECT total__number FROM table_13625792_1 WHERE bush__percentage = "77.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_name_26 (date VARCHAR, record VARCHAR)
### Question:
When did the team have a 10-8 record?
### Answer:
SELECT date FROM table_name_26 WHERE record = "10-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_60 (result VARCHAR, date VARCHAR)
### Question:
Which one took place on December 3, 1995?
### Answer:
SELECT result FROM table_name_60 WHERE date = "december 3, 1995" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (to_par VARCHAR, year_won VARCHAR)
### Question:
What was the To Par of Tiger Woods who won in 1988?
### Answer:
SELECT to_par FROM table_name_85 WHERE year_won = 1988 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22597626_1 (score_in_the_final VARCHAR, championship VARCHAR)
### Question:
What were the US Open's final scores?
### Answer:
SELECT score_in_the_final FROM table_22597626_1 WHERE championship = "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_name_12 (opponents VARCHAR, venue VARCHAR)
### Question:
When the game was played at Domnarvsvallen who were the opponents?
### Answer:
SELECT opponents FROM table_name_12 WHERE venue = "domnarvsvallen" |
Below is an context that describes a sql 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 (worst_dancer_s_ VARCHAR, lowest_score VARCHAR)
### Question:
Which of the Worst dancer(s) has the Lowest score of 14?
### Answer:
SELECT worst_dancer_s_ FROM table_name_43 WHERE lowest_score = 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_2110959_1 (goals_for INTEGER, pct__percentage VARCHAR)
### Question:
What was the goals for in the season that the pct % was 0.604?
### Answer:
SELECT MAX(goals_for) FROM table_2110959_1 WHERE pct__percentage = "0.604" |
Below is an context that describes a sql 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 (music VARCHAR, style VARCHAR)
### Question:
WHAT IS THE MUSIC WITH SAMBA?
### Answer:
SELECT music FROM table_name_6 WHERE style = "samba" |
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR)
### Question:
Which Result has an Attendance of bye?
### Answer:
SELECT result FROM table_name_99 WHERE 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_11 (status VARCHAR, monarch VARCHAR, reason VARCHAR)
### Question:
What is the Status when Henry I is the Monarch and the Reason is succession unclear 1100-1103?
### Answer:
SELECT status FROM table_name_11 WHERE monarch = "henry i" AND reason = "succession unclear 1100-1103" |
Below is an context that describes a sql 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 (date VARCHAR, home VARCHAR, record VARCHAR)
### Question:
What is the date that the Montreal Canadiens hosted a game with a record of 14–11–3?
### Answer:
SELECT date FROM table_name_77 WHERE home = "montreal canadiens" AND record = "14–11–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 medicine (FDA_approved VARCHAR)
### Question:
How many distinct FDA approval statuses are there for the medicines?
### Answer:
SELECT COUNT(DISTINCT FDA_approved) FROM medicine |
Below is an context that describes a sql 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 (location VARCHAR, round VARCHAR, method VARCHAR)
### Question:
Where was the match that lasted less than 3 rounds and was won by submission (triangle choke)?
### Answer:
SELECT location FROM table_name_21 WHERE round < 3 AND method = "submission (triangle choke)" |
Below is an context that describes a sql 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 (burglary INTEGER, forcible_rape VARCHAR, motor_vehicle_theft VARCHAR)
### Question:
What is the smallest rate of burglary when forcible rape is 39.1 and motor vehicle theft is less than 568.8?
### Answer:
SELECT MIN(burglary) FROM table_name_90 WHERE forcible_rape = "39.1" AND motor_vehicle_theft < 568.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_33 (home VARCHAR, visitor VARCHAR, record VARCHAR)
### Question:
What is the home team of the game where New Jersey was the visitor team and the record was 11-35-12?
### Answer:
SELECT home FROM table_name_33 WHERE visitor = "new jersey" AND record = "11-35-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_66 (result VARCHAR, opponent VARCHAR)
### Question:
What was the final of the New England Patriots game?
### Answer:
SELECT result FROM table_name_66 WHERE opponent = "new england patriots" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (money___£__ VARCHAR, country VARCHAR, player VARCHAR)
### Question:
Can you tell me the Money (£) that has the Country of england, and the Player of malcolm mackenzie?
### Answer:
SELECT money___£__ FROM table_name_59 WHERE country = "england" AND player = "malcolm mackenzie" |
Below is an context that describes a sql 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 (category VARCHAR, nominee_s_ VARCHAR, year VARCHAR)
### Question:
What is the category when Hy Conrad nominated in 2003?
### Answer:
SELECT category FROM table_name_84 WHERE nominee_s_ = "hy conrad" AND year = 2003 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (total INTEGER, gold VARCHAR)
### Question:
Which Total has Gold of 2?
### Answer:
SELECT MAX(total) FROM table_name_60 WHERE gold = 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_18461045_1 (indiana VARCHAR, michigan VARCHAR)
### Question:
What was the little league team from Indiana when the little league team from Michigan was Midland Northeast LL Midland?
### Answer:
SELECT indiana FROM table_18461045_1 WHERE michigan = "Midland Northeast LL Midland" |
Below is an context that describes a sql 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 (pali VARCHAR, poison_klesha VARCHAR)
### Question:
What is the pali word for pride in poison/klesha?
### Answer:
SELECT pali FROM table_name_87 WHERE poison_klesha = "pride" |
Below is an context that describes a sql 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 (nationality VARCHAR, pick VARCHAR, college_high_school_club VARCHAR)
### Question:
What is the nationality of the player with a pick larger than 21 from the College of the Sequoias?
### Answer:
SELECT nationality FROM table_name_14 WHERE pick > 21 AND college_high_school_club = "college of the sequoias" |
Below is an context that describes a sql 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 (runner_up VARCHAR, country VARCHAR, venue VARCHAR)
### Question:
What player from England was the runner-up at the match played at the Royal Porthcawl Golf Club?
### Answer:
SELECT runner_up FROM table_name_83 WHERE country = "england" AND venue = "royal porthcawl golf club" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (tournament VARCHAR)
### Question:
WHAT IS THE TOURNAMENT WITH A 2010 OF A, 2009 OF A, AND 001 PERFORMANCE OF Q1?
### Answer:
SELECT tournament FROM table_name_5 WHERE 2010 = "a" AND 2009 = "a" AND 2011 = "q1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR, IsOfficial VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR)
### Question:
What are the names of nations where both English and French are official languages?
### Answer:
SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" AND T2.IsOfficial = "T" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "French" AND T2.IsOfficial = "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_name_1 (number_ VARCHAR, _name VARCHAR, date VARCHAR)
### Question:
What is the name and number in 1964?
### Answer:
SELECT number_ & _name FROM table_name_1 WHERE date = "1964" |
Below is an context that describes a sql 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 (lead VARCHAR, third VARCHAR)
### Question:
Which Lead has Hans Frauenlob as a Third?
### Answer:
SELECT lead FROM table_name_62 WHERE third = "hans frauenlob" |
Below is an context that describes a sql 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 (ship_types_delivered VARCHAR, total_vessels_built_for_usmc VARCHAR)
### Question:
what is the ship types delivered when the total vessels built for usmc is 13 ships for usmc (plus 37 more for usn)?
### Answer:
SELECT ship_types_delivered FROM table_name_21 WHERE total_vessels_built_for_usmc = "13 ships for usmc (plus 37 more for usn)" |
Below is an context that describes a sql 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 (rank INTEGER, name VARCHAR, matches VARCHAR)
### Question:
What is the highest Rank for Jason Kreis, with less than 305 matches?
### Answer:
SELECT MAX(rank) FROM table_name_67 WHERE name = "jason kreis" AND matches < 305 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27755784_8 (record VARCHAR, high_points VARCHAR)
### Question:
What is the record when the high points is listed as Stephen Curry (32)?
### Answer:
SELECT record FROM table_27755784_8 WHERE high_points = "Stephen Curry (32)" |
Below is an context that describes a sql 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 (year VARCHAR, note VARCHAR, album VARCHAR)
### Question:
When was the note a vocals and the album north (original motion picture soundtrack)?
### Answer:
SELECT year FROM table_name_62 WHERE note = "vocals" AND album = "north (original motion picture soundtrack)" |
Below is an context that describes a sql 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 (year INTEGER, trim VARCHAR, power VARCHAR)
### Question:
What's the Year average that's got Trim of LS/LT and Power of HP (KW)?
### Answer:
SELECT AVG(year) FROM table_name_51 WHERE trim = "ls/lt" AND power = "hp (kw)" |
Below is an context that describes a sql 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 (location VARCHAR, previous_conference VARCHAR, mascot VARCHAR)
### Question:
Which Location has a Previous Conference of independents, and a Mascot of hilltoppers?
### Answer:
SELECT location FROM table_name_95 WHERE previous_conference = "independents" AND mascot = "hilltoppers" |
Below is an context that describes a sql 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 (position VARCHAR, number VARCHAR)
### Question:
Which position is number 16?
### Answer:
SELECT position FROM table_name_7 WHERE number = 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_20 (finalist VARCHAR, tournament VARCHAR)
### Question:
Which Finalist has a Tournament of monte carlo?
### Answer:
SELECT finalist FROM table_name_20 WHERE tournament = "monte carlo" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR, away_team VARCHAR)
### Question:
what is the score on 14 december 1974 and the away team is crystal palace?
### Answer:
SELECT score FROM table_name_69 WHERE date = "14 december 1974" AND away_team = "crystal palace" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1986692_1 (regular_season VARCHAR, playoffs VARCHAR)
### Question:
When divisional finals are the playoffs what is the regular season?
### Answer:
SELECT regular_season FROM table_1986692_1 WHERE playoffs = "divisional Finals" |
Below is an context that describes a sql 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 (date VARCHAR, opponent VARCHAR, attendance VARCHAR)
### Question:
when has an Opponent of @ philadelphia phillies and an Attendance of 20,072?
### Answer:
SELECT date FROM table_name_19 WHERE opponent = "@ philadelphia phillies" AND attendance = "20,072" |
Below is an context that describes a sql 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 (ship_size VARCHAR)
### Question:
What ship size had a cargo value of $46,000 in 2006?
### Answer:
SELECT ship_size FROM table_name_89 WHERE 2006 = "$46,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_2001348_1 (closure_for_signature VARCHAR, field VARCHAR)
### Question:
How many inputs are there in the 'closure for signature' tab under the field 'sea (revised)'?
### Answer:
SELECT COUNT(closure_for_signature) FROM table_2001348_1 WHERE field = "Sea (revised)" |
Below is an context that describes a sql 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 (years_in_orlando VARCHAR, player VARCHAR)
### Question:
What years did Orlando have stanley roberts on the team?
### Answer:
SELECT years_in_orlando FROM table_name_75 WHERE player = "stanley roberts" |
Below is an context that describes a sql 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 (lost VARCHAR, drawn VARCHAR, points_for VARCHAR)
### Question:
what is the amount lost when there is 1 draw and 515 points?
### Answer:
SELECT lost FROM table_name_72 WHERE drawn = "1" AND points_for = "515" |
Below is an context that describes a sql 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 (track VARCHAR, turns VARCHAR)
### Question:
Where is the track located with 18 turns?
### Answer:
SELECT track FROM table_name_34 WHERE turns = "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 Student_Tests_Taken (registration_id VARCHAR, test_result VARCHAR); CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, registration_id VARCHAR)
### Question:
What are the enrollment dates of all the tests that have result "Pass"?
### Answer:
SELECT T1.date_of_enrolment FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Pass" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, _number VARCHAR)
### Question:
what's the date of birth with # being 2
### Answer:
SELECT date_of_birth FROM table_12134383_1 WHERE _number = 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_27914606_1 (season__number VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
what is the number of the episode in the season that had 7.19 millions of north american viewers?
### Answer:
SELECT season__number FROM table_27914606_1 WHERE us_viewers__millions_ = "7.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_28180840_15 (act VARCHAR, name_name_of_act VARCHAR)
### Question:
What is the total number of modern grannies performed?
### Answer:
SELECT COUNT(act) FROM table_28180840_15 WHERE name_name_of_act = "Modern Grannies" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (nationality VARCHAR, lane VARCHAR, time VARCHAR)
### Question:
for the time of 49.04 and lane less than 3, what is the nationality?
### Answer:
SELECT nationality FROM table_name_27 WHERE lane < 3 AND time = 49.04 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Songs (Title VARCHAR, SongId VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, firstname VARCHAR)
### Question:
Find all the songs produced by artists with first name "Marianne".
### Answer:
SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.firstname = "Marianne" |
Below is an context that describes a sql 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 (laps INTEGER, rider VARCHAR)
### Question:
How many laps did Mattia Pasini ride?
### Answer:
SELECT MIN(laps) FROM table_name_16 WHERE rider = "mattia pasini" |
Below is an context that describes a sql 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 (home VARCHAR, date VARCHAR)
### Question:
Which home has a Date of november 7?
### Answer:
SELECT home FROM table_name_16 WHERE date = "november 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_18 (device VARCHAR, carrier VARCHAR)
### Question:
WHAT IS THE DEVICE WITH MTS MOBILITY?
### Answer:
SELECT device FROM table_name_18 WHERE carrier = "mts mobility" |
Below is an context that describes a sql 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 (season VARCHAR, play_offs VARCHAR, pos VARCHAR)
### Question:
Tell me the season for quarter-final position of 4th
### Answer:
SELECT season FROM table_name_97 WHERE play_offs = "quarter-final" AND pos = "4th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23696862_6 (name VARCHAR, wsop_earnings VARCHAR)
### Question:
Whose WSOP earnings were $36,372?
### Answer:
SELECT name FROM table_23696862_6 WHERE wsop_earnings = "$36,372" |
Below is an context that describes 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 (Name VARCHAR, County_ID VARCHAR); CREATE TABLE county_public_safety (Name VARCHAR, County_ID VARCHAR)
### Question:
List the names of counties that do not have any cities.
### Answer:
SELECT Name FROM county_public_safety WHERE NOT County_ID IN (SELECT County_ID FROM city) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13258972_2 (date VARCHAR, game_site VARCHAR, opponent VARCHAR)
### Question:
What date did the Seahawks play the Kansas City Chiefs at the Kingdome?
### Answer:
SELECT date FROM table_13258972_2 WHERE game_site = "Kingdome" AND opponent = "Kansas City Chiefs" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20354_7 (malayalam_name VARCHAR, zodiac_sign VARCHAR)
### Question:
Name the malayalam name for leo
### Answer:
SELECT malayalam_name FROM table_20354_7 WHERE zodiac_sign = "Leo" |
Below is an context that describes a sql 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 (os_x VARCHAR, name VARCHAR)
### Question:
What is the OS X for the Home Media Center?
### Answer:
SELECT os_x FROM table_name_88 WHERE name = "home media 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_66 (body_width_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR)
### Question:
How much Body Width/mm has a Part Number of tsop40/44, and a Body Length/mm smaller than 18.42?
### Answer:
SELECT SUM(body_width_mm) FROM table_name_66 WHERE part_number = "tsop40/44" AND body_length_mm < 18.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_name_59 (elevation_msnm VARCHAR, population_censo_2007_hab_ VARCHAR)
### Question:
What is the elevation msnm for a population censo 2007(hab) of 77.392*?
### Answer:
SELECT elevation_msnm FROM table_name_59 WHERE population_censo_2007_hab_ = "77.392*" |
Below is an context that describes a sql 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 (college VARCHAR, position VARCHAR)
### Question:
Where did the player picked for the linebacker position play in college?
### Answer:
SELECT college FROM table_name_6 WHERE position = "linebacker" |
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR)
### Question:
What score did John Mahaffey have?
### Answer:
SELECT score FROM table_name_52 WHERE player = "john mahaffey" |
Below is an context that describes a sql 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 (year_joined INTEGER, county VARCHAR)
### Question:
What is the average year joined of the 277 county?
### Answer:
SELECT AVG(year_joined) FROM table_name_43 WHERE county = 277 |
Below is an context that describes a sql 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 (career VARCHAR, player VARCHAR)
### Question:
What is the career of player andriy husyn?
### Answer:
SELECT career FROM table_name_38 WHERE player = "andriy husyn" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is listed for the 2011 that has a 2005 of 4.2%?
### Answer:
SELECT 2011 FROM table_name_8 WHERE 2005 = "4.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_36 (being__qualities_ VARCHAR, having__things_ VARCHAR)
### Question:
Name the being qualities for having things of language, religions, work, customs, values, norms
### Answer:
SELECT being__qualities_ FROM table_name_36 WHERE having__things_ = "language, religions, work, customs, values, norms" |
Below is an context that describes a sql 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 (country VARCHAR, population_density__per_km²_ VARCHAR)
### Question:
Which country has a population density of 50.3?
### Answer:
SELECT country FROM table_name_46 WHERE population_density__per_km²_ = "50.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_14623167_1 (branding VARCHAR, owner VARCHAR)
### Question:
Name the branding for forum communications
### Answer:
SELECT branding FROM table_14623167_1 WHERE owner = "Forum Communications" |
Below is an context that describes a sql 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 (branding VARCHAR, location VARCHAR, callsign VARCHAR)
### Question:
What is the Branding of the Metro Manila Frequency with a Callsign of DWBL?
### Answer:
SELECT branding FROM table_name_19 WHERE location = "metro manila" AND callsign = "dwbl" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE employee (emp_jobcode VARCHAR)
### Question:
Find the count and code of the job has most employees.
### Answer:
SELECT emp_jobcode, COUNT(*) FROM employee GROUP BY emp_jobcode 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_101196_1 (county VARCHAR, irish_name VARCHAR)
### Question:
What is the county for the Irish name Carna?
### Answer:
SELECT county FROM table_101196_1 WHERE irish_name = "Carna" |
Below is an context that describes a sql 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 (nationality VARCHAR, player VARCHAR, position VARCHAR)
### Question:
What was the nationality of five-eighth player Darren Lockyer?
### Answer:
SELECT nationality FROM table_name_96 WHERE player = "darren lockyer" AND position = "five-eighth" |
Below is an context that describes a sql 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 (date VARCHAR, theme VARCHAR)
### Question:
What date has a theme of fate or fortune?
### Answer:
SELECT date FROM table_name_21 WHERE theme = "fate or fortune" |
Below is an context that describes a sql 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 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
### Question:
What's the Call sign with a Frequency MHz thats smaller than 95.9 and an ERP W of 10?
### Answer:
SELECT call_sign FROM table_name_26 WHERE frequency_mhz < 95.9 AND erp_w = 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_51 (catalogue VARCHAR, track VARCHAR)
### Question:
What cataglogue has 27 tracks?
### Answer:
SELECT catalogue FROM table_name_51 WHERE track = 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_2409041_9 (title VARCHAR, written_by VARCHAR)
### Question:
What was the name of the epiode written by Gary M. Goodrich?
### Answer:
SELECT title FROM table_2409041_9 WHERE written_by = "Gary M. Goodrich" |
Below is an context that describes a sql 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 (report VARCHAR, home_team VARCHAR)
### Question:
What is the report corresponding to the game that had the Townsville Crocodiles as home team?
### Answer:
SELECT report FROM table_name_59 WHERE home_team = "townsville crocodiles" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
What is the name of the home team that played away team Footscray?
### Answer:
SELECT home_team FROM table_name_46 WHERE away_team = "footscray" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (visiting_team VARCHAR, date VARCHAR)
### Question:
Who was the visiting team on November 10?
### Answer:
SELECT visiting_team FROM table_name_28 WHERE date = "november 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_11960610_10 (high_assists VARCHAR, high_points VARCHAR)
### Question:
When gordon (27) had high points, what was the number of high assists?
### Answer:
SELECT COUNT(high_assists) FROM table_11960610_10 WHERE high_points = "Gordon (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_80 (combined VARCHAR, overall VARCHAR)
### Question:
Which combined score has an overall of 8?
### Answer:
SELECT combined FROM table_name_80 WHERE overall = "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_47 (rank INTEGER, sets_won VARCHAR, loss VARCHAR)
### Question:
What is the least rank with more than 16 sets won and less than 1 loss?
### Answer:
SELECT MIN(rank) FROM table_name_47 WHERE sets_won > 16 AND loss < 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_63 (progressive_ticket VARCHAR, republican_ticket VARCHAR)
### Question:
With the Republican ticket of Frank M. Williams who was the Progressive ticket?
### Answer:
SELECT progressive_ticket FROM table_name_63 WHERE republican_ticket = "frank m. williams" |
Below is an context that describes a sql 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 (third_place VARCHAR, tournament VARCHAR)
### Question:
Who won third place in the Zurich Tournament?
### Answer:
SELECT third_place FROM table_name_34 WHERE tournament = "zurich" |
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR)
### Question:
When did South Melbourne play as the away team?
### Answer:
SELECT date FROM table_name_45 WHERE away_team = "south melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (transfer_fee VARCHAR, moving_from VARCHAR, nat VARCHAR)
### Question:
Which Transfer fee has a Moving from of youth system, and a Nat of mar?
### Answer:
SELECT transfer_fee FROM table_name_10 WHERE moving_from = "youth system" AND nat = "mar" |
Below is an context that describes a sql 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 (date VARCHAR, attendance VARCHAR)
### Question:
Attendance of 35,842 had what date?
### Answer:
SELECT date FROM table_name_77 WHERE attendance = "35,842" |
Below is an context that describes a sql 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 (population__percentage_1971 VARCHAR, population__percentage_1981 VARCHAR)
### Question:
For the group with 1.92% population in 1981, what was their percentage of the population in 1971?
### Answer:
SELECT population__percentage_1971 FROM table_name_62 WHERE population__percentage_1981 = "1.92%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (lost VARCHAR, drawn VARCHAR, played VARCHAR)
### Question:
What is the total number of losses of the player that has drawn 1 and played smaller than 12?
### Answer:
SELECT COUNT(lost) FROM table_name_73 WHERE drawn = 1 AND played < 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_78 (rank INTEGER, country VARCHAR, losing_semi__finalist VARCHAR)
### Question:
Which Rank has a Country of costa rica, and a Losing Semi- finalist larger than 1?
### Answer:
SELECT AVG(rank) FROM table_name_78 WHERE country = "costa rica" AND losing_semi__finalist > 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 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
### Question:
What is the least number of Silvers with a ranking of less than 4 where the bronze number was larger than 9?
### Answer:
SELECT MIN(silver) FROM table_name_76 WHERE rank < 4 AND bronze > 9 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (runner_up VARCHAR, season INTEGER)
### Question:
Who is the Runner-up that has a Season less than 2005?
### Answer:
SELECT runner_up FROM table_name_54 WHERE season < 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_76 (pos VARCHAR, to_club VARCHAR, player VARCHAR)
### Question:
Teerasil Dangda who had a to club of released plays what position?
### Answer:
SELECT pos FROM table_name_76 WHERE to_club = "released" AND player = "teerasil dangda" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24490665_1 (appointed VARCHAR, name VARCHAR)
### Question:
When was jack watson appointed?
### Answer:
SELECT appointed FROM table_24490665_1 WHERE name = "Jack Watson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (date_joined VARCHAR, from__club_ VARCHAR)
### Question:
What date did the player from Santo André debut?
### Answer:
SELECT date_joined FROM table_name_27 WHERE from__club_ = "santo andré" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.