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_25 (year INTEGER, result VARCHAR, venue VARCHAR)
### Question:
What year has a result of 3 in the venue of Jarama.
### Answer:
SELECT MIN(year) FROM table_name_25 WHERE result = "3" AND venue = "jarama" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE WINE (Name VARCHAR, Grape VARCHAR, price VARCHAR); CREATE TABLE Grapes (Grape VARCHAR, Color VARCHAR)
### Question:
What are the wines that have prices higher than 50 and made of Red color grapes?
### Answer:
SELECT T2.Name FROM Grapes AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape WHERE T1.Color = "Red" AND T2.price > 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_15824796_3 (season__number INTEGER, original_air_date VARCHAR)
### Question:
What season began on december 5, 1953?
### Answer:
SELECT MAX(season__number) FROM table_15824796_3 WHERE original_air_date = "December 5, 1953" |
Below is an context that describes a sql 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 (total INTEGER, nation VARCHAR, silver VARCHAR)
### Question:
What is the total that wehn Lithuania is the nation, and Silver is more than 0?
### Answer:
SELECT MIN(total) FROM table_name_35 WHERE nation = "lithuania" AND 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_25751274_2 (episode_number VARCHAR, rating VARCHAR)
### Question:
How many episodes had rating/share (18-49) of 0.7/2 and a rating of 2.1?
### Answer:
SELECT COUNT(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 0.7 / 2 AND rating = "2.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_1939367_1 (arabs_2001 INTEGER, _percentage_2001 VARCHAR)
### Question:
If %2001 is 0.1%, what is the minimum Arabs 2001 number?
### Answer:
SELECT MIN(arabs_2001) FROM table_1939367_1 WHERE _percentage_2001 = "0.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_26259391_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR, directed_by VARCHAR)
### Question:
how many series had 6.55 u.s. viewers (million) and were directed by pete michels
### Answer:
SELECT COUNT(no_in_series) FROM table_26259391_1 WHERE us_viewers__million_ = "6.55" AND directed_by = "Pete Michels" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13779832_1 (local_title VARCHAR, television_network VARCHAR)
### Question:
how many local title with televbeingion network being tv nova website
### Answer:
SELECT COUNT(local_title) FROM table_13779832_1 WHERE television_network = "TV Nova Website" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (date VARCHAR, circuit VARCHAR)
### Question:
What Date has a Circuit of cremona?
### Answer:
SELECT date FROM table_name_36 WHERE circuit = "cremona" |
Below is an context that describes a sql 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 (record VARCHAR, time VARCHAR)
### Question:
What was the record after the bout lasting 4:15?
### Answer:
SELECT record FROM table_name_57 WHERE time = "4:15" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (film_or_series VARCHAR, result VARCHAR, category VARCHAR)
### Question:
Which film or series was nominated in the category of best fansite?
### Answer:
SELECT film_or_series FROM table_name_2 WHERE result = "nominated" AND category = "best fansite" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_272313_1 (aspect_ratio VARCHAR, vertical VARCHAR, pixel_aspect_ratio VARCHAR)
### Question:
What was the aspect ratio if the vertical pixel is 480 and pixel aspect ratio is 1:1?
### Answer:
SELECT aspect_ratio FROM table_272313_1 WHERE vertical = 480 AND pixel_aspect_ratio = "1: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_9 (score VARCHAR, date VARCHAR)
### Question:
What was the score on April 25?
### Answer:
SELECT score FROM table_name_9 WHERE date = "april 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_27987767_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR)
### Question:
When brive is the proceed to quarter final how many were eliminated from competition?
### Answer:
SELECT COUNT(eliminated_from_competition) FROM table_27987767_3 WHERE proceed_to_quarter_final = "Brive" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23392257_4 (timeslot VARCHAR, viewers__millions_ VARCHAR)
### Question:
What timeslot received 0.673 viewers?
### Answer:
SELECT timeslot FROM table_23392257_4 WHERE viewers__millions_ = "0.673" |
Below is an context that describes a sql 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 (time VARCHAR, event VARCHAR)
### Question:
What is the time of the 100m freestyle event?
### Answer:
SELECT time FROM table_name_54 WHERE event = "100m freestyle" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE channel (name VARCHAR, channel_id VARCHAR); CREATE TABLE broadcast (channel_id VARCHAR, time_of_day VARCHAR)
### Question:
what are the names of the channels that broadcast in both morning and night?
### Answer:
SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.time_of_day = 'Morning' INTERSECT SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.time_of_day = 'Night' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR); CREATE TABLE Customers (customer_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
### Question:
What is zip code of customer with first name as Carole and last name as Bernhard?
### Answer:
SELECT T2.zip_postcode FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = "Carole" AND T1.last_name = "Bernhard" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2168295_1 (area__km²_ INTEGER, population__2011_ VARCHAR)
### Question:
What is the minimum area id the 2011 population is 3067549?
### Answer:
SELECT MIN(area__km²_) FROM table_2168295_1 WHERE population__2011_ = 3067549 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (attendance INTEGER, week VARCHAR)
### Question:
What was the Attendance on Week 9?
### Answer:
SELECT MAX(attendance) FROM table_name_25 WHERE week = 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_34 (season INTEGER, super_g VARCHAR)
### Question:
What is the oldest season that had a listed Super G score of 33?
### Answer:
SELECT MIN(season) FROM table_name_34 WHERE super_g = "33" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23837321_4 (brooklyn VARCHAR, manhattan VARCHAR)
### Question:
what percentage is brooklyn when manhattan is 15.5%?
### Answer:
SELECT brooklyn FROM table_23837321_4 WHERE manhattan = "15.5_percentage" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (largest_metropolitan_area VARCHAR, name VARCHAR)
### Question:
What is the largest metropolitan area of the Central-West?
### Answer:
SELECT largest_metropolitan_area FROM table_name_99 WHERE name = "central-west" |
Below is an context that describes a sql 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 (season VARCHAR, viewer_rank___number_ VARCHAR)
### Question:
When did the season premiere that had a viewer rank of #6?
### Answer:
SELECT season AS premiere FROM table_name_12 WHERE viewer_rank___number_ = "#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_70 (years VARCHAR, name VARCHAR)
### Question:
Can you tell me the Years that has the Name of arapohue school?
### Answer:
SELECT years FROM table_name_70 WHERE name = "arapohue 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_27515452_3 (contestant VARCHAR, sizes VARCHAR)
### Question:
who are the participants that wear clothing in 33-23-36
### Answer:
SELECT contestant FROM table_27515452_3 WHERE sizes = "33-23-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_26745820_1 (operator_name VARCHAR, distance VARCHAR)
### Question:
What is the operator name when the distance is 3105km?
### Answer:
SELECT operator_name FROM table_26745820_1 WHERE distance = "3105km" |
Below is an context that describes a sql 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 (year INTEGER, points VARCHAR)
### Question:
what is the least year for 4 points?
### Answer:
SELECT MIN(year) FROM table_name_75 WHERE points = 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_75 (loss VARCHAR, record VARCHAR)
### Question:
Which Loss has a Record of 20–16–9?
### Answer:
SELECT loss FROM table_name_75 WHERE record = "20–16–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_90 (away_team VARCHAR, home_team VARCHAR)
### Question:
When the Home team was Carlton, what was the Away team score?
### Answer:
SELECT away_team AS score FROM table_name_90 WHERE home_team = "carlton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (game INTEGER, points VARCHAR, february VARCHAR, opponent VARCHAR)
### Question:
What is the average game number that took place after February 13 against the Toronto Maple Leafs and more than 47 points were scored?
### Answer:
SELECT AVG(game) FROM table_name_3 WHERE february > 13 AND opponent = "toronto maple leafs" AND points > 47 |
Below is an context that describes a sql 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 (mls_team VARCHAR, pick__number VARCHAR)
### Question:
Which MLS Team's pick number was 31?
### Answer:
SELECT mls_team FROM table_name_69 WHERE pick__number = 31 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16677738_1 (inns_of_court_and_chancery VARCHAR, without_the_walls VARCHAR)
### Question:
When 70489 is without walls what is the inns of court and chancery?
### Answer:
SELECT inns_of_court_and_chancery FROM table_16677738_1 WHERE without_the_walls = 70489 |
Below is an context that describes a sql 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 (interview INTEGER, state VARCHAR, swimsuit VARCHAR)
### Question:
Tell me the lowest interview for oklahoma and swimsuit less than 8.8
### Answer:
SELECT MIN(interview) FROM table_name_46 WHERE state = "oklahoma" AND swimsuit < 8.8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR)
### Question:
Who was the visitor in the game that had Ottawa as the home team?
### Answer:
SELECT visitor FROM table_name_29 WHERE home = "ottawa" |
Below is an context that describes a sql 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 (championships INTEGER, club VARCHAR)
### Question:
What are the highest championships where the club is Springfield Cardinals?
### Answer:
SELECT MAX(championships) FROM table_name_54 WHERE club = "springfield cardinals" |
Below is an context that describes a sql 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 (election_date INTEGER, number_of_deputies VARCHAR, number_of_votes_received VARCHAR)
### Question:
What was the average election year that has less than 136 deputies, and 1,560,753 votes received?
### Answer:
SELECT AVG(election_date) FROM table_name_86 WHERE number_of_deputies < 136 AND number_of_votes_received = "1,560,753" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (run_2 VARCHAR, rank VARCHAR)
### Question:
Which Run 2 has a Rank of 4?
### Answer:
SELECT run_2 FROM table_name_9 WHERE rank = "4" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (release_date VARCHAR, title VARCHAR)
### Question:
When was Too Hop to Handle released?
### Answer:
SELECT release_date FROM table_name_68 WHERE title = "too hop to handle" |
Below is an context that describes a sql 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 (course VARCHAR, type VARCHAR, date VARCHAR)
### Question:
Which course had a mountain stage type on 3 June?
### Answer:
SELECT course FROM table_name_76 WHERE type = "mountain stage" AND date = "3 june" |
Below is an context that describes a sql 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 (year_built__converted VARCHAR, _ VARCHAR, withdrawn VARCHAR)
### Question:
Tell me the year built for withdrawn of 1983
### Answer:
SELECT year_built__converted * _ FROM table_name_19 WHERE withdrawn = 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_95 (winner VARCHAR)
### Question:
What was the amount of the 1st prize when paul azinger (9) was the winner?
### Answer:
SELECT AVG(1 AS st_prize___) AS $__ FROM table_name_95 WHERE winner = "paul azinger (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_1140114_5 (winning_driver VARCHAR, circuit VARCHAR)
### Question:
Which driver won at the Sachsenring circuit?
### Answer:
SELECT winning_driver FROM table_1140114_5 WHERE circuit = "Sachsenring" |
Below is an context that describes a sql 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 (year VARCHAR, rank VARCHAR)
### Question:
What year was the ranking 1?
### Answer:
SELECT year FROM table_name_47 WHERE rank = "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_56 (bulgarian_name VARCHAR, english_name VARCHAR)
### Question:
What's the Bulgarian word for september?
### Answer:
SELECT bulgarian_name FROM table_name_56 WHERE english_name = "september" |
Below is an context that describes a sql 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 (trident VARCHAR, gecko VARCHAR)
### Question:
Which Trident version has a Gecko value of 19.0?
### Answer:
SELECT trident FROM table_name_57 WHERE gecko = "19.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 customers (payment_method VARCHAR)
### Question:
What are all the payment methods?
### Answer:
SELECT DISTINCT payment_method FROM customers |
Below is an context that describes a sql 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 (laps INTEGER, grid VARCHAR, driver VARCHAR)
### Question:
what is the sum of laps when grid is less than 20 and johnny herbert is driving?
### Answer:
SELECT SUM(laps) FROM table_name_29 WHERE grid < 20 AND driver = "johnny herbert" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10432351_1 (spectral_type VARCHAR, star__pismis24__number_ VARCHAR)
### Question:
What are all the spectral types for star mismis24-# is 1sw?
### Answer:
SELECT spectral_type FROM table_10432351_1 WHERE star__pismis24__number_ = "1SW" |
Below is an context that describes a sql 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 (opponent VARCHAR, result VARCHAR)
### Question:
Who was the opponent at the game with a result of l 27–3?
### Answer:
SELECT opponent FROM table_name_52 WHERE result = "l 27–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_7 (code VARCHAR, capacity VARCHAR, name VARCHAR)
### Question:
What is the code of 1.5 dci 110, which has a capacity of 1,461cc?
### Answer:
SELECT code FROM table_name_7 WHERE capacity = "1,461cc" AND name = "1.5 dci 110" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (director VARCHAR, title VARCHAR)
### Question:
Who is the director of Wallace & Gromit: The Curse of the Were-Rabbit?
### Answer:
SELECT director FROM table_name_99 WHERE title = "wallace & gromit: the curse of the were-rabbit" |
Below is an context that describes a sql 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 (score VARCHAR, opponents VARCHAR)
### Question:
What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score?
### Answer:
SELECT score FROM table_name_35 WHERE opponents = "diego junqueira gabriel trujillo-soler" |
Below is an context that describes a sql 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 (silver VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)
### Question:
What's the total number of Silver that has Gold that's larger than 0, Bronze that's smaller than 23, a Total that's larger than 22, and has the Nation of Saint Kitts and Nevis?
### Answer:
SELECT COUNT(silver) FROM table_name_96 WHERE gold > 0 AND bronze < 23 AND total > 22 AND nation = "saint kitts and nevis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16512618_1 (losses INTEGER, manager VARCHAR)
### Question:
Name the most losses for leslie mann
### Answer:
SELECT MAX(losses) FROM table_16512618_1 WHERE manager = "Leslie Mann" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26250227_1 (week__number VARCHAR, theme VARCHAR)
### Question:
What are all the week # where subject matter is auditioner's choice
### Answer:
SELECT week__number FROM table_26250227_1 WHERE theme = "Auditioner's Choice" |
Below is an context that describes a sql 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 (d_47 VARCHAR, d_49 VARCHAR)
### Question:
What is the D 47 when the D 49 is r 32?
### Answer:
SELECT d_47 FROM table_name_92 WHERE d_49 = "r 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_31 (home_team VARCHAR, tie_no VARCHAR)
### Question:
What was the home team when the Tie no was 60?
### Answer:
SELECT home_team FROM table_name_31 WHERE tie_no = "60" |
Below is an context that describes a sql 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 (republican_ticket VARCHAR, communist_ticket VARCHAR)
### Question:
Who's the Republican ticket with a Communist ticket of elizabeth gurley flynn?
### Answer:
SELECT republican_ticket FROM table_name_32 WHERE communist_ticket = "elizabeth gurley flynn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20061872_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
### Question:
When was the film Här har du ditt liv used in nomination?
### Answer:
SELECT year__ceremony_ FROM table_20061872_1 WHERE original_title = "Här har du ditt liv" |
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR)
### Question:
What is the result of the game when the attendance is 75,466?
### Answer:
SELECT result FROM table_name_43 WHERE attendance = "75,466" |
Below is an context that describes a sql 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 (pick INTEGER, round VARCHAR, player VARCHAR)
### Question:
What is the pick number later than round 1, for Reyshawn Terry?
### Answer:
SELECT AVG(pick) FROM table_name_17 WHERE round > 1 AND player = "reyshawn terry" |
Below is an context that describes a sql 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 (generation VARCHAR, birthday VARCHAR)
### Question:
What generation is the member born on 1992.12.23 in?
### Answer:
SELECT generation FROM table_name_4 WHERE birthday = "1992.12.23" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2066296_5 (red__e8_ VARCHAR, interior_roof VARCHAR)
### Question:
How many different results for red (e8) does the model with parchment/saddle interior/roof have?
### Answer:
SELECT COUNT(red__e8_) FROM table_2066296_5 WHERE interior_roof = "Parchment/saddle" |
Below is an context that describes a sql 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 (finish VARCHAR, to_par VARCHAR)
### Question:
What finish has +21 as the to par?
### Answer:
SELECT finish FROM table_name_35 WHERE to_par = "+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_1341472_51 (district VARCHAR, incumbent VARCHAR)
### Question:
What district was incumbent Jerry Kleczka in?
### Answer:
SELECT district FROM table_1341472_51 WHERE incumbent = "Jerry Kleczka" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17257687_1 (air_date VARCHAR, event_1 VARCHAR)
### Question:
On how many different dates was event 1 Suspension Bridge?
### Answer:
SELECT COUNT(air_date) FROM table_17257687_1 WHERE event_1 = "Suspension Bridge" |
Below is an context that describes a sql 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 (fatalities VARCHAR, aircraft VARCHAR)
### Question:
How many fatalities occurred for the Ju-52 aircraft?
### Answer:
SELECT fatalities FROM table_name_18 WHERE aircraft = "ju-52" |
Below is an context that describes a sql 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 (wasatch VARCHAR, total_time VARCHAR)
### Question:
What Wasatch time corresponds to a total time of 122:13:40?
### Answer:
SELECT wasatch FROM table_name_31 WHERE total_time = "122:13: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 museum (Museum_ID VARCHAR, open_year INTEGER); CREATE TABLE visitor (id VARCHAR); CREATE TABLE visit (visitor_id VARCHAR, Museum_ID VARCHAR)
### Question:
Find the number of visitors who did not visit any museum opened after 2010.
### Answer:
SELECT COUNT(*) FROM visitor WHERE NOT id IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010) |
Below is an context that describes a sql 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 (team VARCHAR, game VARCHAR)
### Question:
Which team had game 3?
### Answer:
SELECT team FROM table_name_73 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_82 (grid INTEGER, time VARCHAR, laps VARCHAR)
### Question:
which grid did less than 20 laps in a time of +58.353?
### Answer:
SELECT MIN(grid) FROM table_name_82 WHERE time = "+58.353" AND laps < 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_name_40 (round INTEGER, player VARCHAR)
### Question:
Which round was Joe Taylor selected in?
### Answer:
SELECT SUM(round) FROM table_name_40 WHERE player = "joe taylor" |
Below is an context that describes a sql 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 (quantity_preserved VARCHAR, quantity_made VARCHAR)
### Question:
What is the quantity preserved to the locomotive with a quantity made of 6?
### Answer:
SELECT quantity_preserved FROM table_name_11 WHERE quantity_made = "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_75 (total_passengers INTEGER, location VARCHAR, rank VARCHAR)
### Question:
Can you tell me the lowest Total Passengers than has the Location of salvador, and the Rank larger than 5?
### Answer:
SELECT MIN(total_passengers) FROM table_name_75 WHERE location = "salvador" AND 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 student (fname VARCHAR, stuid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)
### Question:
Find the first name of students who are living in the Smith Hall.
### Answer:
SELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' |
Below is an context that describes a sql 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 (copa_mercosur_1999 VARCHAR, team VARCHAR, copa_libertadores_1999 VARCHAR, copa_conmebol_1999 VARCHAR)
### Question:
What is the copa mercosur 1999 result for team grêmio, who did not qualify for the Copa Libertadores 1999 and Copa Conmebol 1999?
### Answer:
SELECT copa_mercosur_1999 FROM table_name_51 WHERE copa_libertadores_1999 = "did not qualify" AND copa_conmebol_1999 = "did not qualify" AND team = "grêmio" |
Below is an context that describes a sql 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_team VARCHAR, away_team VARCHAR)
### Question:
who is the home team when the away team is wolverhampton wanderers?
### Answer:
SELECT home_team FROM table_name_20 WHERE away_team = "wolverhampton wanderers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22654073_6 (date VARCHAR, score VARCHAR)
### Question:
Name the total number of date for l 85–86 (ot)
### Answer:
SELECT COUNT(date) FROM table_22654073_6 WHERE score = "L 85–86 (OT)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (siburan_padawan VARCHAR, tagalog VARCHAR)
### Question:
What is the Siburan-Padawan word for the Tagalog word kanin?
### Answer:
SELECT siburan_padawan FROM table_name_98 WHERE tagalog = "kanin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE entrepreneur (Money_Requested INTEGER)
### Question:
What is the average money requested by all entrepreneurs?
### Answer:
SELECT AVG(Money_Requested) FROM entrepreneur |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17968274_2 (team VARCHAR)
### Question:
How many games were played by the Vélez Sársfield team from 1989-90?
### Answer:
SELECT 1989 AS _90 FROM table_17968274_2 WHERE team = "Vélez Sársfield" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2268216_1 (year VARCHAR, average_speed__mph_ VARCHAR)
### Question:
In what year was the average speed 92.68?
### Answer:
SELECT year FROM table_2268216_1 WHERE average_speed__mph_ = "92.68" |
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR)
### Question:
Which country had a score of 69-67=136?
### Answer:
SELECT country FROM table_name_5 WHERE score = 69 - 67 = 136 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (venue VARCHAR, year VARCHAR, notes VARCHAR)
### Question:
What is the Venue before 2003 with Notes of 57.73 m?
### Answer:
SELECT venue FROM table_name_63 WHERE year < 2003 AND notes = "57.73 m" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who was the home team of the game where Footscray is the away team?
### Answer:
SELECT home_team AS score FROM table_name_52 WHERE away_team = "footscray" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (record VARCHAR, date VARCHAR)
### Question:
What record occurred on April 3?
### Answer:
SELECT record FROM table_name_17 WHERE date = "april 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_1341577_43 (incumbent VARCHAR, candidates VARCHAR)
### Question:
Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%?
### Answer:
SELECT incumbent FROM table_1341577_43 WHERE candidates = "Marilyn Lloyd (D) 57.4% Harold W. Coker (R) 42.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_5 (catalog VARCHAR, date VARCHAR)
### Question:
What is the catalog number for the January 25, 1987 release?
### Answer:
SELECT catalog FROM table_name_5 WHERE date = "january 25, 1987" |
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR)
### Question:
What was Olin Dutra's score?
### Answer:
SELECT score FROM table_name_88 WHERE player = "olin dutra" |
Below is an context that describes a sql 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 (opponent VARCHAR, attendance VARCHAR)
### Question:
What Opponent has an Attendance of 74,246?
### Answer:
SELECT opponent FROM table_name_49 WHERE attendance = "74,246" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (constructor VARCHAR, race_name VARCHAR)
### Question:
What is the constructor for the VII Race of Champions?
### Answer:
SELECT constructor FROM table_name_34 WHERE race_name = "vii race of champions" |
Below is an context that describes a sql 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 (points_against VARCHAR, club VARCHAR)
### Question:
Name the points against for porthcawl rfc
### Answer:
SELECT points_against FROM table_name_87 WHERE club = "porthcawl rfc" |
Below is an context that describes a 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_49 (party VARCHAR, district VARCHAR)
### Question:
how many party with district being washington 7
### Answer:
SELECT COUNT(party) FROM table_1341472_49 WHERE district = "Washington 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_52 (cuts_made INTEGER, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR)
### Question:
What is the most cuts made for events with 1 top-5, 2 top-10s, and more than 13 total events?
### Answer:
SELECT MAX(cuts_made) FROM table_name_52 WHERE top_5 = 1 AND top_10 = 2 AND events > 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_1341472_15 (result VARCHAR, first_elected VARCHAR)
### Question:
what's the result for first elected in 1948 , 1964
### Answer:
SELECT result FROM table_1341472_15 WHERE first_elected = "1948 , 1964" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1637981_7 (detroit__dtw_ VARCHAR, lansing__lan_ VARCHAR)
### Question:
When Lansing's fare is $433.59, what is the Detroit fare?
### Answer:
SELECT detroit__dtw_ FROM table_1637981_7 WHERE lansing__lan_ = "$433.59" |
Below is an context that describes a sql 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 (source VARCHAR, brian_moran VARCHAR)
### Question:
Which Source has a Brian Moran of 19%?
### Answer:
SELECT source FROM table_name_64 WHERE brian_moran = "19%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (team__number1 VARCHAR, team__number2 VARCHAR)
### Question:
Who was the first team when the second team was Kalise Gran Canaria?
### Answer:
SELECT team__number1 FROM table_name_71 WHERE team__number2 = "kalise gran canaria" |
Below is an context that describes a sql 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 (silver INTEGER, bronze INTEGER)
### Question:
COunt the silver that has a Bronze smaller than 1?
### Answer:
SELECT SUM(silver) FROM table_name_19 WHERE bronze < 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.