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_10586064_2 (county VARCHAR, total VARCHAR)
### Question:
What country had the total 18,900 (r)?
### Answer:
SELECT county FROM table_10586064_2 WHERE total = "18,900 (R)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1008653_1 (capital___endonym__ VARCHAR, country___endonym__ VARCHAR)
### Question:
How many capital cities does Australia have?
### Answer:
SELECT COUNT(capital___endonym__) FROM table_1008653_1 WHERE country___endonym__ = "Australia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR)
### Question:
Name the syrian christians for thiruvananthapuram
### Answer:
SELECT syrian_christians FROM table_23214055_2 WHERE district = "Thiruvananthapuram" |
Below is an context that describes a 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_36 (results VARCHAR, district VARCHAR)
### Question:
What were the results for the district oklahoma 5?
### Answer:
SELECT results FROM table_1341423_36 WHERE district = "Oklahoma 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_19 (away_team VARCHAR, ground VARCHAR)
### Question:
What is Away Team, when Ground is Colonial Stadium?
### Answer:
SELECT away_team FROM table_name_19 WHERE ground = "colonial stadium" |
Below is an context that describes a sql 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 (world_record VARCHAR)
### Question:
For what 188kg is the world record clean & jerk?
### Answer:
SELECT 188 AS kg FROM table_name_96 WHERE world_record = "clean & jerk" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Staff (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR)
### Question:
List the first name middle name and last name of all staff.
### Answer:
SELECT first_name, middle_name, last_name FROM Staff |
Below is an context that describes a sql 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 (record VARCHAR, attendance VARCHAR)
### Question:
What is the record of the game with 18,084 in attendance?
### Answer:
SELECT record FROM table_name_1 WHERE attendance = "18,084" |
Below is an context that describes a sql 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 (position VARCHAR, name VARCHAR)
### Question:
What is the Postion, when the Name is Rod Paavola?
### Answer:
SELECT position FROM table_name_27 WHERE name = "rod paavola" |
Below is an context that describes a sql 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 (type VARCHAR, newspaper_magazine VARCHAR)
### Question:
What is Type, when Newspaper/Magazine is Telecoms & It Magazine?
### Answer:
SELECT type FROM table_name_97 WHERE newspaper_magazine = "telecoms & it magazine" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17778417_1 (record VARCHAR, opponent VARCHAR)
### Question:
How many times did the Denver Broncos face the Dallas Texans this season?
### Answer:
SELECT COUNT(record) FROM table_17778417_1 WHERE opponent = "Dallas Texans" |
Below is an context that describes a sql 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 (status VARCHAR, vehicle_types VARCHAR)
### Question:
what status is the vehicle types of dmbs+tcl+dmcl?
### Answer:
SELECT status FROM table_name_55 WHERE vehicle_types = "dmbs+tcl+dmcl" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11206787_5 (stadium VARCHAR, team VARCHAR)
### Question:
What is the stadium for alloa athletic?
### Answer:
SELECT stadium FROM table_11206787_5 WHERE team = "Alloa Athletic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27537518_4 (score VARCHAR, game VARCHAR)
### Question:
What was the score for game #1?
### Answer:
SELECT score FROM table_27537518_4 WHERE game = 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_55 (region VARCHAR, date VARCHAR)
### Question:
What was the region of the release from May 27, 2009?
### Answer:
SELECT region FROM table_name_55 WHERE date = "may 27, 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_65 (format VARCHAR, region VARCHAR, catalogue VARCHAR)
### Question:
What format has United Kingdom as its region and is catalogued as 201457 9?
### Answer:
SELECT format FROM table_name_65 WHERE region = "united kingdom" AND catalogue = "201457 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_1473672_8 (college_junior_club_team VARCHAR, position VARCHAR)
### Question:
Name the college/junior/club team for left wing
### Answer:
SELECT college_junior_club_team FROM table_1473672_8 WHERE position = "Left Wing" |
Below is an context that describes a sql 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 (country VARCHAR, series_premiere VARCHAR)
### Question:
Which country had a series that premiered on September 4, 2006?
### Answer:
SELECT country FROM table_name_77 WHERE series_premiere = "september 4, 2006" |
Below is an context that describes a sql 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 (player VARCHAR, original_nfl_team VARCHAR)
### Question:
What player's original team are the Buffalo Bills?
### Answer:
SELECT player FROM table_name_31 WHERE original_nfl_team = "buffalo bills" |
Below is an context that describes a sql 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 (engine VARCHAR, team VARCHAR)
### Question:
Tell me the engine for dhg tom's racing
### Answer:
SELECT engine FROM table_name_88 WHERE team = "dhg tom's 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_54 (score VARCHAR, home_team VARCHAR)
### Question:
When the home team was Shrewsbury town, what was the score?
### Answer:
SELECT score FROM table_name_54 WHERE home_team = "shrewsbury town" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23840623_4 (dirty_electric_grid_rocky_mountains__denver_ VARCHAR, clean_electric_grid_california__san_francisco_ VARCHAR)
### Question:
What is the dirty electric grid rocky mountains (denver) for the vehicle with the clean electric grid california (san francisco) of 160 g/mi (99 g/km)?
### Answer:
SELECT dirty_electric_grid_rocky_mountains__denver_ FROM table_23840623_4 WHERE clean_electric_grid_california__san_francisco_ = "160 g/mi (99 g/km)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29546142_2 (pa INTEGER, w VARCHAR)
### Question:
Name the least pa for w being 2
### Answer:
SELECT MIN(pa) FROM table_29546142_2 WHERE w = 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (engine VARCHAR, team VARCHAR, chassis VARCHAR)
### Question:
Which Engine has a Team of Chesterfield Racing and include a Chassis of March 761?
### Answer:
SELECT engine FROM table_name_51 WHERE team = "chesterfield racing" AND chassis = "march 761" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1376890_2 (chroma_format VARCHAR, scalable_modes VARCHAR, intra_dc_precision VARCHAR)
### Question:
what's the chroma format with scalable modes being snr- or spatial-scalable and intra dc precbeingion being 8, 9, 10
### Answer:
SELECT chroma_format FROM table_1376890_2 WHERE scalable_modes = "SNR- or spatial-scalable" AND intra_dc_precision = "8, 9, 10" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (winning_score VARCHAR, tournament VARCHAR)
### Question:
What was the winning score for the Andy Williams-San Diego Open Invitational tournament?
### Answer:
SELECT winning_score FROM table_name_60 WHERE tournament = "andy williams-san diego open invitational" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
What is the away team's score at princes park?
### Answer:
SELECT away_team AS score FROM table_name_49 WHERE venue = "princes park" |
Below is an context that describes a sql 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 (lost INTEGER, against VARCHAR, played VARCHAR, team VARCHAR)
### Question:
What is the Lowest lost for Team Ypiranga-SP where the games Played is more than 10 and the goals Against is greater than 50?
### Answer:
SELECT MIN(lost) FROM table_name_71 WHERE played > 10 AND team = "ypiranga-sp" AND against > 50 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16734640_1 (location VARCHAR, institution VARCHAR)
### Question:
Name the number location of georgia perimeter college
### Answer:
SELECT COUNT(location) FROM table_16734640_1 WHERE institution = "Georgia Perimeter College" |
Below is an context that describes a sql 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 (ngc_number INTEGER, right_ascension___j2000__ VARCHAR)
### Question:
Tell me the highest NGC number for right ascension of 09h40m28.5s
### Answer:
SELECT MAX(ngc_number) FROM table_name_57 WHERE right_ascension___j2000__ = "09h40m28.5s" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11552751_2 (total_number_of_ways VARCHAR)
### Question:
When was the delevery date when there were 12 ways of delivery?
### Answer:
SELECT 1 AS st_ship_delivery_date FROM table_11552751_2 WHERE total_number_of_ways = "12 ways" |
Below is an context that describes a sql 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 (name VARCHAR, points VARCHAR)
### Question:
Tell me the name with points of 151.66
### Answer:
SELECT name FROM table_name_7 WHERE points = 151.66 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (wins INTEGER, position VARCHAR, loses VARCHAR)
### Question:
What is the lowest wins the club with a position of 4 and less than 4 losses has?
### Answer:
SELECT MIN(wins) FROM table_name_67 WHERE position = 4 AND loses < 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_7 (name VARCHAR, other VARCHAR)
### Question:
Which player has an Other of 3 (15)?
### Answer:
SELECT name FROM table_name_7 WHERE other = "3 (15)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_10 (player VARCHAR, school VARCHAR)
### Question:
What player represented Vista Murrieta High School?
### Answer:
SELECT player FROM table_11677691_10 WHERE school = "Vista Murrieta High school" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22815568_12 (unemployment_rate VARCHAR, population VARCHAR)
### Question:
Name the unemployment rate for 34024
### Answer:
SELECT COUNT(unemployment_rate) FROM table_22815568_12 WHERE population = 34024 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_74 (venue VARCHAR, goals VARCHAR, assists VARCHAR)
### Question:
Where were less than 72 goals made and more than 40 assists made?
### Answer:
SELECT venue FROM table_name_74 WHERE goals < 72 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_25322130_3 (circuit VARCHAR, date VARCHAR)
### Question:
Name the circuit for 13 july
### Answer:
SELECT circuit FROM table_25322130_3 WHERE date = "13 July" |
Below is an context that describes a sql 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 (record VARCHAR, visitor VARCHAR)
### Question:
What is the record when the visitor is Buffalo?
### Answer:
SELECT record FROM table_name_69 WHERE visitor = "buffalo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28523_2 (school VARCHAR)
### Question:
What is the website of the cunningham hill infant school?
### Answer:
SELECT school AS website FROM table_28523_2 WHERE school = "Cunningham Hill Infant school" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE prescribes (physician VARCHAR, dose VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR)
### Question:
What are the names of the physician who prescribed the highest dose?
### Answer:
SELECT T1.name FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician ORDER BY T2.dose 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_30 (iata VARCHAR, state_territory VARCHAR, icao VARCHAR)
### Question:
What IATA has queensland as the state/territory and an ICAO of ybrk?
### Answer:
SELECT iata FROM table_name_30 WHERE state_territory = "queensland" AND icao = "ybrk" |
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR)
### Question:
What player scored 70-73-69-72=284?
### Answer:
SELECT player FROM table_name_39 WHERE score = 70 - 73 - 69 - 72 = 284 |
Below is an context that describes a sql 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 (location_attendance VARCHAR, date VARCHAR)
### Question:
What was the location of the game on February 2?
### Answer:
SELECT location_attendance FROM table_name_50 WHERE date = "february 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_70 (birthplace VARCHAR, birthdate VARCHAR, height__in_ VARCHAR, position VARCHAR)
### Question:
Which birthplace's height in inches was more than 192 when the position was d and the birthday was April 5, 1983?
### Answer:
SELECT birthplace FROM table_name_70 WHERE height__in_ > 192 AND position = "d" AND birthdate = "april 5, 1983" |
Below is an context that describes a sql 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 (saka_era VARCHAR, months_in_malayalam_era VARCHAR)
### Question:
WHAT IS THE SAKA ERA WITH MONTHS IN MEDAM?
### Answer:
SELECT saka_era FROM table_name_77 WHERE months_in_malayalam_era = "medam" |
Below is an context that describes a sql 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 (production_number VARCHAR, title VARCHAR)
### Question:
What is Crows' Feat's production number?
### Answer:
SELECT production_number FROM table_name_49 WHERE title = "crows' feat" |
Below is an context that describes a sql 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 (date VARCHAR, road_team VARCHAR, game VARCHAR)
### Question:
On what Date is Game 3 with Boston Road Team?
### Answer:
SELECT date FROM table_name_93 WHERE road_team = "boston" AND game = "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_262514_1 (joined VARCHAR, nickname VARCHAR)
### Question:
What is every year for joined with the Ravens nickname?
### Answer:
SELECT joined FROM table_262514_1 WHERE nickname = "Ravens" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24101118_1 (processor VARCHAR, model__list_ VARCHAR)
### Question:
what is the name of the processor for model x33x0?
### Answer:
SELECT processor FROM table_24101118_1 WHERE model__list_ = "X33x0" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR, result VARCHAR)
### Question:
who is the opponent on 2004-06-26 with the result of loss?
### Answer:
SELECT opponent FROM table_name_78 WHERE date = "2004-06-26" AND result = "loss" |
Below is an context that describes a sql 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 (recnet VARCHAR, class VARCHAR, power VARCHAR)
### Question:
What is the RECNet belonging to Class A with a Power of 3,000 watts?
### Answer:
SELECT recnet FROM table_name_75 WHERE class = "a" AND power = "3,000 watts" |
Below is an context that describes a sql 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 (player VARCHAR, nationality VARCHAR, pick VARCHAR)
### Question:
Who is the player from Canada with a 199 pick?
### Answer:
SELECT player FROM table_name_75 WHERE nationality = "canada" AND pick = "199" |
Below is an context that describes a sql 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 (runner_s__up VARCHAR, year VARCHAR)
### Question:
What are the Runner(s)-up of the 1956 Championship?
### Answer:
SELECT runner_s__up FROM table_name_52 WHERE year = "1956" |
Below is an context that describes a sql 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 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
### Question:
Tell me the manner of departure for 3 january date of appointment
### Answer:
SELECT manner_of_departure FROM table_name_1 WHERE date_of_appointment = "3 january" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2985987_2 (date VARCHAR, race VARCHAR)
### Question:
What many times was the victoria derby raced?
### Answer:
SELECT COUNT(date) FROM table_2985987_2 WHERE race = "Victoria Derby" |
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR)
### Question:
Who were the opponents for week 12?
### Answer:
SELECT opponent FROM table_name_31 WHERE week = 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_13998897_1 (height_m___ft__ VARCHAR, frequency_mhz VARCHAR)
### Question:
how many height m ( ft ) with frequency mhz being 100.1
### Answer:
SELECT COUNT(height_m___ft__) FROM table_13998897_1 WHERE frequency_mhz = "100.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_20396710_1 (drawn VARCHAR)
### Question:
when points against is points again, which are the drawn?
### Answer:
SELECT drawn FROM table_20396710_1 WHERE "points_against" = "points_against" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23759976_1 (height__m_ VARCHAR, floors VARCHAR)
### Question:
How tall is the building with 36 floors?
### Answer:
SELECT height__m_ FROM table_23759976_1 WHERE floors = 36 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668352_11 (first_elected INTEGER)
### Question:
Name the least first elected
### Answer:
SELECT MIN(first_elected) FROM table_2668352_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_11 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
### Question:
What ist he entrant later than 1963 with an eagle MK1 chassis?
### Answer:
SELECT entrant FROM table_name_11 WHERE year > 1963 AND chassis = "eagle mk1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table (r VARCHAR, total VARCHAR, position VARCHAR)
### Question:
What is the R when the total is 1 and the position is fw?
### Answer:
SELECT r FROM table WHERE total = 1 AND position = "FW" |
Below is an context that describes a sql 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 (class VARCHAR, quantity_made VARCHAR)
### Question:
Which class had a quantity made of 20?
### Answer:
SELECT class FROM table_name_19 WHERE quantity_made = "20" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20760802_1 (points_difference VARCHAR, points_for VARCHAR)
### Question:
How many points differ from 134?
### Answer:
SELECT points_difference FROM table_20760802_1 WHERE points_for = "134" |
Below is an context that describes a sql 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 (school VARCHAR, location VARCHAR)
### Question:
Which school is located in trafalgar?
### Answer:
SELECT school FROM table_name_73 WHERE location = "trafalgar" |
Below is an context that describes a sql 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 (yards INTEGER, game_time VARCHAR, date VARCHAR)
### Question:
Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards?
### Answer:
SELECT AVG(yards) FROM table_name_2 WHERE game_time = "2nd quarter (0:00)" AND date = "november 8, 1971" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668378_13 (candidates VARCHAR, district VARCHAR)
### Question:
who was running in the section pennsylvania 5
### Answer:
SELECT candidates FROM table_2668378_13 WHERE district = "Pennsylvania 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_14 (league_goals VARCHAR, name VARCHAR)
### Question:
What is the total number of league goals for Simon Charlton?
### Answer:
SELECT COUNT(league_goals) FROM table_name_14 WHERE name = "simon charlton" |
Below is an context that describes a sql 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 (high_points VARCHAR, high_rebounds VARCHAR, date VARCHAR)
### Question:
Which High points have High rebounds of lamar odom (15), and a Date of april 27?
### Answer:
SELECT high_points FROM table_name_80 WHERE high_rebounds = "lamar odom (15)" AND date = "april 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_18052353_4 (treasurer VARCHAR, year VARCHAR)
### Question:
Who was treasurer in 2008?
### Answer:
SELECT treasurer FROM table_18052353_4 WHERE year = "2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (population VARCHAR, germans VARCHAR)
### Question:
What is the population of the year featuring an 87.5% German population?
### Answer:
SELECT population FROM table_name_51 WHERE germans = "87.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_19744915_3 (public_vote VARCHAR, couple VARCHAR)
### Question:
what is the public vote on graeme & kristina
### Answer:
SELECT public_vote FROM table_19744915_3 WHERE couple = "Graeme & Kristina" |
Below is an context that describes a sql 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 (term_end VARCHAR, term_start VARCHAR)
### Question:
When did the term end for the person who started their term on 28 November 1912?
### Answer:
SELECT term_end FROM table_name_89 WHERE term_start = "28 november 1912" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (tournament VARCHAR)
### Question:
What shows for 2010 when 2011 is 1r at the US Open tournament?
### Answer:
SELECT 2010 FROM table_name_35 WHERE 2011 = "1r" AND tournament = "us open" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (monday_to_friday VARCHAR, el_canal_de_las_estrellas VARCHAR)
### Question:
When does the El Canal de las Estrellas of pop tv show from Monday to Friday?
### Answer:
SELECT monday_to_friday FROM table_name_87 WHERE el_canal_de_las_estrellas = "pop tv" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341549_10 (district VARCHAR, incumbent VARCHAR)
### Question:
Name the district of lawrence j. smith
### Answer:
SELECT district FROM table_1341549_10 WHERE incumbent = "Lawrence J. 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_name_86 (Id VARCHAR)
### Question:
Where were the 2009 and 2011 Grand Slam Tournaments?
### Answer:
SELECT 2011 FROM table_name_86 WHERE 2009 = "grand slam 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_name_10 (pick VARCHAR, year VARCHAR, overall VARCHAR, position VARCHAR, round VARCHAR)
### Question:
What number was the pick for the position of DT in 1952, after round 1, where the overall was less than 155?
### Answer:
SELECT pick FROM table_name_10 WHERE position = "dt" AND round > 1 AND overall < 155 AND year = "1952" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2840500_8 (pick INTEGER, player VARCHAR)
### Question:
Name the most pick for evgeny korolev
### Answer:
SELECT MAX(pick) FROM table_2840500_8 WHERE player = "Evgeny Korolev" |
Below is an context that describes a sql 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 (bahia VARCHAR, northeast_total VARCHAR)
### Question:
What is the value for Bahia when the Northeast total was 6747013?
### Answer:
SELECT bahia FROM table_name_97 WHERE northeast_total = "6747013" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23248940_6 (score VARCHAR, date VARCHAR)
### Question:
What is every score when date is November 10?
### Answer:
SELECT score FROM table_23248940_6 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_name_31 (melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR, product VARCHAR)
### Question:
What's the melamine content of 英雄牌嬰幼兒配方乳粉 having more than 1 samples failed?
### Answer:
SELECT melamine_content_mg_kg_ FROM table_name_31 WHERE samples_failed > 1 AND product = "英雄牌嬰幼兒配方乳粉" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24039173_1 (captain VARCHAR, location VARCHAR)
### Question:
Who is the captain in Chaguaramas?
### Answer:
SELECT captain FROM table_24039173_1 WHERE location = "Chaguaramas" |
Below is an context that describes a sql 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 (earned VARCHAR, rank VARCHAR)
### Question:
What earned has 5 for the rank?
### Answer:
SELECT earned FROM table_name_21 WHERE rank = 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_79 (venue VARCHAR, partnerships VARCHAR)
### Question:
What venue did the parntership of shoaib malik / misbah-ul-haq occur?
### Answer:
SELECT venue FROM table_name_79 WHERE partnerships = "shoaib malik / misbah-ul-haq" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17304621_14 (bandwidth VARCHAR, downstream VARCHAR, price_tl VARCHAR)
### Question:
What is the bandwidth for downstream of 20 mbit/s for 69 tl?
### Answer:
SELECT bandwidth FROM table_17304621_14 WHERE downstream = "20 Mbit/s" AND price_tl = "69 TL" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341472_51 (district VARCHAR, first_elected VARCHAR)
### Question:
What district first elected in 1978?
### Answer:
SELECT district FROM table_1341472_51 WHERE first_elected = 1978 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17118657_10 (date VARCHAR, location_attendance VARCHAR)
### Question:
On which date was the location/attendance UIC Pavilion 3,829 respectively?
### Answer:
SELECT date FROM table_17118657_10 WHERE location_attendance = "UIC Pavilion 3,829" |
Below is an context that describes a sql 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 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)
### Question:
What is the highest number of laps when honda is the manufacturer and the grid number is 12?
### Answer:
SELECT MAX(laps) FROM table_name_27 WHERE manufacturer = "honda" AND grid = 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_64 (date VARCHAR, loss VARCHAR)
### Question:
When did tavárez lose?
### Answer:
SELECT date FROM table_name_64 WHERE loss = "tavá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_27833186_1 (rider_names VARCHAR, location VARCHAR, horse_name VARCHAR)
### Question:
Who were the winning riders of the championship in Euer Valley, CA and whose horse was Magic Sirocco?
### Answer:
SELECT rider_names FROM table_27833186_1 WHERE location = "Euer Valley, CA" AND horse_name = "Magic Sirocco" |
Below is an context that describes a sql 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 (years VARCHAR, actor VARCHAR)
### Question:
What years have claudia ruffo as the actor?
### Answer:
SELECT years FROM table_name_18 WHERE actor = "claudia ruffo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12755786_8 (league VARCHAR, player VARCHAR)
### Question:
what is the tourney where the winner is kevin mckinlay?
### Answer:
SELECT league AS Cup FROM table_12755786_8 WHERE player = "Kevin McKinlay" |
Below is an context that describes a sql 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 (record VARCHAR, home VARCHAR, date VARCHAR)
### Question:
What is the record of the Hartford Whalers home team with the April 13 game date?
### Answer:
SELECT record FROM table_name_7 WHERE home = "hartford whalers" AND date = "april 13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (tied VARCHAR, losses VARCHAR, win__percentage VARCHAR)
### Question:
Who tied with 8 losses and 50% wins?
### Answer:
SELECT tied FROM table_name_19 WHERE losses = "8" AND win__percentage = "50%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16770037_3 (tries_against INTEGER, team VARCHAR, Bridgend VARCHAR)
### Question:
What are the tries against when they played against Bridgend?
### Answer:
SELECT MAX(tries_against) FROM table_16770037_3 WHERE team = Bridgend |
Below is an context that describes a sql 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 (high_assists VARCHAR, record VARCHAR)
### Question:
What is the High assists when the record was 28–40?
### Answer:
SELECT high_assists FROM table_name_64 WHERE record = "28–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_43 (authority VARCHAR, decile VARCHAR, roll VARCHAR)
### Question:
tell me the authority that has a decile less than 6 and roll less than 65.
### Answer:
SELECT authority FROM table_name_43 WHERE decile < 6 AND roll < 65 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25831483_1 (character VARCHAR, actor_actress VARCHAR)
### Question:
How many characters where actor/actress is larry lamb?
### Answer:
SELECT COUNT(character) FROM table_25831483_1 WHERE actor_actress = "Larry Lamb" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.