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_63 (points INTEGER, date VARCHAR)
### Question:
What were the Points on December 13?
### Answer:
SELECT MAX(points) FROM table_name_63 WHERE date = "december 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_18600760_10 (latitude VARCHAR, water__sqmi_ VARCHAR)
### Question:
What was the lattitude for the area with 4.243 square miles of water?
### Answer:
SELECT latitude FROM table_18600760_10 WHERE water__sqmi_ = "4.243" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25146455_1 (position VARCHAR, points VARCHAR)
### Question:
What position did the driver earn 31 points?
### Answer:
SELECT position FROM table_25146455_1 WHERE points = 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_name_15 (run_1 VARCHAR, team VARCHAR)
### Question:
What is Run 1, when Team is "Italy (ITA) Italy I"?
### Answer:
SELECT run_1 FROM table_name_15 WHERE team = "italy (ita) italy i" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (hangul VARCHAR, kana VARCHAR)
### Question:
What is the Hangul of the Province with a Kana of へいあんなんどう?
### Answer:
SELECT hangul FROM table_name_48 WHERE kana = "へいあんなんどう" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)
### Question:
What's the smallest amount of laps that suzuki ran with a grid value of 8?
### Answer:
SELECT MIN(laps) FROM table_name_26 WHERE manufacturer = "suzuki" AND grid = 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_42 (opponent VARCHAR, record VARCHAR)
### Question:
which team has a record of 13-18?
### Answer:
SELECT opponent FROM table_name_42 WHERE record = "13-18" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_34 (result VARCHAR, opponent VARCHAR)
### Question:
What's the result of the game against Bye?
### Answer:
SELECT result FROM table_name_34 WHERE opponent = "bye" |
Below is an context that describes a sql 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 (winner VARCHAR, mountains_classification VARCHAR, stage VARCHAR)
### Question:
What winner has pierre rolland as mountains classification, with 7 as the stage?
### Answer:
SELECT winner FROM table_name_14 WHERE mountains_classification = "pierre rolland" AND stage = "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_17323042_9 (game VARCHAR, date VARCHAR)
### Question:
How many games were played on March 15?
### Answer:
SELECT COUNT(game) FROM table_17323042_9 WHERE date = "March 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_74 (date VARCHAR, venue VARCHAR)
### Question:
What date was the game played at princes park?
### Answer:
SELECT date FROM table_name_74 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_18 (gold INTEGER, total VARCHAR, silver VARCHAR, nation VARCHAR)
### Question:
What is the sum of the gold medals for the nation of Great britain who had more than 8 silvers and a total of less than 61 medals?
### Answer:
SELECT SUM(gold) FROM table_name_18 WHERE silver > 8 AND nation = "great britain" AND total < 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 (score VARCHAR, song VARCHAR)
### Question:
What is the Score of 我等的人会是谁?
### Answer:
SELECT score FROM table_name_78 WHERE song = "我等的人会是谁" |
Below is an context that describes a sql 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 (original_nfl_team VARCHAR, player VARCHAR)
### Question:
Who's the original team for Rashied Davis Category:articles with hcards?
### Answer:
SELECT original_nfl_team FROM table_name_25 WHERE player = "rashied davis category:articles with hcards" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14603057_2 (class_a VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR)
### Question:
How many times was there a class A winner when Gregory-Portland was the class AAAA?
### Answer:
SELECT COUNT(class_a) FROM table_14603057_2 WHERE class_aAAA = Gregory - Portland |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13998897_1 (fcc_info VARCHAR, call_sign VARCHAR)
### Question:
what's the fcc info with call sign being w221aw
### Answer:
SELECT fcc_info FROM table_13998897_1 WHERE call_sign = "W221AW" |
Below is an context that describes a sql 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 (season VARCHAR, win_percentage VARCHAR, team VARCHAR)
### Question:
What season had a .439 Win% in the 1996-97 Team?
### Answer:
SELECT season FROM table_name_39 WHERE win_percentage = ".439" AND team = "1996-97" |
Below is an context that describes a sql 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 (grid INTEGER, manufacturer VARCHAR, laps VARCHAR)
### Question:
What is the lowest grid number that had a rider with KTM as the manufacturer who did more than 20 laps?
### Answer:
SELECT MIN(grid) FROM table_name_74 WHERE manufacturer = "ktm" 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_11545282_18 (player VARCHAR, years_for_jazz VARCHAR)
### Question:
Which player played for years 2000-02
### Answer:
SELECT player FROM table_11545282_18 WHERE years_for_jazz = "2000-02" |
Below is an context that describes a sql 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 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR, class VARCHAR)
### Question:
What is the largest amount of wins when there are less than 5 points, the class is 500cc, the team is norton, and the year is more recent than 1955?
### Answer:
SELECT MAX(wins) FROM table_name_1 WHERE points < 5 AND class = "500cc" AND team = "norton" AND year > 1955 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE complaints (product_id VARCHAR)
### Question:
List the name of all products along with the number of complaints that they have received.
### Answer:
SELECT t1.product_name, COUNT(*) FROM products AS t1 JOIN complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12141496_1 (alt_name VARCHAR, id VARCHAR)
### Question:
How many alt names does 1964-011a have?
### Answer:
SELECT COUNT(alt_name) FROM table_12141496_1 WHERE id = "1964-011A" |
Below is an context that describes a sql 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 (race VARCHAR, position VARCHAR)
### Question:
What race is in the 5th position?
### Answer:
SELECT race FROM table_name_61 WHERE position = "5th" |
Below is an context that describes a sql 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 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
### Question:
How much Silver has a Rank of 1, and a Bronze smaller than 3?
### Answer:
SELECT SUM(silver) FROM table_name_29 WHERE rank = "1" AND bronze < 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_1 (driver VARCHAR, engine_† VARCHAR)
### Question:
who is the driver when the engine is mercedes fo110m?
### Answer:
SELECT driver FROM table_name_1 WHERE engine_† = "mercedes fo110m" |
Below is an context that describes a sql 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 (release_date INTEGER, label VARCHAR, country VARCHAR)
### Question:
What was the latest release date for Ariola in Spain?
### Answer:
SELECT MAX(release_date) FROM table_name_3 WHERE label = "ariola" AND country = "spain" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27303975_2 (catalog_number VARCHAR, title VARCHAR)
### Question:
Name the catalog number for am/pm callanetics
### Answer:
SELECT catalog_number FROM table_27303975_2 WHERE title = "AM/PM Callanetics" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (goals VARCHAR, years_active VARCHAR)
### Question:
How many goals did a player active since 2006 have?
### Answer:
SELECT goals FROM table_name_4 WHERE years_active = "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_15366849_1 (zone INTEGER)
### Question:
What's the biggest zone?
### Answer:
SELECT MAX(zone) FROM table_15366849_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_74 (rank INTEGER, nationality VARCHAR, time VARCHAR)
### Question:
What's the lowest rank of the United States with a time less than 24.63?
### Answer:
SELECT MIN(rank) FROM table_name_74 WHERE nationality = "united states" AND time < 24.63 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who was the home team when walsall was the away team?
### Answer:
SELECT home_team FROM table_name_8 WHERE away_team = "walsall" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_148386_2 (savoy_theatre_1888 VARCHAR, casino_theatre_1888 VARCHAR)
### Question:
What is the total of roles that George Olmi plays in Savoy & Casino Theatre 1888?
### Answer:
SELECT COUNT(savoy_theatre_1888) FROM table_148386_2 WHERE casino_theatre_1888 = "George Olmi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18333678_2 (calling_at VARCHAR, arrival VARCHAR)
### Question:
how many callings of trains arriving at 09.06
### Answer:
SELECT COUNT(calling_at) FROM table_18333678_2 WHERE arrival = "09.06" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Templates (template_id VARCHAR, version_number VARCHAR, template_type_code VARCHAR)
### Question:
Show template ids, version numbers, and template type codes for all templates.
### Answer:
SELECT template_id, version_number, template_type_code FROM Templates |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (manufacturer VARCHAR, year_made VARCHAR)
### Question:
Which manufacturer has a year made of 4-6-0 — ooooo — ten-wheeler?
### Answer:
SELECT manufacturer FROM table_name_22 WHERE year_made = "4-6-0 — ooooo — ten-wheeler" |
Below is an context that describes a sql 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 (date VARCHAR, name VARCHAR)
### Question:
what is the date for tirrana?
### Answer:
SELECT date FROM table_name_18 WHERE name = "tirrana" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (report VARCHAR, date VARCHAR)
### Question:
What Report is on June 3, 2000?
### Answer:
SELECT report FROM table_name_85 WHERE date = "june 3, 2000" |
Below is an context that describes a sql 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 (party VARCHAR, elected VARCHAR, incumbent VARCHAR)
### Question:
Which party was elected in 2003 with incumbent Mark Obenshain?
### Answer:
SELECT party FROM table_name_47 WHERE elected = 2003 AND incumbent = "mark obenshain" |
Below is an context that describes a sql 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 (week INTEGER, attendance VARCHAR)
### Question:
In which week was the attendance 47,218?
### Answer:
SELECT SUM(week) FROM table_name_27 WHERE attendance = 47 OFFSET 218 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27700530_5 (high_points VARCHAR, date VARCHAR)
### Question:
Who had the high point total on october 20?
### Answer:
SELECT high_points FROM table_27700530_5 WHERE date = "October 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_94 (col__m_ INTEGER, prominence__m_ VARCHAR)
### Question:
What is the maximum Col (m) when 3,046 is the Prominence (m)?
### Answer:
SELECT MAX(col__m_) FROM table_name_94 WHERE prominence__m_ = 3 OFFSET 046 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (games VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR)
### Question:
How many Games has Points larger than 0 and a Lost smaller than 4?
### Answer:
SELECT COUNT(games) FROM table_name_44 WHERE points > 0 AND lost < 4 AND drawn < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (draws INTEGER, played INTEGER)
### Question:
What is the Draws average that has a Played that's smaller than 18?
### Answer:
SELECT AVG(draws) FROM table_name_46 WHERE played < 18 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (ticket_sold___available VARCHAR, ticket_grossing VARCHAR)
### Question:
How many tickets were sold and how many were available for the shows that grossed $348,674?
### Answer:
SELECT ticket_sold___available FROM table_name_30 WHERE ticket_grossing = "$348,674" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28180840_15 (semifinal__week_ VARCHAR, age_s_ VARCHAR)
### Question:
How many performers are 29 that made it to the semi finals?
### Answer:
SELECT semifinal__week_ FROM table_28180840_15 WHERE age_s_ = "29" |
Below is an context that describes a sql 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 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
### Question:
What is the highest number of laps with a time of +6.643 and grid less than 2?
### Answer:
SELECT MAX(laps) FROM table_name_58 WHERE time_retired = "+6.643" AND grid < 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 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR)
### Question:
What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982?
### Answer:
SELECT gross_revenue__2011_ FROM table_name_6 WHERE gross_revenue__1982_ = "$156,315" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (attendance INTEGER, week INTEGER)
### Question:
What is the highest attendance for week 1?
### Answer:
SELECT MAX(attendance) FROM table_name_63 WHERE week < 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_1341568_34 (party VARCHAR, incumbent VARCHAR)
### Question:
What party did incumbent Howard Coble belong to?
### Answer:
SELECT party FROM table_1341568_34 WHERE incumbent = "Howard Coble" |
Below is an context that describes a sql 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 (position VARCHAR, overall VARCHAR, college VARCHAR)
### Question:
What position went lower than 106 from the College of Virginia?
### Answer:
SELECT position FROM table_name_10 WHERE overall < 106 AND college = "virginia" |
Below is an context that describes a sql 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 (score VARCHAR, december INTEGER)
### Question:
after december 29 what is the score?
### Answer:
SELECT score FROM table_name_50 WHERE december > 29 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (home_team VARCHAR)
### Question:
What is the Home team score for the Home team from South Melbourne?
### Answer:
SELECT home_team AS score FROM table_name_33 WHERE home_team = "south melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE FACULTY (Fname VARCHAR, Rank VARCHAR)
### Question:
Find the first names of faculties of rank Professor in alphabetic order.
### Answer:
SELECT Fname FROM FACULTY WHERE Rank = "Professor" ORDER BY Fname |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1307842_7 (population VARCHAR, member_countries VARCHAR)
### Question:
What is the number of population for lithuania?
### Answer:
SELECT COUNT(population) FROM table_1307842_7 WHERE member_countries = "Lithuania" |
Below is an context that describes a sql 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 (type VARCHAR, moving_to VARCHAR)
### Question:
What is the type for the Panionios moving to?
### Answer:
SELECT type FROM table_name_91 WHERE moving_to = "panionios" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (Id VARCHAR)
### Question:
What is the 2006 value with a 2011 value greater than 4113 and a 2008 value less than 7181?
### Answer:
SELECT SUM(2006) FROM table_name_83 WHERE 2011 > 4113 AND 2008 < 7181 |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
What away team played at Kardinia Park?
### Answer:
SELECT away_team AS score FROM table_name_63 WHERE venue = "kardinia 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_89 (Id VARCHAR)
### Question:
Name the 2012 for 2009 of a and 2010 of a and 2011 of a
### Answer:
SELECT 2012 FROM table_name_89 WHERE 2009 = "a" AND 2010 = "a" AND 2011 = "a" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25730326_2 (points INTEGER, player VARCHAR)
### Question:
How many points does George M. Lawton have?
### Answer:
SELECT MAX(points) FROM table_25730326_2 WHERE player = "George M. Lawton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (type VARCHAR, source VARCHAR, ends VARCHAR, transfer_fee VARCHAR)
### Question:
What type ends in 2011, has a free transfer fee, and is sourced in leeds united?
### Answer:
SELECT type FROM table_name_26 WHERE ends = "2011" AND transfer_fee = "free" AND source = "leeds united" |
Below is an context that describes a sql 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 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR)
### Question:
Name the least total with rank less than 7, gold more than 16 and bronze less than 29
### Answer:
SELECT MIN(total) FROM table_name_54 WHERE rank < 7 AND gold > 16 AND bronze < 29 |
Below is an context that describes a sql 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 (athlete VARCHAR, run_2 VARCHAR)
### Question:
Who had a run 2 of 50.67?
### Answer:
SELECT athlete FROM table_name_67 WHERE run_2 = 50.67 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (round INTEGER, college VARCHAR, overall VARCHAR)
### Question:
What is the highest round for College of Nebraska if the Overall is under 190?
### Answer:
SELECT MAX(round) FROM table_name_18 WHERE college = "nebraska" AND overall < 190 |
Below is an context that describes a sql 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 (record VARCHAR, team VARCHAR, season VARCHAR)
### Question:
What was USC's record before the 1967 season?
### Answer:
SELECT record FROM table_name_34 WHERE team = "usc" AND season < 1967 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (points_difference VARCHAR, played VARCHAR, points_for VARCHAR)
### Question:
Which Points difference has Played of 32, and Points for of 840?
### Answer:
SELECT points_difference FROM table_name_23 WHERE played = "32" AND points_for = "840" |
Below is an context that describes a sql 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 (score VARCHAR, tie_no VARCHAR)
### Question:
What was the score for Tie no. 6?
### Answer:
SELECT score FROM table_name_27 WHERE tie_no = "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_13 (skip VARCHAR, lead VARCHAR)
### Question:
What skip has angela tuvaeva as the lead?
### Answer:
SELECT skip FROM table_name_13 WHERE lead = "angela tuvaeva" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25380472_2 (opponent VARCHAR, week VARCHAR)
### Question:
On week 7, what were the opponents?
### Answer:
SELECT opponent FROM table_25380472_2 WHERE week = 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_5 (block INTEGER, weight VARCHAR, height VARCHAR, date_of_birth VARCHAR)
### Question:
What is the lowest block that has a height less than 202, 19.06.1980 as the date of birth, and a weight greater than 76?
### Answer:
SELECT MIN(block) FROM table_name_5 WHERE height < 202 AND date_of_birth = "19.06.1980" AND weight > 76 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Students (student_id VARCHAR, first_name VARCHAR); CREATE TABLE Assessment_Notes (date_of_notes VARCHAR, student_id VARCHAR)
### Question:
Find the dates of assessment notes for students with first name "Fanny".
### Answer:
SELECT T1.date_of_notes FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.first_name = "Fanny" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE book_club (book_title VARCHAR, author_or_editor VARCHAR, YEAR INTEGER)
### Question:
show the titles, and authors or editors for all books made after the year 1989.
### Answer:
SELECT book_title, author_or_editor FROM book_club WHERE YEAR > 1989 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (position VARCHAR, caps VARCHAR)
### Question:
What position does the player with 13 caps play?
### Answer:
SELECT position FROM table_name_85 WHERE caps = 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_15040_8 (english VARCHAR, french VARCHAR)
### Question:
What is the English word for the French word cheval?
### Answer:
SELECT english FROM table_15040_8 WHERE french = "cheval" |
Below is an context that describes a sql 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 (crowd INTEGER, home_team VARCHAR)
### Question:
If the Home team is carlton, what's the lowest Crowd found?
### Answer:
SELECT MIN(crowd) FROM table_name_13 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_6 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
### Question:
Playing against Chelmsford City on 15 November 1986, who was the home team?
### Answer:
SELECT home_team FROM table_name_6 WHERE date = "15 november 1986" AND away_team = "chelmsford city" |
Below is an context that describes a sql 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 (to_par VARCHAR, country VARCHAR)
### Question:
How many to par in England?
### Answer:
SELECT to_par FROM table_name_93 WHERE country = "england" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (crowd INTEGER, away_team VARCHAR)
### Question:
What is the crowd with Away team of hawthorn?
### Answer:
SELECT AVG(crowd) FROM table_name_94 WHERE away_team = "hawthorn" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR)
### Question:
Which Score has a Competition of world cup qualifying, and a Brazil scorers of baltazar, and a Date of march 14, 1954?
### Answer:
SELECT score FROM table_name_65 WHERE competition = "world cup qualifying" AND brazil_scorers = "baltazar" AND date = "march 14, 1954" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25316812_1 (rate_limit__p_ VARCHAR, desired_rate__p_ VARCHAR)
### Question:
What is the rate limit when the desired rate (p) is 162?
### Answer:
SELECT rate_limit__p_ FROM table_25316812_1 WHERE desired_rate__p_ = "162" |
Below is an context that describes a sql 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 (goal VARCHAR, venue VARCHAR, date VARCHAR)
### Question:
At the venue of panama city, on 11 Febrero 2006, how many goals were scored?
### Answer:
SELECT COUNT(goal) FROM table_name_10 WHERE venue = "panama city" AND date = "11 febrero 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_68 (callsign VARCHAR, icao VARCHAR)
### Question:
Who is the callsign that has ICAO of SCO?
### Answer:
SELECT callsign FROM table_name_68 WHERE icao = "sco" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (date VARCHAR, opposition VARCHAR, round VARCHAR)
### Question:
When was the opposition sydney fc on round 19?
### Answer:
SELECT date FROM table_name_33 WHERE opposition = "sydney fc" AND round = "round 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_24 (round INTEGER, position VARCHAR)
### Question:
What is the highest round in which a player was picked for the Center position?
### Answer:
SELECT MAX(round) FROM table_name_24 WHERE position = "center" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (team_1 VARCHAR)
### Question:
What is the 2nd leg of the Internacional Team 1?
### Answer:
SELECT 2 AS nd_leg FROM table_name_48 WHERE team_1 = "internacional" |
Below is an context that describes a sql 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, home_team VARCHAR)
### Question:
When was the game when North Melbourne was the home team?
### Answer:
SELECT date FROM table_name_35 WHERE home_team = "north melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (_number_of_bids INTEGER, conference VARCHAR)
### Question:
What is the lowest number of bids in the Missouri Valley conference?
### Answer:
SELECT MIN(_number_of_bids) FROM table_name_47 WHERE conference = "missouri valley" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE shop (Shop_Name VARCHAR, Open_Year VARCHAR)
### Question:
List the name of the shop with the latest open year.
### Answer:
SELECT Shop_Name FROM shop ORDER BY Open_Year 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_52 (city VARCHAR, lead VARCHAR)
### Question:
Which City has a Lead of steve gould?
### Answer:
SELECT city FROM table_name_52 WHERE lead = "steve gould" |
Below is an context that describes a sql 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 (surface VARCHAR, score VARCHAR)
### Question:
What was the surface type during the match with the score of 6–4, 7–6 (7-5)??
### Answer:
SELECT surface FROM table_name_54 WHERE score = "6–4, 7–6 (7-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_11603006_1 (score VARCHAR, tournament VARCHAR)
### Question:
How many different scores are there for the Verizon Classic?
### Answer:
SELECT COUNT(score) FROM table_11603006_1 WHERE tournament = "Verizon Classic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27700530_10 (date VARCHAR, record VARCHAR)
### Question:
What is the date where the record was 18–12?
### Answer:
SELECT date FROM table_27700530_10 WHERE record = "18–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 matches (loser_rank INTEGER)
### Question:
Find the highest rank of losers in all matches.
### Answer:
SELECT MIN(loser_rank) FROM matches |
Below is an context that describes a sql 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 (rank INTEGER, country VARCHAR)
### Question:
What is the rank for China?
### Answer:
SELECT SUM(rank) FROM table_name_96 WHERE country = "china" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_62 (season VARCHAR, third VARCHAR)
### Question:
What is Season, when Third is "Glen Muirhead"?
### Answer:
SELECT season FROM table_name_62 WHERE third = "glen muirhead" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24784769_1 (round1 INTEGER, total_points VARCHAR)
### Question:
How many points did the team who had 132 total points have in round 1?
### Answer:
SELECT MAX(round1) FROM table_24784769_1 WHERE total_points = 132 |
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, date VARCHAR)
### Question:
What was the margin of victory on Mar 18, 1979?
### Answer:
SELECT margin_of_victory FROM table_name_69 WHERE date = "mar 18, 1979" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13564637_3 (try_bonus VARCHAR, won VARCHAR)
### Question:
what amount of try bonus where the game was won by 11?
### Answer:
SELECT COUNT(try_bonus) FROM table_13564637_3 WHERE won = "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_98 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR)
### Question:
What rounds did Roy Salvadori drive for David Brown Corporation?
### Answer:
SELECT rounds FROM table_name_98 WHERE entrant = "david brown corporation" AND driver = "roy salvadori" |
Below is an context that describes a sql 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 (partner VARCHAR, opponents_in_the_final VARCHAR)
### Question:
What is Partner, when Opponents In The Final is Remi Tezuka Shuko Aoyama?
### Answer:
SELECT partner FROM table_name_98 WHERE opponents_in_the_final = "remi tezuka shuko aoyama" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15346009_1 (date VARCHAR, location VARCHAR)
### Question:
On what day was the tournament in Alabama?
### Answer:
SELECT date FROM table_15346009_1 WHERE location = "Alabama" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.