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_24418525_1 (frequency VARCHAR, power_kw VARCHAR)
### Question:
When the power kw is 5kw, what is the frequency?
### Answer:
SELECT frequency FROM table_24418525_1 WHERE power_kw = "5kW" |
Below is an context that describes a sql 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 (rowers VARCHAR, time VARCHAR)
### Question:
What rowers have a 6:29.56 time?
### Answer:
SELECT rowers FROM table_name_64 WHERE time = "6:29.56" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14123513_5 (year VARCHAR)
### Question:
Who was in the 4th district in 1924?
### Answer:
SELECT 4 AS th_district FROM table_14123513_5 WHERE year = 1924 |
Below is an context that describes a sql 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 (length__m_ VARCHAR, name VARCHAR)
### Question:
What is the Length (m) of the Koppenberg course?
### Answer:
SELECT length__m_ FROM table_name_46 WHERE name = "koppenberg" |
Below is an context that describes a sql 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 (object_type VARCHAR, ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)
### Question:
What type of object has an NGC number higher than 2090 and has a right ascension (J2000) of 05h52m19s?
### Answer:
SELECT object_type FROM table_name_61 WHERE ngc_number > 2090 AND right_ascension___j2000__ = "05h52m19s" |
Below is an context that describes a sql 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 (team VARCHAR, position VARCHAR, player VARCHAR)
### Question:
What is SS Player Rich McKinney's Team?
### Answer:
SELECT team FROM table_name_19 WHERE position = "ss" AND player = "rich mckinney" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE team (Name VARCHAR, Team_id VARCHAR); CREATE TABLE match_season (Season VARCHAR, Player VARCHAR, Team VARCHAR)
### Question:
Show the season, the player, and the name of the team that players belong to.
### Answer:
SELECT T1.Season, T1.Player, T2.Name FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_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_18461635_1 (captain VARCHAR, team VARCHAR)
### Question:
Who is the captain of the Gloucestershire Gladiators?
### Answer:
SELECT captain FROM table_18461635_1 WHERE team = "Gloucestershire Gladiators" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (capacity INTEGER, location VARCHAR)
### Question:
what is the lowest capacity in grodno
### Answer:
SELECT MIN(capacity) FROM table_name_79 WHERE location = "grodno" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
Who was the opponent of the match on 2006-04-08?
### Answer:
SELECT opponent FROM table_name_47 WHERE date = "2006-04-08" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (final INTEGER, all_around VARCHAR, total VARCHAR)
### Question:
What is the average final with an all around larger than 19.4 and total more than 39.9?
### Answer:
SELECT AVG(final) FROM table_name_12 WHERE all_around > 19.4 AND total > 39.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_57 (poles INTEGER, percentage VARCHAR)
### Question:
How many poles has a percentage of 22.08%?
### Answer:
SELECT SUM(poles) FROM table_name_57 WHERE percentage = "22.08%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (year VARCHAR, silver VARCHAR)
### Question:
In what year(s) did South Korea win silver?
### Answer:
SELECT year FROM table_name_14 WHERE silver = "south korea" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE CARS_DATA (Accelerate INTEGER, Horsepower VARCHAR)
### Question:
How many cars have a larger accelerate than the car with the largest horsepower?
### Answer:
SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > (SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower 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_82 (time VARCHAR, competition VARCHAR)
### Question:
What's the total time for the summer universiade competition?
### Answer:
SELECT COUNT(time) FROM table_name_82 WHERE competition = "summer universiade" |
Below is an context that describes a sql 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 (race_name VARCHAR, circuit VARCHAR)
### Question:
Which Race Name has Goodwood in the Curcuit?
### Answer:
SELECT race_name FROM table_name_4 WHERE circuit = "goodwood" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18933037_3 (b_52_model VARCHAR, unit VARCHAR)
### Question:
When 441st bs, 7th bw is the unit what is the b-52 model?
### Answer:
SELECT b_52_model FROM table_18933037_3 WHERE unit = "441st BS, 7th BW" |
Below is an context that describes a sql 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 (feature VARCHAR, starts VARCHAR, wins VARCHAR, driver VARCHAR)
### Question:
How many features did Adam Carroll win 6 times when the start was larger than 32?
### Answer:
SELECT COUNT(feature) FROM table_name_88 WHERE wins = 6 AND driver = "adam carroll" AND starts > 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_76 (mintage VARCHAR, theme VARCHAR, issue_price VARCHAR)
### Question:
What is the mintage of the coin with a Toronto Maple Leafs theme and an issue price below 24.95?
### Answer:
SELECT mintage FROM table_name_76 WHERE theme = "toronto maple leafs" AND issue_price < 24.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_27961684_1 (institution VARCHAR, team_name VARCHAR)
### Question:
How many institutes have the team name Spartans?
### Answer:
SELECT COUNT(institution) FROM table_27961684_1 WHERE team_name = "Spartans" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
What team was the away team when they played at lake oval?
### Answer:
SELECT away_team AS score FROM table_name_84 WHERE venue = "lake 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_name_71 (medal VARCHAR, name VARCHAR, sport VARCHAR, games VARCHAR)
### Question:
What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?
### Answer:
SELECT medal FROM table_name_71 WHERE sport = "boxing" AND games = "1970 edinburgh" AND name = "james odwori" |
Below is an context that describes a sql 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 (birthplace VARCHAR, agency VARCHAR, generation VARCHAR)
### Question:
What's the birthplace of the third (2009) generation member from the lespros entertainment agency?
### Answer:
SELECT birthplace FROM table_name_81 WHERE agency = "lespros entertainment" AND generation = "third (2009)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (country VARCHAR, player VARCHAR)
### Question:
The golfer Jeff Sluman golfs for what country?
### Answer:
SELECT country FROM table_name_13 WHERE player = "jeff sluman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (span_metres INTEGER, span_feet VARCHAR, rank VARCHAR, year_opened VARCHAR, country VARCHAR)
### Question:
What is the lowest amount of Span metres when the year opened is 2007, the country is China, rank is less than 13, and the span feet is less than 1378?
### Answer:
SELECT MIN(span_metres) FROM table_name_23 WHERE year_opened = "2007" AND country = "china" AND rank < 13 AND span_feet < 1378 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_details VARCHAR); CREATE TABLE policies (customer_id VARCHAR)
### Question:
Find the names of customers who have no policies associated.
### Answer:
SELECT customer_details FROM customers EXCEPT SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_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_82 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
### Question:
What is the highest attendance when the opponent is the Los Angeles Rams and the week is less than 11?
### Answer:
SELECT MAX(attendance) FROM table_name_82 WHERE opponent = "los angeles rams" AND week < 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_88 (place VARCHAR, score VARCHAR)
### Question:
What is the Place of the Player with a Score of 73-67-74-71=285?
### Answer:
SELECT place FROM table_name_88 WHERE score = 73 - 67 - 74 - 71 = 285 |
Below is an context that describes a sql 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 (silver INTEGER, total VARCHAR, bronze VARCHAR)
### Question:
what is the highest silver when the total is 4 and bronze is less than 1?
### Answer:
SELECT MAX(silver) FROM table_name_54 WHERE total = "4" AND bronze < 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_24330803_1 (podiums INTEGER, series VARCHAR)
### Question:
what is the least number of podiums for a formula BMW Americas series?
### Answer:
SELECT MIN(podiums) FROM table_24330803_1 WHERE series = "Formula BMW Americas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (city_of_license VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
### Question:
What is City of License, when ERP W is greater than 3, and when Call Sign is K218DZ?
### Answer:
SELECT city_of_license FROM table_name_42 WHERE erp_w > 3 AND call_sign = "k218dz" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2071644_2 (web_thickness__mm_ VARCHAR, flange_width__mm_ VARCHAR)
### Question:
What is the web thickness if the flange width is 100?
### Answer:
SELECT web_thickness__mm_ FROM table_2071644_2 WHERE flange_width__mm_ = 100 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27713030_8 (score VARCHAR, team VARCHAR)
### Question:
What was the team's score against detroit?
### Answer:
SELECT score FROM table_27713030_8 WHERE team = "Detroit" |
Below is an context that describes a sql 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 (wins INTEGER, losses INTEGER)
### Question:
What is the highest win for losses less than 2?
### Answer:
SELECT MAX(wins) FROM table_name_65 WHERE losses < 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_10 (round VARCHAR, opponent VARCHAR)
### Question:
What round did the fight against travis fulton last?
### Answer:
SELECT round FROM table_name_10 WHERE opponent = "travis fulton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29499399_2 (money_list_rank VARCHAR, player VARCHAR)
### Question:
What is Jonathan Kaye's money list ranking?
### Answer:
SELECT COUNT(money_list_rank) FROM table_29499399_2 WHERE player = "Jonathan Kaye" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (score VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)
### Question:
what is the score when the country is united states, the to par is +2 and the player is phil hancock?
### Answer:
SELECT score FROM table_name_49 WHERE country = "united states" AND to_par = "+2" AND player = "phil hancock" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (headquarters VARCHAR, primary_industry VARCHAR, name VARCHAR)
### Question:
Where is Exxon Mobil, an oil and gas corporation, headquartered?
### Answer:
SELECT headquarters FROM table_name_49 WHERE primary_industry = "oil and gas" AND name = "exxon mobil" |
Below is an context that describes a sql 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 (venue VARCHAR, against VARCHAR)
### Question:
Which venue has 16 against?
### Answer:
SELECT venue FROM table_name_5 WHERE against = 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 manager (Working_year_starts VARCHAR, LEVEL VARCHAR)
### Question:
Show the working years of managers in descending order of their level.
### Answer:
SELECT Working_year_starts FROM manager ORDER BY LEVEL DESC |
Below is an context that describes a sql 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 (nationality VARCHAR, pick VARCHAR)
### Question:
Name the nationality for pick of 16
### Answer:
SELECT nationality FROM table_name_12 WHERE pick = 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_23 (branding VARCHAR, frequency VARCHAR, callsign VARCHAR)
### Question:
What is the branding for the station with a frequency of 93.1mhz and a callsign of DWRX?
### Answer:
SELECT branding FROM table_name_23 WHERE frequency = "93.1mhz" AND callsign = "dwrx" |
Below is an context that describes a sql 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 VARCHAR, bbc_two_rank VARCHAR)
### Question:
In what year was BBC 2 13th in rank?
### Answer:
SELECT year FROM table_name_51 WHERE bbc_two_rank = "13th" |
Below is an context that describes a sql 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 (nationality VARCHAR, club_team VARCHAR)
### Question:
What is the nationality of a player from linköpings hc (se)?
### Answer:
SELECT nationality FROM table_name_52 WHERE club_team = "linköpings hc (se)" |
Below is an context that describes a sql 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 (week VARCHAR, date VARCHAR, attendance VARCHAR)
### Question:
Which week was on November 13, 1955 when the attendance was over 33,982?
### Answer:
SELECT COUNT(week) FROM table_name_57 WHERE date = "november 13, 1955" AND attendance > 33 OFFSET 982 |
Below is an context that describes a sql 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 (country VARCHAR, place VARCHAR, score VARCHAR)
### Question:
Which country is in T1 place with a score of 71-68=139?
### Answer:
SELECT country FROM table_name_4 WHERE place = "t1" AND score = 71 - 68 = 139 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341423_20 (results VARCHAR, district VARCHAR)
### Question:
What was the result of the election in the Maryland 7 district?
### Answer:
SELECT results FROM table_1341423_20 WHERE district = "Maryland 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_19 (record VARCHAR, time VARCHAR)
### Question:
What Records Time is 3:38?
### Answer:
SELECT record FROM table_name_19 WHERE time = "3: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_13 (ergative VARCHAR, genitive VARCHAR)
### Question:
What is the ergative for the genitive tkven(s)?
### Answer:
SELECT ergative FROM table_name_13 WHERE genitive = "tkven(s)" |
Below is an context that describes a sql 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 (capacity INTEGER, stadium VARCHAR)
### Question:
What is the highest capacity of the tsentral stadium (batumi)?
### Answer:
SELECT MAX(capacity) FROM table_name_95 WHERE stadium = "tsentral stadium (batumi)" |
Below is an context that describes a sql 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 (erp_w VARCHAR, call_sign VARCHAR)
### Question:
If the call sign is w291ch what's the ERP W corresponding to that sign?
### Answer:
SELECT erp_w FROM table_name_38 WHERE call_sign = "w291ch" |
Below is an context that describes a sql 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 (opponent VARCHAR, location VARCHAR)
### Question:
What is Opponent, when Location is "Winnipeg, Manitoba , Canada"?
### Answer:
SELECT opponent FROM table_name_27 WHERE location = "winnipeg, manitoba , canada" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR)
### Question:
Find the last names of all the authors that have written a paper with title containing the word "Monadic".
### Answer:
SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE "%Monadic%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15977768_1 (del_pueblo VARCHAR, centennial VARCHAR)
### Question:
Name the del pueblo for centennial 1988
### Answer:
SELECT del_pueblo FROM table_15977768_1 WHERE centennial = "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_28092844_16 (intermediate_sprints_classification_klasyfikacja_najaktywniejszych VARCHAR, winner VARCHAR)
### Question:
What was the intermediate sprint classification for the race whose winner was Daniel Martin?
### Answer:
SELECT intermediate_sprints_classification_klasyfikacja_najaktywniejszych FROM table_28092844_16 WHERE winner = "Daniel Martin" |
Below is an context that describes a sql 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 (points INTEGER, chassis VARCHAR, year VARCHAR)
### Question:
What is the lowest amount of points held by the Epperly Indy roadster in 1959?
### Answer:
SELECT MIN(points) FROM table_name_5 WHERE chassis = "epperly indy roadster" AND year = 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_name_92 (release_date VARCHAR, director VARCHAR, production_num VARCHAR)
### Question:
Which Release date has a Director of tom palmer, and a Production Num larger than 5956?
### Answer:
SELECT release_date FROM table_name_92 WHERE director = "tom palmer" AND production_num > 5956 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, Name VARCHAR)
### Question:
What are the ids and names of the web accelerators that are compatible with two or more browsers?
### Answer:
SELECT T1.id, T1.Name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (constructor VARCHAR, driver VARCHAR)
### Question:
Who constructed pedro diniz's car?
### Answer:
SELECT constructor FROM table_name_30 WHERE driver = "pedro diniz" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28819393_1 (year VARCHAR, average__percentage_of_vote_per_candidate VARCHAR)
### Question:
In what year was 1.35% the average vote per candidate?
### Answer:
SELECT year FROM table_28819393_1 WHERE average__percentage_of_vote_per_candidate = "1.35" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24725951_1 (episode VARCHAR, celebrities VARCHAR)
### Question:
Which episode had celebrities Nick Hewer and Saira Khan in them?
### Answer:
SELECT episode FROM table_24725951_1 WHERE celebrities = "Nick Hewer and Saira Khan" |
Below is an context that describes a sql 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 (writer_s_ VARCHAR, episode VARCHAR)
### Question:
Who wrote Episode 2-15 (56)?
### Answer:
SELECT writer_s_ FROM table_name_51 WHERE episode = "2-15 (56)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (score VARCHAR, opponent VARCHAR)
### Question:
What was the score against fabrice martin?
### Answer:
SELECT score FROM table_name_66 WHERE opponent = "fabrice martin" |
Below is an context that describes a sql 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 (year VARCHAR, home_town VARCHAR)
### Question:
In what year of school is the player from Fayetteville, NC?
### Answer:
SELECT year FROM table_name_52 WHERE 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_88 (label VARCHAR, catalog VARCHAR)
### Question:
Name the label with catalog of mhcl-20005
### Answer:
SELECT label FROM table_name_88 WHERE catalog = "mhcl-20005" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (rank__number VARCHAR, result VARCHAR)
### Question:
What was the rank# of the opponent when the result of the game was w42-14?
### Answer:
SELECT rank__number FROM table_name_53 WHERE result = "w42-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_27257896_2 (working_force_of_hk VARCHAR, nepalese VARCHAR)
### Question:
If the nepalese is 37.1%, what is the working force of HK?
### Answer:
SELECT working_force_of_hk FROM table_27257896_2 WHERE nepalese = "37.1%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (club VARCHAR, points_against VARCHAR, loses VARCHAR, wins VARCHAR)
### Question:
What club has losses greater than 1, 4 for the wins, with points against less than 894?
### Answer:
SELECT club FROM table_name_83 WHERE loses > 1 AND wins = 4 AND points_against < 894 |
Below is an context that describes a sql 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 (power VARCHAR, name VARCHAR)
### Question:
Which Power has a Name of 9 nc?
### Answer:
SELECT power FROM table_name_21 WHERE name = "9 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_27 (country VARCHAR, money___$__ VARCHAR, player VARCHAR)
### Question:
Which country has a prize smaller than $250 and the player Henry Picard?
### Answer:
SELECT country FROM table_name_27 WHERE money___$__ < 250 AND player = "henry picard" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27823058_1 (series__number INTEGER)
### Question:
What's the highest series number ?
### Answer:
SELECT MAX(series__number) FROM table_27823058_1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (tries_against VARCHAR, tries_for VARCHAR)
### Question:
How many tries against for the team with 67 tries for?
### Answer:
SELECT tries_against FROM table_name_83 WHERE tries_for = "67" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23346983_1 (record VARCHAR, game VARCHAR)
### Question:
What was the Orangemen record during game 3?
### Answer:
SELECT record FROM table_23346983_1 WHERE game = 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 (Id VARCHAR)
### Question:
What is 2004, when 2008 is "WTA Premier 5 Tournaments"?
### Answer:
SELECT 2004 FROM table_name_19 WHERE 2008 = "wta premier 5 tournaments" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17120964_8 (opponent VARCHAR, result VARCHAR)
### Question:
Who was the opponent of the game with final score won 4-1?
### Answer:
SELECT opponent FROM table_17120964_8 WHERE result = "Won 4-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_91 (neon VARCHAR, atomic_property VARCHAR)
### Question:
Which Neon has Atomic property of average valence electron energy (avee)?
### Answer:
SELECT neon FROM table_name_91 WHERE atomic_property = "average valence electron energy (avee)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24399615_10 (bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR)
### Question:
List the number of bbc rankings with cable rankings of 6.
### Answer:
SELECT bbc_three_weekly_ranking FROM table_24399615_10 WHERE cable_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 film (Director VARCHAR)
### Question:
List the distinct director of all films.
### Answer:
SELECT DISTINCT Director FROM film |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the value in 1965 when 7 is the value for 1967?
### Answer:
SELECT 1965 FROM table_name_81 WHERE 1967 = "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_27734286_1 (location_attendance VARCHAR, team VARCHAR)
### Question:
What's the location attendance of the @ portland team?
### Answer:
SELECT location_attendance FROM table_27734286_1 WHERE team = "@ Portland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15781170_2 (_number VARCHAR, poll_winner VARCHAR)
### Question:
Name the # for youtube
### Answer:
SELECT _number FROM table_15781170_2 WHERE poll_winner = "YouTube" |
Below is an context that describes a sql 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 (series VARCHAR, director VARCHAR, production_number VARCHAR)
### Question:
From what series was the title with a production number of 1614 that was directed by Friz Freleng?
### Answer:
SELECT series FROM table_name_15 WHERE director = "friz freleng" AND production_number = 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_42 (grid INTEGER, team VARCHAR, laps VARCHAR)
### Question:
Which Grid is the lowest one that has a Team of germany, and Laps smaller than 45?
### Answer:
SELECT MIN(grid) FROM table_name_42 WHERE team = "germany" AND laps < 45 |
Below is an context that describes a sql 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 (college VARCHAR, name VARCHAR)
### Question:
Which college did kevin landolt attend?
### Answer:
SELECT college FROM table_name_10 WHERE name = "kevin landolt" |
Below is an context that describes a sql 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 (tier VARCHAR, opponent_in_the_final VARCHAR)
### Question:
When David McNamara was the opponent in the final, what was the tier?
### Answer:
SELECT tier FROM table_name_59 WHERE opponent_in_the_final = "david mcnamara" |
Below is an context that describes a sql 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 (opponent VARCHAR, loss VARCHAR)
### Question:
Witch opponent has a loss of Glynn (0-2)?
### Answer:
SELECT opponent FROM table_name_51 WHERE loss = "glynn (0-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_47 (wins VARCHAR, year VARCHAR, points VARCHAR)
### Question:
How many wins for the year that is later than 1987 and has points less than 188?
### Answer:
SELECT wins FROM table_name_47 WHERE year > 1987 AND points < 188 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE ROLES (Id VARCHAR)
### Question:
How many roles are there?
### Answer:
SELECT COUNT(*) FROM ROLES |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2226817_8 (no_in_series VARCHAR, no_in_season VARCHAR)
### Question:
How many episodes in the series are from season 12?
### Answer:
SELECT no_in_series FROM table_2226817_8 WHERE no_in_season = 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_94 (athlete VARCHAR, notes VARCHAR, rank VARCHAR)
### Question:
Which athlete had a rank of 6 and notes of sc/d?
### Answer:
SELECT athlete FROM table_name_94 WHERE notes = "sc/d" AND 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_18733480_1 (air_date VARCHAR, team_1 VARCHAR)
### Question:
What is the original air date that had the wykeham wonderers as team 1?
### Answer:
SELECT air_date FROM table_18733480_1 WHERE team_1 = "Wykeham Wonderers" |
Below is an context that describes a sql 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 (opponent VARCHAR, method VARCHAR, record VARCHAR)
### Question:
What was the name of the opponent when the method was ko (slam), and record was 13–1?
### Answer:
SELECT opponent FROM table_name_21 WHERE method = "ko (slam)" AND record = "13–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_1652224_5 (date_successor_seated VARCHAR, reason_for_change VARCHAR)
### Question:
what is the date the successor seated because the person died august 17, 1954?
### Answer:
SELECT date_successor_seated FROM table_1652224_5 WHERE reason_for_change = "Died August 17, 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_21457754_2 (rr1_pts INTEGER)
### Question:
Name the most rr 1 pts
### Answer:
SELECT MAX(rr1_pts) FROM table_21457754_2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (bronze INTEGER, silver INTEGER)
### Question:
How many Bronze medals did the Nation with 0 Silver receive?
### Answer:
SELECT MAX(bronze) FROM table_name_37 WHERE silver < 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_2509202_2 (tipuani_municipality VARCHAR, tacacoma_municipality VARCHAR)
### Question:
tipuani municipality when tacacoma municipality is 6?
### Answer:
SELECT tipuani_municipality FROM table_2509202_2 WHERE tacacoma_municipality = "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_46 (series VARCHAR, director VARCHAR, title VARCHAR)
### Question:
What series has dan povenmire as the director, with museum scream as the title?
### Answer:
SELECT series FROM table_name_46 WHERE director = "dan povenmire" AND title = "museum scream" |
Below is an context that describes a sql 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 (pos INTEGER, team VARCHAR, car__number VARCHAR)
### Question:
Which Pos has a Team of roush fenway racing, and a Car # of 99?
### Answer:
SELECT SUM(pos) FROM table_name_32 WHERE team = "roush fenway racing" AND car__number = 99 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19905183_1 (team VARCHAR, head_coach VARCHAR)
### Question:
In how many teams is Waqar Younis the head coach?
### Answer:
SELECT COUNT(team) FROM table_19905183_1 WHERE head_coach = "Waqar Younis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (score VARCHAR, visitor VARCHAR, date VARCHAR)
### Question:
What was the score when the visitor was toronto maple leafs on march 22?
### Answer:
SELECT score FROM table_name_53 WHERE visitor = "toronto maple leafs" AND date = "march 22" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.