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_21 (number_of_electorates__2009_ VARCHAR, reserved_for___sc___st__none_ VARCHAR)
### Question:
Which Number of electorates (2009) has a Reserved for (SC / ST /None) of total:?
### Answer:
SELECT number_of_electorates__2009_ FROM table_name_21 WHERE reserved_for___sc___st__none_ = "total:" |
Below is an context that describes a sql 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 (time INTEGER, rank VARCHAR)
### Question:
What is the average time in a rank of 61?
### Answer:
SELECT AVG(time) FROM table_name_29 WHERE rank = 61 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11250_4 (top_division_titles INTEGER)
### Question:
What is the least top division titles?
### Answer:
SELECT MIN(top_division_titles) FROM table_11250_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_64 (game INTEGER, score VARCHAR, record VARCHAR)
### Question:
Score of 118–114, and a Record of 8–1 is what lowest game?
### Answer:
SELECT MIN(game) FROM table_name_64 WHERE score = "118–114" AND record = "8–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_40 (home_town VARCHAR, name VARCHAR)
### Question:
What is the Home Town with a Name with rob cunningham?
### Answer:
SELECT home_town FROM table_name_40 WHERE name = "rob cunningham" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (gold VARCHAR, bronze VARCHAR)
### Question:
What country won gold in the year(s) that Chinese Taipei won bronze?
### Answer:
SELECT gold FROM table_name_50 WHERE bronze = "chinese taipei" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (away_team VARCHAR)
### Question:
What was South Melbourne's score as the away team?
### Answer:
SELECT away_team AS score FROM table_name_50 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_62 (format VARCHAR, date VARCHAR, catalog VARCHAR)
### Question:
In what format was the release from the Nebt068 catalog on April 11, 2005 in?
### Answer:
SELECT format FROM table_name_62 WHERE date = "april 11, 2005" AND catalog = "nebt068" |
Below is an context that describes a sql 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 (match_points VARCHAR, points_against VARCHAR)
### Question:
What is the value of match points when the points for is 570?
### Answer:
SELECT match_points FROM table_name_8 WHERE points_against = "570" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2112260_1 (specialization VARCHAR, website VARCHAR)
### Question:
What is every specialization with the website Jstu.edu.bd
### Answer:
SELECT specialization FROM table_2112260_1 WHERE website = "jstu.edu.bd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, kinship VARCHAR)
### Question:
Name the ptor-austronesian for father
### Answer:
SELECT proto_austronesian FROM table_15568886_14 WHERE kinship = "father" |
Below is an context that describes a sql 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 (method VARCHAR, event VARCHAR)
### Question:
What was the method for the UFC Fight Night 10 event?
### Answer:
SELECT method FROM table_name_11 WHERE event = "ufc fight night 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_23829490_1 (composition_name VARCHAR, genre VARCHAR, music_library VARCHAR, media_type VARCHAR)
### Question:
What is every composition name when the music library is Heart of Asia and media type is album with the Trance genre?
### Answer:
SELECT composition_name FROM table_23829490_1 WHERE music_library = "Heart of Asia" AND media_type = "Album" AND genre = "Trance" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20193855_2 (year VARCHAR, book_title VARCHAR)
### Question:
Which year is the book title the ordinary?
### Answer:
SELECT year FROM table_20193855_2 WHERE book_title = "The Ordinary" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18424435_5 (us_air_date VARCHAR, canadian_viewers__million_ VARCHAR)
### Question:
Which air dates have 1.229 canadian viewers (millions)?
### Answer:
SELECT us_air_date FROM table_18424435_5 WHERE canadian_viewers__million_ = "1.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_53 (away_team VARCHAR, venue VARCHAR)
### Question:
Who was the away team at the game held at Arden Street Oval?
### Answer:
SELECT away_team FROM table_name_53 WHERE venue = "arden street 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_52 (avg_g INTEGER, name VARCHAR, gain VARCHAR, long VARCHAR, loss VARCHAR)
### Question:
Which Avg/G is the lowest one that has a Long larger than 8, and a Loss smaller than 34, and a Gain larger than 16, and a Name of bullock, chris?
### Answer:
SELECT MIN(avg_g) FROM table_name_52 WHERE long > 8 AND loss < 34 AND gain > 16 AND name = "bullock, chris" |
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR)
### Question:
What is Date, when Score is 6-3, 4-6, 0-6?
### Answer:
SELECT date FROM table_name_88 WHERE score = "6-3, 4-6, 0-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_82 (winner VARCHAR, name VARCHAR)
### Question:
Name the winner for schimatari 1
### Answer:
SELECT winner FROM table_name_82 WHERE name = "schimatari 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_2220432_1 (report VARCHAR, team VARCHAR)
### Question:
What was the report in the race where the winning team was Roush Fenway Racing?
### Answer:
SELECT report FROM table_2220432_1 WHERE team = "Roush Fenway Racing" |
Below is an context that describes a sql 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 (record VARCHAR, score VARCHAR)
### Question:
What is the record of the game with a score of 101–92?
### Answer:
SELECT record FROM table_name_29 WHERE score = "101–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_92 (played INTEGER, draw INTEGER)
### Question:
What is the lowest number of games played where they tied more than 7 of them?
### Answer:
SELECT MIN(played) FROM table_name_92 WHERE draw > 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_2668169_2 (candidates VARCHAR, district VARCHAR)
### Question:
How many people won the election in the Pennsylvania 11 district?
### Answer:
SELECT COUNT(candidates) FROM table_2668169_2 WHERE district = "Pennsylvania 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_86 (game VARCHAR, record VARCHAR, points VARCHAR)
### Question:
How many games have a record of 30–25–9 and more points than 69?
### Answer:
SELECT COUNT(game) FROM table_name_86 WHERE record = "30–25–9" AND points > 69 |
Below is an context that describes a sql 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 (points INTEGER, year INTEGER)
### Question:
What is the lowest points of British Racing after 1963?
### Answer:
SELECT MIN(points) FROM table_name_90 WHERE year > 1963 |
Below is an context that describes a sql 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 (player VARCHAR, runs VARCHAR)
### Question:
Which player's runs are 270?
### Answer:
SELECT player FROM table_name_43 WHERE runs = "270" |
Below is an context that describes a sql 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 (length VARCHAR, race VARCHAR)
### Question:
What is the length of the 6 Hours of Talladega?
### Answer:
SELECT length FROM table_name_82 WHERE race = "6 hours of talladega" |
Below is an context that describes a sql 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 (caps INTEGER, club_province VARCHAR, position VARCHAR)
### Question:
What is the average number of caps for Meralomas with positions of centre?
### Answer:
SELECT AVG(caps) FROM table_name_75 WHERE club_province = "meralomas" AND position = "centre" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Faculty (phone VARCHAR, room VARCHAR, building VARCHAR, Fname VARCHAR, Lname VARCHAR)
### Question:
Show the phone, room, and building for the faculty named Jerry Prince.
### Answer:
SELECT phone, room, building FROM Faculty WHERE Fname = "Jerry" AND Lname = "Prince" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Products (Product_ID VARCHAR, Product_price INTEGER); CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Product_ID VARCHAR); CREATE TABLE Customer_Orders (Order_Date VARCHAR, Order_ID VARCHAR)
### Question:
What are the order dates of orders with price higher than 1000?
### Answer:
SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID JOIN Products AS T3 ON T2.Product_ID = T3.Product_ID WHERE T3.Product_price > 1000 |
Below is an context that describes a sql 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 (tie_no VARCHAR, home_team VARCHAR)
### Question:
What is home team Chelsea's Tie no?
### Answer:
SELECT tie_no FROM table_name_83 WHERE home_team = "chelsea" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28046929_2 (car VARCHAR, driver VARCHAR)
### Question:
what is the type of vehicle driven by mark higgins
### Answer:
SELECT car FROM table_28046929_2 WHERE driver = "Mark Higgins" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (pinnacle_height VARCHAR, town VARCHAR)
### Question:
What is the Pinnacle height for Metcalf, Georgia?
### Answer:
SELECT pinnacle_height FROM table_name_17 WHERE town = "metcalf, georgia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1604579_2 (country VARCHAR)
### Question:
How economically free is the country of Armenia?
### Answer:
SELECT 2013 AS _index_of_economic_freedom FROM table_1604579_2 WHERE country = "Armenia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23938357_7 (ws_points VARCHAR)
### Question:
What is the smallest 08-09 GP/JGP 2nd value when WS points equals 3197?
### Answer:
SELECT MIN(08 AS _09_gp_jgp_2nd) FROM table_23938357_7 WHERE ws_points = 3197 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (fastest_laps INTEGER, seasons VARCHAR, poles VARCHAR, podiums VARCHAR)
### Question:
What's the fastest laps during the 1995 season having poles & podiums at 0?
### Answer:
SELECT SUM(fastest_laps) FROM table_name_2 WHERE poles = 0 AND podiums = 0 AND seasons = "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 Course_Authors_and_Tutors (author_id VARCHAR, personal_name VARCHAR); CREATE TABLE Courses (course_name VARCHAR, author_id VARCHAR)
### Question:
Find the names of courses taught by the tutor who has personal name "Julio".
### Answer:
SELECT T2.course_name FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id WHERE T1.personal_name = "Julio" |
Below is an context that describes a sql 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 (school VARCHAR, player VARCHAR)
### Question:
Tell me the school that jason fraser went to
### Answer:
SELECT school FROM table_name_14 WHERE player = "jason fraser" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
Name the 2008 with 2010 of 2r and wimbledon tournament
### Answer:
SELECT 2008 FROM table_name_58 WHERE 2010 = "2r" AND tournament = "wimbledon" |
Below is an context that describes a sql 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 (runners VARCHAR, placing INTEGER)
### Question:
How many Runners have a Placing that isn't 1?
### Answer:
SELECT COUNT(runners) FROM table_name_55 WHERE placing > 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_17323092_7 (high_rebounds VARCHAR, high_assists VARCHAR)
### Question:
When the high assists were Shawn Marion (6) who had high rebounds?
### Answer:
SELECT high_rebounds FROM table_17323092_7 WHERE high_assists = "Shawn Marion (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_15838081_3 (series__number INTEGER, writer_s_ VARCHAR)
### Question:
Name the most series number for giula sandler
### Answer:
SELECT MAX(series__number) FROM table_15838081_3 WHERE writer_s_ = "Giula Sandler" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (surface VARCHAR, date VARCHAR)
### Question:
What was the surface in 1981?
### Answer:
SELECT surface FROM table_name_56 WHERE date = 1981 |
Below is an context that describes a sql 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 (competition VARCHAR, date VARCHAR)
### Question:
Which competition was on August 11, 1996?
### Answer:
SELECT competition FROM table_name_42 WHERE date = "august 11, 1996" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (born_in_other_eu_state__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR, total_population__millions_ VARCHAR)
### Question:
What was the average number of people born in other EU states in millions, when the number of people born in a non EU state in millions was 31.368, and when the total population in millions was higher than 501.098?
### Answer:
SELECT AVG(born_in_other_eu_state__millions_) FROM table_name_88 WHERE born_in_a_non_eu_state__millions_ = 31.368 AND total_population__millions_ > 501.098 |
Below is an context that describes a sql 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 (accreditation_type VARCHAR, accreditation_level VARCHAR, company_name VARCHAR)
### Question:
When the Nokia corporation had an accreditation level of joyn, what was the accreditation type?
### Answer:
SELECT accreditation_type FROM table_name_5 WHERE accreditation_level = "joyn" AND company_name = "nokia corporation" |
Below is an context that describes a sql 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 (gross VARCHAR, rank VARCHAR, director VARCHAR)
### Question:
WHAT IS THE GROSS DOLLARS WITH A RANK OF 7 OR MORE, AND DIRECTOR BARRY LEVINSON?
### Answer:
SELECT gross FROM table_name_71 WHERE rank > 7 AND director = "barry levinson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27756314_8 (date VARCHAR, team VARCHAR)
### Question:
What is the date for the game with team orlando?
### Answer:
SELECT date FROM table_27756314_8 WHERE team = "Orlando" |
Below is an context that describes a sql 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 (l1_cache VARCHAR, model_number VARCHAR)
### Question:
What is the L1 Cache, when the Model Number is X5-133 ADY?
### Answer:
SELECT l1_cache FROM table_name_88 WHERE model_number = "x5-133 ady" |
Below is an context that describes a sql 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 (long INTEGER, yards VARCHAR, car VARCHAR)
### Question:
Who has a highest Long with 26 Yards and less than 9 Car?
### Answer:
SELECT MAX(long) FROM table_name_84 WHERE yards = "26" AND car < 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_16 (player VARCHAR, years_in_orlando VARCHAR)
### Question:
Who was the Player that spent the Year 2005 in Orlando?
### Answer:
SELECT player FROM table_name_16 WHERE years_in_orlando = "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_24 (solo_blocks INTEGER, assists VARCHAR, season VARCHAR, errors VARCHAR, kills VARCHAR)
### Question:
When there are more than 126 errors, more than 551 kills, and more than 40 assists for the 2007 season, what is the total of Solo Blocks?
### Answer:
SELECT SUM(solo_blocks) FROM table_name_24 WHERE errors > 126 AND kills > 551 AND season = "2007" AND assists > 40 |
Below is an context that describes a sql 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 (nat VARCHAR, ends VARCHAR)
### Question:
What's the nat that ends in 2009?
### Answer:
SELECT nat FROM table_name_93 WHERE ends = "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_62 (lowest_elevation VARCHAR, highest_point VARCHAR)
### Question:
What is the lowest elevation value whose highest point is Mont Raimeux?
### Answer:
SELECT lowest_elevation FROM table_name_62 WHERE highest_point = "mont raimeux" |
Below is an context that describes a sql 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 (driver VARCHAR, time VARCHAR)
### Question:
What is name of the drive with a Time of +13.315?
### Answer:
SELECT driver FROM table_name_85 WHERE time = "+13.315" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11206916_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
### Question:
What is the date of appointment for outgoing manager Campbell Money
### Answer:
SELECT date_of_appointment FROM table_11206916_2 WHERE outgoing_manager = "Campbell Money" |
Below is an context that describes a sql 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 (year INTEGER, venue VARCHAR, event VARCHAR, result VARCHAR)
### Question:
What is earliest year that had a 50km event with a 2nd place result played in London, United Kingdom?
### Answer:
SELECT MIN(year) FROM table_name_8 WHERE event = "50km" AND result = "2nd" AND venue = "london, united kingdom" |
Below is an context that describes a sql 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 (crowd INTEGER, home_team VARCHAR)
### Question:
Who is Essendon's home team?
### Answer:
SELECT MIN(crowd) FROM table_name_94 WHERE home_team = "essendon" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What score has april 28 as the date?
### Answer:
SELECT score FROM table_name_5 WHERE date = "april 28" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17625749_3 (try_bonus VARCHAR, tries_against VARCHAR)
### Question:
What is the try bonus when the tries against are 17?
### Answer:
SELECT try_bonus FROM table_17625749_3 WHERE tries_against = "17" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_39 (year_s_ VARCHAR, rank VARCHAR, player VARCHAR)
### Question:
During what years was álvaro pérez the number 2 ranked player?
### Answer:
SELECT year_s_ FROM table_name_39 WHERE rank = 2 AND player = "álvaro pérez" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12570759_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
How many episodes were watched by 12.72 million U.S. viewers?
### Answer:
SELECT COUNT(written_by) FROM table_12570759_2 WHERE us_viewers__millions_ = "12.72" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14637853_3 (directed_by VARCHAR, original_air_date VARCHAR)
### Question:
who directed with original air date being november18,1995
### Answer:
SELECT directed_by FROM table_14637853_3 WHERE original_air_date = "November18,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_93 (kickoff VARCHAR, week VARCHAR)
### Question:
When was the kickoff time of the SB XXXVI?
### Answer:
SELECT kickoff FROM table_name_93 WHERE week = "sb xxxvi" |
Below is an context that describes a sql 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 (control VARCHAR, conservative_party VARCHAR)
### Question:
What was the control for the year with a Conservative Party result of 10 (+5)?
### Answer:
SELECT control FROM table_name_70 WHERE conservative_party = "10 (+5)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (score VARCHAR, home VARCHAR, date VARCHAR)
### Question:
What score has vancouver as the home, and february 16 as the date?
### Answer:
SELECT score FROM table_name_81 WHERE home = "vancouver" AND date = "february 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_16 (year VARCHAR, entrant VARCHAR)
### Question:
What year was trio brdeact wind allass the entrant?
### Answer:
SELECT year FROM table_name_16 WHERE entrant = "trio brdeact wind allass" |
Below is an context that describes a sql 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 (cup_apps__sub_ VARCHAR, cup_goals VARCHAR)
### Question:
Which Cup Apps (sub) had 2 goals?
### Answer:
SELECT cup_apps__sub_ FROM table_name_59 WHERE cup_goals = "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_39 (house_1950 VARCHAR, governors_1950 VARCHAR)
### Question:
What shows for House 1950 when the Governors 1950 show governors 1995?
### Answer:
SELECT house_1950 FROM table_name_39 WHERE governors_1950 = "governors 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_31 (time INTEGER, year VARCHAR, event VARCHAR)
### Question:
What's the highest time for the 1995 200 metres event?
### Answer:
SELECT MAX(time) FROM table_name_31 WHERE year = 1995 AND event = "200 metres" |
Below is an context that describes a sql 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 (team_1 VARCHAR, team_2 VARCHAR)
### Question:
Who played as Team 1 against Lomé i?
### Answer:
SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i" |
Below is an context that describes a sql 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 (set_5 VARCHAR, date VARCHAR, set_4 VARCHAR)
### Question:
What is the set 5 if the Date is jun 7, and a Set 4 is 21-25?
### Answer:
SELECT set_5 FROM table_name_65 WHERE date = "jun 7" AND set_4 = "21-25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (team_1 VARCHAR)
### Question:
What's the 1st leg score when Team 1 was Gor Mahia?
### Answer:
SELECT 1 AS st_leg FROM table_name_1 WHERE team_1 = "gor mahia" |
Below is an context that describes a sql 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 (length VARCHAR, remarks VARCHAR)
### Question:
What is the length of the highway with remarks that it was replaced by bsi-35?
### Answer:
SELECT length FROM table_name_77 WHERE remarks = "replaced by bsi-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_name_80 (week INTEGER, attendance VARCHAR)
### Question:
Attendance of 19,741 had what average week?
### Answer:
SELECT AVG(week) FROM table_name_80 WHERE attendance = "19,741" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (record VARCHAR, event VARCHAR)
### Question:
What is the record for the Superbrawl 21?
### Answer:
SELECT record FROM table_name_68 WHERE event = "superbrawl 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_4 (winner VARCHAR, last_16 VARCHAR)
### Question:
Which Winner has a Last 16 of £400?
### Answer:
SELECT winner FROM table_name_4 WHERE last_16 = "£400" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (tournament VARCHAR, score_in_the_final VARCHAR)
### Question:
what tornament had the scores 6–7, 6–2, 6–4?
### Answer:
SELECT tournament FROM table_name_22 WHERE score_in_the_final = "6–7, 6–2, 6–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_73 (term_in_office VARCHAR, electorate VARCHAR)
### Question:
What term did an Electorate of indi have in office?
### Answer:
SELECT term_in_office FROM table_name_73 WHERE electorate = "indi" |
Below is an context that describes a sql 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 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
### Question:
When a race had less than 18 laps and time/retired of accident, what was the smallest grid?
### Answer:
SELECT MIN(grid) FROM table_name_16 WHERE time_retired = "accident" AND laps < 18 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342218_17 (candidates VARCHAR, party VARCHAR, incumbent VARCHAR)
### Question:
List all candidates in the democratic party where the election had the incumbent Frank Chelf running.
### Answer:
SELECT candidates FROM table_1342218_17 WHERE party = "Democratic" AND incumbent = "Frank Chelf" |
Below is an context that describes a sql 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 (college VARCHAR, player VARCHAR)
### Question:
What college did Leon Perry attend?
### Answer:
SELECT college FROM table_name_93 WHERE player = "leon perry" |
Below is an context that describes a sql 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 (losses INTEGER, geelong_dfl VARCHAR, draws VARCHAR)
### Question:
What are the average losses for Geelong DFL of Bell Post Hill where the draws are less than 0?
### Answer:
SELECT AVG(losses) FROM table_name_73 WHERE geelong_dfl = "bell post hill" AND draws < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (d_48_√ VARCHAR, d_49_√ VARCHAR)
### Question:
What is the D 48 √ with a D 49 √ with r 9?
### Answer:
SELECT d_48_√ FROM table_name_27 WHERE d_49_√ = "r 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_62 (runner_s__up VARCHAR, tournament VARCHAR)
### Question:
Which Runner(s)-up has a Tournament of cameron park open?
### Answer:
SELECT runner_s__up FROM table_name_62 WHERE tournament = "cameron park 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_86 (rank INTEGER, gold INTEGER)
### Question:
What is the average rank for nations with fewer than 0 gold medals?
### Answer:
SELECT AVG(rank) FROM table_name_86 WHERE gold < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (home VARCHAR, venue VARCHAR, score VARCHAR)
### Question:
Who was at Home at the Bucharest Venue with a Score of 9-9?
### Answer:
SELECT home FROM table_name_20 WHERE venue = "bucharest" AND score = "9-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_43 (score VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR)
### Question:
what is the score when the surface is carpet (i) outcome is winner and the championship is rotterdam, netherlands?
### Answer:
SELECT score FROM table_name_43 WHERE surface = "carpet (i)" AND outcome = "winner" AND championship = "rotterdam, netherlands" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11147852_1 (owned_since VARCHAR, city_of_license_market VARCHAR)
### Question:
The station located in Albuquerque has been owned since what year?
### Answer:
SELECT owned_since FROM table_11147852_1 WHERE city_of_license_market = "Albuquerque" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (score VARCHAR, competition VARCHAR, date VARCHAR)
### Question:
What is the Score of West Asian Games 2005 on 10 dec 2005?
### Answer:
SELECT score FROM table_name_44 WHERE competition = "west asian games 2005" AND date = "10 dec 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_61 (nba_draft VARCHAR, player VARCHAR)
### Question:
Which NBA Draft had Labradford Smith?
### Answer:
SELECT nba_draft FROM table_name_61 WHERE player = "labradford smith" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10812293_6 (high_assists VARCHAR, date VARCHAR)
### Question:
Who got high assists for the game played on February 9?
### Answer:
SELECT high_assists FROM table_10812293_6 WHERE date = "February 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 journal (Theme VARCHAR)
### Question:
Show the distinct themes of journals.
### Answer:
SELECT DISTINCT Theme FROM journal |
Below is an context that describes a sql 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 (date VARCHAR, circuit VARCHAR)
### Question:
When was the circuit portland international raceway?
### Answer:
SELECT date FROM table_name_28 WHERE circuit = "portland international raceway" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE perpetrator (LOCATION VARCHAR, Killed VARCHAR)
### Question:
What is the location of the perpetrator with the largest kills.
### Answer:
SELECT LOCATION FROM perpetrator ORDER BY Killed 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_64 (lost VARCHAR, _percentage_won VARCHAR)
### Question:
Name the lost for % won of 55.37
### Answer:
SELECT lost FROM table_name_64 WHERE _percentage_won = "55.37" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27303975_3 (studio VARCHAR, title VARCHAR)
### Question:
How many times is the title am/pm callanetics?
### Answer:
SELECT COUNT(studio) FROM table_27303975_3 WHERE title = "AM/PM Callanetics" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (capacity VARCHAR, name VARCHAR)
### Question:
what is the capacity when the name is 1.2 16v?
### Answer:
SELECT capacity FROM table_name_68 WHERE name = "1.2 16v" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE degrees (Id VARCHAR); CREATE TABLE campuses (Id VARCHAR)
### Question:
What are the degrees conferred in "San Francisco State University" in 2001.
### Answer:
SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND t2.year = 2001 |
Below is an context that describes a sql 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 (tournament VARCHAR, date VARCHAR)
### Question:
Which tournament included the round played on 14 May?
### Answer:
SELECT tournament FROM table_name_70 WHERE date = "14 may" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.