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_64 (score VARCHAR, record VARCHAR)
### Question:
What was the score of the game that led to a 79-77 record?
### Answer:
SELECT score FROM table_name_64 WHERE record = "79-77" |
Below is an context that describes a sql 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 (cores VARCHAR, l3_cache VARCHAR, model_number VARCHAR)
### Question:
What is listed for the Cores that has the L3 cache of 8 MB and Model number of Core i7-860?
### Answer:
SELECT cores FROM table_name_76 WHERE l3_cache = "8 mb" AND model_number = "core i7-860" |
Below is an context that describes a sql 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 (seasons VARCHAR, years VARCHAR)
### Question:
How many Seasons that has Years of 1976–1977?
### Answer:
SELECT COUNT(seasons) FROM table_name_1 WHERE years = "1976–1977" |
Below is an context that describes a sql 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 (record VARCHAR, visitor VARCHAR, date VARCHAR)
### Question:
What record has montreal as the visitor, and february 2 as the date?
### Answer:
SELECT record FROM table_name_4 WHERE visitor = "montreal" AND 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_25642873_2 (extra_points VARCHAR, touchdowns VARCHAR)
### Question:
The player who had 5 touchdowns had how many extra points?
### Answer:
SELECT extra_points FROM table_25642873_2 WHERE touchdowns = 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_84 (builder VARCHAR, built VARCHAR)
### Question:
Who was the builder in 1920?
### Answer:
SELECT builder FROM table_name_84 WHERE built = "1920" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (average VARCHAR, caps VARCHAR, scotland_career VARCHAR)
### Question:
What is the average cap number in scotland in 1986–1998 leass than 69?
### Answer:
SELECT COUNT(average) FROM table_name_6 WHERE caps < 69 AND scotland_career = "1986–1998" |
Below is an context that describes a sql 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 (status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
### Question:
Which Status has a Co-contestant (Yaar vs. Pyaar) of tina sachdev?
### Answer:
SELECT status FROM table_name_52 WHERE co_contestant__yaar_vs_pyaar_ = "tina sachdev" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23915973_1 (coverage VARCHAR, power_kw VARCHAR)
### Question:
What is the coverage when power kw is 25kw?
### Answer:
SELECT coverage FROM table_23915973_1 WHERE power_kw = "25kW" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17058116_7 (location_attendance VARCHAR, record VARCHAR)
### Question:
Where was the game with record 20–23 and how many people attended it
### Answer:
SELECT location_attendance FROM table_17058116_7 WHERE record = "20–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_1506950_9 (player VARCHAR, us_open VARCHAR, pga_ch VARCHAR, masters VARCHAR)
### Question:
Which player's results were T6 in the PGA Ch., T4 in the Masters and T8 at the U.S. Open?
### Answer:
SELECT player FROM table_1506950_9 WHERE pga_ch = "T6" AND masters = "T4" AND us_open = "T8" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14181578_1 (points INTEGER, goals_for_against VARCHAR)
### Question:
what is the minimum points with goals for/against being 8-5
### Answer:
SELECT MIN(points) FROM table_14181578_1 WHERE goals_for_against = "8-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_17862135_3 (total_points VARCHAR, average VARCHAR)
### Question:
What are the total points for the team that averages 17.8?
### Answer:
SELECT total_points FROM table_17862135_3 WHERE average = "17.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_2508633_2 (pick__number INTEGER, nfl_team VARCHAR)
### Question:
Name the least pick number for the denver broncos
### Answer:
SELECT MIN(pick__number) FROM table_2508633_2 WHERE nfl_team = "Denver Broncos" |
Below is an context that describes a sql 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 (wins INTEGER, starts VARCHAR, avg_finish VARCHAR, year VARCHAR)
### Question:
in 1990, how many wins had an avg finish of 35 and a start less than 1?
### Answer:
SELECT MAX(wins) FROM table_name_90 WHERE avg_finish = 35 AND year = 1990 AND starts < 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_43 (revenues VARCHAR, tenure VARCHAR)
### Question:
What is the Revenues during Tenure 1854-1855?
### Answer:
SELECT revenues FROM table_name_43 WHERE tenure = "1854-1855" |
Below is an context that describes a sql 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 (location_attendance VARCHAR, record VARCHAR)
### Question:
What was the location/attendance for the game with a record of 16-6?
### Answer:
SELECT location_attendance FROM table_name_79 WHERE record = "16-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_1342426_5 (result VARCHAR, incumbent VARCHAR)
### Question:
Name the result for william j. driver
### Answer:
SELECT result FROM table_1342426_5 WHERE incumbent = "William J. Driver" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (record VARCHAR, visitor VARCHAR, date VARCHAR)
### Question:
What record has chicago black hawks as the visitor and march 23 as the date?
### Answer:
SELECT record FROM table_name_15 WHERE visitor = "chicago black hawks" AND date = "march 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_name_95 (air_date VARCHAR, episode VARCHAR)
### Question:
What was the air date of 'Gary tries to do it all'?
### Answer:
SELECT air_date FROM table_name_95 WHERE episode = "gary tries to do it all" |
Below is an context that describes a sql 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 (election VARCHAR)
### Question:
Which 2nd Party has a Election of 1857?
### Answer:
SELECT 2 AS nd_party FROM table_name_17 WHERE election = "1857" |
Below is an context that describes a sql 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 (wins INTEGER, losses INTEGER)
### Question:
What is the highest number of wins when there are less than 2 losses?
### Answer:
SELECT MAX(wins) FROM table_name_80 WHERE losses < 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR)
### Question:
What opponent played on 1/13/1974?
### Answer:
SELECT opponent FROM table_name_6 WHERE date = "1/13/1974" |
Below is an context that describes a sql 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 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
### Question:
What is the high grid number for a Time/Retired of + 3 laps, and a Laps smaller than 57?
### Answer:
SELECT MAX(grid) FROM table_name_29 WHERE time_retired = "+ 3 laps" AND laps < 57 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140078_2 (report VARCHAR, race VARCHAR)
### Question:
What is the number of reports for the italian grand prix?
### Answer:
SELECT COUNT(report) FROM table_1140078_2 WHERE race = "Italian Grand Prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (location VARCHAR, best_goalkeeper VARCHAR)
### Question:
What is the location of the tournament where the best goalkeeper had 164 (8.2)?
### Answer:
SELECT location FROM table_name_91 WHERE best_goalkeeper = "164 (8.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_82 (decision VARCHAR, game INTEGER)
### Question:
What is the decision of the game larger than 6.
### Answer:
SELECT decision FROM table_name_82 WHERE game > 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_1 (peak_date VARCHAR, main_artist VARCHAR)
### Question:
What was the peak date of Kelis's song?
### Answer:
SELECT peak_date FROM table_name_1 WHERE main_artist = "kelis" |
Below is an context that describes a sql 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 (player VARCHAR, place VARCHAR)
### Question:
What player placed t10?
### Answer:
SELECT player FROM table_name_17 WHERE place = "t10" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22043925_1 (denomination VARCHAR, school VARCHAR)
### Question:
What is every denomination for the school Seymour college?
### Answer:
SELECT denomination FROM table_22043925_1 WHERE school = "Seymour 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_59 (original_title VARCHAR, role VARCHAR, directed_by VARCHAR)
### Question:
What is the Original title for an Episode Actor role which was Directed by Géza Bereményi?
### Answer:
SELECT original_title FROM table_name_59 WHERE role = "episode actor" AND directed_by = "géza bereményi" |
Below is an context that describes a sql 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 (points INTEGER, played INTEGER)
### Question:
What is the average points with less than 30 played?
### Answer:
SELECT AVG(points) FROM table_name_77 WHERE played < 30 |
Below is an context that describes a sql 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 (director VARCHAR, title VARCHAR)
### Question:
Who directed Bunker Hill Bunny?
### Answer:
SELECT director FROM table_name_77 WHERE title = "bunker hill bunny" |
Below is an context that describes a sql 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 (surface VARCHAR, date VARCHAR)
### Question:
Which Surface had a Date of june 13, 1983?
### Answer:
SELECT surface FROM table_name_14 WHERE date = "june 13, 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_1140090_6 (circuit VARCHAR, winning_driver VARCHAR)
### Question:
What circuit did Clay Regazzoni win?
### Answer:
SELECT circuit FROM table_1140090_6 WHERE winning_driver = "Clay Regazzoni" |
Below is an context that describes a sql 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 (date VARCHAR, result VARCHAR)
### Question:
Which Date has Result of 86-87?
### Answer:
SELECT date FROM table_name_58 WHERE result = "86-87" |
Below is an context that describes a sql 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 (date VARCHAR, competition VARCHAR, result VARCHAR)
### Question:
What was the date of the friendly match, ending in a result of 1-1?
### Answer:
SELECT date FROM table_name_30 WHERE competition = "friendly match" AND result = "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_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR)
### Question:
What is the lowest value of average attendance when average on previous season is -459?
### Answer:
SELECT MIN(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "-459" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (year INTEGER, result VARCHAR, award VARCHAR)
### Question:
What year did was the Inside Soap Awards won?
### Answer:
SELECT AVG(year) FROM table_name_41 WHERE result = "won" AND award = "inside soap awards" |
Below is an context that describes a sql 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 (date VARCHAR, tyre VARCHAR, winning_driver VARCHAR)
### Question:
What date was the Tyre d and Bruce Mclaren won?
### Answer:
SELECT date FROM table_name_61 WHERE tyre = "d" AND winning_driver = "bruce mclaren" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (date INTEGER, building VARCHAR)
### Question:
Name the least date for the place which has a building of victoria hall
### Answer:
SELECT MIN(date) FROM table_name_37 WHERE building = "victoria 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_72 (enrollment INTEGER, school VARCHAR)
### Question:
Enrollment that has a School of south central (union mills) has what sum?
### Answer:
SELECT SUM(enrollment) FROM table_name_72 WHERE school = "south central (union mills)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12001616_4 (laps VARCHAR, entrant VARCHAR)
### Question:
What is the laops of marcis auto racing?
### Answer:
SELECT laps FROM table_12001616_4 WHERE entrant = "Marcis Auto 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_63 (date VARCHAR, tournament VARCHAR)
### Question:
What is the Date of the Rodez, France Tournament?
### Answer:
SELECT date FROM table_name_63 WHERE tournament = "rodez, france" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)
### Question:
What's the average round for the OT position from tulane college with an overall over 38?
### Answer:
SELECT AVG(round) FROM table_name_41 WHERE position = "ot" AND college = "tulane" AND overall > 38 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (games INTEGER, drawn INTEGER)
### Question:
Name the most games with drawn more than 1
### Answer:
SELECT MAX(games) FROM table_name_69 WHERE drawn > 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_13 (finish VARCHAR, qual VARCHAR)
### Question:
Which finish has a 99.550 Qual?
### Answer:
SELECT finish FROM table_name_13 WHERE qual = "99.550" |
Below is an context that describes a sql 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 (title VARCHAR, production_number VARCHAR, release_date VARCHAR)
### Question:
What is the title with the production number greater than 1334 released on 1955-08-27?
### Answer:
SELECT title FROM table_name_65 WHERE production_number > 1334 AND release_date = "1955-08-27" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (player VARCHAR, weight VARCHAR, team VARCHAR)
### Question:
Which player who weighs 210 plays for the Reno Bighorns?
### Answer:
SELECT player FROM table_name_68 WHERE weight = 210 AND team = "reno bighorns" |
Below is an context that describes a sql 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 (december INTEGER, game VARCHAR)
### Question:
What is average December when game is 30?
### Answer:
SELECT AVG(december) FROM table_name_79 WHERE game = 30 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE city (Official_Name VARCHAR, Population VARCHAR)
### Question:
List official names of cities in descending order of population.
### Answer:
SELECT Official_Name FROM city ORDER BY Population DESC |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR, nationality VARCHAR)
### Question:
what is the college/junior/club team (league) when the round is higher than 1, the nationality is canada and the position is (d)?
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_27 WHERE round > 1 AND nationality = "canada" AND position = "(d)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10621256_1 (average VARCHAR, high_score VARCHAR)
### Question:
what's the average where high score is 120
### Answer:
SELECT average FROM table_10621256_1 WHERE high_score = 120 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22514845_4 (trophy_presentation VARCHAR, year VARCHAR)
### Question:
How many trophy presentations where in the year 1987?
### Answer:
SELECT COUNT(trophy_presentation) FROM table_22514845_4 WHERE year = 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_27 (_ VARCHAR, alignment_alignment VARCHAR, link VARCHAR)
### Question:
What is the alignment that predicts an alignment of the linuxbinary link?
### Answer:
SELECT alignment_alignment AS :_predicts_an_alignment_, _ FROM table_name_27 WHERE link = "linuxbinary" |
Below is an context that describes a sql 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 (school_club_team VARCHAR, years_in_orlando VARCHAR)
### Question:
Which School/Club Team has a Years in Orlando of 1997–1998?
### Answer:
SELECT school_club_team FROM table_name_92 WHERE years_in_orlando = "1997–1998" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28925058_1 (date VARCHAR, grand_prix VARCHAR)
### Question:
What is the date of the Italian Grand Prix?
### Answer:
SELECT date FROM table_28925058_1 WHERE grand_prix = "Italian grand_prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_191323_2 (notes VARCHAR, nssdc_id_no VARCHAR)
### Question:
What are the notes of the satellite whose nssdc id number is 1959-002a?
### Answer:
SELECT notes FROM table_191323_2 WHERE nssdc_id_no = "1959-002A" |
Below is an context that describes 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 (crs_credit VARCHAR, crs_description VARCHAR, crs_code VARCHAR)
### Question:
Find the description and credit for the course QM-261?
### Answer:
SELECT crs_credit, crs_description FROM course WHERE crs_code = 'QM-261' |
Below is an context that describes a sql 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 (date VARCHAR, label VARCHAR)
### Question:
What Date has a label of alfa records?
### Answer:
SELECT date FROM table_name_35 WHERE label = "alfa records" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10706879_3 (fastest_lap VARCHAR, rd VARCHAR)
### Question:
How many fastest laps were there for a rd that equals 10?
### Answer:
SELECT COUNT(fastest_lap) FROM table_10706879_3 WHERE rd = 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_2 (laps VARCHAR, time VARCHAR)
### Question:
What was the total number of Laps for the rider whose time was +7.951?
### Answer:
SELECT COUNT(laps) FROM table_name_2 WHERE time = "+7.951" |
Below is an context that describes a sql 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 (a_ VARCHAR, year_ INTEGER, position VARCHAR, college VARCHAR)
### Question:
What is the most recent year georgia tech chose a linebacker?
### Answer:
SELECT MAX(year_)[a_] FROM table_name_3 WHERE position = "linebacker" AND college = "georgia tech" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22883210_9 (game INTEGER, team VARCHAR)
### Question:
What is the highest game number where the team was Cleveland?
### Answer:
SELECT MAX(game) FROM table_22883210_9 WHERE team = "Cleveland" |
Below is an context that describes a sql 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 (opponent VARCHAR, season VARCHAR)
### Question:
Which opponent has a Season of 2011/12?
### Answer:
SELECT opponent FROM table_name_3 WHERE season = "2011/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_17 (category VARCHAR)
### Question:
Which car won the 1.4litre to 1.8litre award in 2001?
### Answer:
SELECT 2001 FROM table_name_17 WHERE category = "1.4litre to 1.8litre" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR)
### Question:
What is the brand in Cabanatuan?
### Answer:
SELECT branding FROM table_19215259_1 WHERE location = "Cabanatuan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23501776_16 (points VARCHAR, new_points VARCHAR)
### Question:
Name the number of points defending for 1075
### Answer:
SELECT COUNT(points) AS defending FROM table_23501776_16 WHERE new_points = 1075 |
Below is an context that describes a sql 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 (byes VARCHAR, draws VARCHAR, wins VARCHAR)
### Question:
What is the total number of byes associated with fewer than 8 wins and fewer than 1 draw?
### Answer:
SELECT COUNT(byes) FROM table_name_67 WHERE draws < 1 AND wins < 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_19753079_35 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR)
### Question:
Name the first elected for re-elected and brian higgins
### Answer:
SELECT first_elected FROM table_19753079_35 WHERE result = "Re-elected" AND incumbent = "Brian 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_28 (place VARCHAR, score VARCHAR)
### Question:
What is the Place of the Player with a Score of 70-68=138?
### Answer:
SELECT place FROM table_name_28 WHERE score = 70 - 68 = 138 |
Below is an context that describes a sql 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 (record VARCHAR, home VARCHAR, date VARCHAR)
### Question:
Which Record has a Home of Montreal Canadiens and a Date of April 22?
### Answer:
SELECT record FROM table_name_49 WHERE home = "montreal canadiens" AND date = "april 22" |
Below is an context that describes a sql 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 (year_s__won VARCHAR, player VARCHAR)
### Question:
What year did Tom Watson win?
### Answer:
SELECT year_s__won FROM table_name_78 WHERE player = "tom watson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11545282_19 (no INTEGER, school_club_team VARCHAR)
### Question:
What is the number of school/club teams held by BYU?
### Answer:
SELECT MIN(no) FROM table_11545282_19 WHERE school_club_team = "BYU" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2970978_1 (ave_attendance VARCHAR, ___ave_on_prev_season VARCHAR)
### Question:
How many values of attendance occur when ave. on previous season is +645?
### Answer:
SELECT COUNT(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "+645" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
Tell me the home team for vfl park venue
### Answer:
SELECT home_team FROM table_name_21 WHERE venue = "vfl 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_1939405_2 (latin_americans_2001 VARCHAR, province VARCHAR)
### Question:
How many results of the count of Latin Americans in Yukon in 2001 are there?
### Answer:
SELECT COUNT(latin_americans_2001) FROM table_1939405_2 WHERE province = "Yukon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23492454_1 (directed_by VARCHAR, written_by VARCHAR)
### Question:
who directed the episode written by Shonda Rhimes?
### Answer:
SELECT directed_by FROM table_23492454_1 WHERE written_by = "Shonda Rhimes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE church (name VARCHAR, open_date VARCHAR)
### Question:
Show the name and opening year for three churches that opened most recently.
### Answer:
SELECT name, open_date FROM church ORDER BY open_date DESC LIMIT 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_42 (floors VARCHAR, location VARCHAR)
### Question:
How many floors are in little Italy?
### Answer:
SELECT COUNT(floors) FROM table_name_42 WHERE location = "little italy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24018430_3 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
### Question:
what number is us viewers in season 12?
### Answer:
SELECT us_viewers__millions_ FROM table_24018430_3 WHERE no_in_season = 12 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25346763_1 (capacity VARCHAR, year_opened VARCHAR)
### Question:
What is the capacity for a facility opened in 1956?
### Answer:
SELECT COUNT(capacity) FROM table_25346763_1 WHERE year_opened = "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_22514845_5 (race_caller VARCHAR, s_host VARCHAR, reporters VARCHAR)
### Question:
Name the race caller for jim mckay and howard cosell
### Answer:
SELECT race_caller FROM table_22514845_5 WHERE s_host = "Jim McKay" AND reporters = "Howard Cosell" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (approximate_age VARCHAR, significant_relationship VARCHAR)
### Question:
Can you give me the age of the Significant Relationship of Family?
### Answer:
SELECT approximate_age FROM table_name_41 WHERE significant_relationship = "family" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (locomotive_superintendent VARCHAR, lner_class VARCHAR)
### Question:
Who was the Locomotive superintendent has a NER class of d45?
### Answer:
SELECT locomotive_superintendent FROM table_name_45 WHERE lner_class = "d45" |
Below is an context that describes a sql 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 (ofsted VARCHAR, school VARCHAR)
### Question:
How many values for Ofsted occurr at Chowbent Primary School?
### Answer:
SELECT COUNT(ofsted) FROM table_name_1 WHERE school = "chowbent primary 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_name_57 (gold INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR)
### Question:
What is the sum of Gold, when Silver is greater than 6, when Rank is 1, and when Bronze is less than 61?
### Answer:
SELECT SUM(gold) FROM table_name_57 WHERE silver > 6 AND rank = "1" AND bronze < 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_name_78 (winning_driver VARCHAR, name VARCHAR)
### Question:
Who was the winning driver of the Kraco Car Stereo 150?
### Answer:
SELECT winning_driver FROM table_name_78 WHERE name = "kraco car stereo 150" |
Below is an context that describes a sql 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 (nir_number VARCHAR, type VARCHAR, br_number_s_ VARCHAR)
### Question:
Which NIR number is for the tso (ex-br class 488 unit 488305) type that has a 6082 / 72605 BR number?
### Answer:
SELECT nir_number FROM table_name_87 WHERE type = "tso (ex-br class 488 unit 488305)" AND br_number_s_ = "6082 / 72605" |
Below is an context that describes a sql 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 (team_f VARCHAR, team_a VARCHAR)
### Question:
Who is team f when Aida Gagaring is team A?
### Answer:
SELECT team_f FROM table_name_16 WHERE team_a = "aida gagaring" |
Below is an context that describes a sql 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 (home_team VARCHAR)
### Question:
What did fitzroy score at their home game?
### Answer:
SELECT home_team AS score FROM table_name_98 WHERE home_team = "fitzroy" |
Below is an context that describes a sql 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 (score VARCHAR, high_assists VARCHAR, high_points VARCHAR)
### Question:
What is Score, when High Assists is "Rajon Rondo (12)", and when High Points is "Paul Pierce (27)"?
### Answer:
SELECT score FROM table_name_64 WHERE high_assists = "rajon rondo (12)" AND high_points = "paul pierce (27)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (rank INTEGER, country VARCHAR, total VARCHAR)
### Question:
What is the lowest Rank of Denmark County with a Total smaller than 1?
### Answer:
SELECT MIN(rank) FROM table_name_2 WHERE country = "denmark" AND total < 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_1507431_1 (to_par VARCHAR, winning_score VARCHAR)
### Question:
What are all values for 'to par' for the winning score of 67-67-69-69=272?
### Answer:
SELECT to_par FROM table_1507431_1 WHERE winning_score = 67 - 67 - 69 - 69 = 272 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (chinese_title VARCHAR, premiere VARCHAR)
### Question:
What is the Chinese title with a premiere rating of 31?
### Answer:
SELECT chinese_title FROM table_name_91 WHERE premiere = 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_17632217_1 (total_wins VARCHAR, runners_up VARCHAR)
### Question:
How many total wins with Shanghai as runner-up?
### Answer:
SELECT COUNT(total_wins) FROM table_17632217_1 WHERE runners_up = "Shanghai" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (country VARCHAR, date VARCHAR, company VARCHAR)
### Question:
For the Enernoc Australia Pty Ltd, what's the country with an unknown date?
### Answer:
SELECT country FROM table_name_15 WHERE date = "unknown" AND company = "enernoc australia pty ltd" |
Below is an context that describes a sql 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 (karen_handel VARCHAR, poll_source VARCHAR, john_oxendine VARCHAR)
### Question:
What is Karen Handel polling at in the Insideradvantage poll where John Oxendine is at 15%?
### Answer:
SELECT karen_handel FROM table_name_78 WHERE poll_source = "insideradvantage" AND john_oxendine = "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_37 (nationality VARCHAR, lane VARCHAR, rank VARCHAR)
### Question:
What is the Nationality of the Swimmer in Lane 4 or larger with a Rank of 5 or more?
### Answer:
SELECT nationality FROM table_name_37 WHERE lane > 4 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 table_name_5 (verb_meaning VARCHAR, part_2 VARCHAR)
### Question:
What is the verb meaning when the part 2 is blēot?
### Answer:
SELECT verb_meaning FROM table_name_5 WHERE part_2 = "blēot" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.