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_22 (laps VARCHAR, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)
### Question:
What is total number of laps for bikes manufactured by KTM with a time of +3.578 and a grid number larger than 4?
### Answer:
SELECT COUNT(laps) FROM table_name_22 WHERE manufacturer = "ktm" AND time_retired = "+3.578" AND grid > 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_5 (drawn VARCHAR, points_1 VARCHAR, lost VARCHAR)
### Question:
How much Drawn has Points 1 of 51, and a Lost larger than 5?
### Answer:
SELECT COUNT(drawn) FROM table_name_5 WHERE points_1 = 51 AND lost > 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_52 (position VARCHAR, player VARCHAR)
### Question:
What position does gerald carter play?
### Answer:
SELECT position FROM table_name_52 WHERE player = "gerald carter" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1134091_4 (successor VARCHAR, vacator VARCHAR)
### Question:
Who was the successor when the vacator was chester e. holifield (d)?
### Answer:
SELECT successor FROM table_1134091_4 WHERE vacator = "Chester E. Holifield (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_name_49 (result VARCHAR, competition VARCHAR)
### Question:
what is the result of the competition in 2006 world cup qualification?
### Answer:
SELECT result FROM table_name_49 WHERE competition = "2006 world cup qualification" |
Below is an context that describes a sql 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 (region VARCHAR, location VARCHAR)
### Question:
what is the region when the location is 49.7462°n 117.1419°w?
### Answer:
SELECT region FROM table_name_96 WHERE location = "49.7462°n 117.1419°w" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)
### Question:
What is the home team's score in the game played at glenferrie oval?
### Answer:
SELECT home_team AS score FROM table_name_40 WHERE venue = "glenferrie oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (total INTEGER, year_s__won VARCHAR)
### Question:
Which Total has a Year(s) won of 1991?
### Answer:
SELECT MIN(total) FROM table_name_9 WHERE year_s__won = "1991" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (attendance VARCHAR, record VARCHAR)
### Question:
What was the attendance for the game that has a record of 1-1?
### Answer:
SELECT attendance FROM table_name_53 WHERE record = "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_12 (tie_no VARCHAR, home_team VARCHAR)
### Question:
When the home team was Woking, what was the tie no?
### Answer:
SELECT tie_no FROM table_name_12 WHERE home_team = "woking" |
Below is an context that describes a sql 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 (nationality VARCHAR, goals VARCHAR, apps VARCHAR)
### Question:
What is the Nationality of the Player with more than 8 Goals and Apps of 52?
### Answer:
SELECT nationality FROM table_name_5 WHERE goals > 8 AND apps = 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_49 (film_title_used_in_nomination VARCHAR, serbian_title VARCHAR)
### Question:
What is the Film title used in nomination of the Film with a Serbian title of бело одело?
### Answer:
SELECT film_title_used_in_nomination FROM table_name_49 WHERE serbian_title = "бело одело" |
Below is an context that describes a sql 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 (reported_isn INTEGER, on_july_2007_press_release VARCHAR, citizenship VARCHAR)
### Question:
Name the average reported isn for july 2007 for kuwait release of no
### Answer:
SELECT AVG(reported_isn) FROM table_name_4 WHERE on_july_2007_press_release = "no" AND citizenship = "kuwait" |
Below is an context that describes a sql 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 (year_2007 INTEGER, year_2005 INTEGER)
### Question:
What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377?
### Answer:
SELECT SUM(year_2007) FROM table_name_23 WHERE year_2005 > 29 OFFSET 377 |
Below is an context that describes a sql 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 (stadium VARCHAR, city VARCHAR)
### Question:
What is the name of the stadium for the city of melfi?
### Answer:
SELECT stadium FROM table_name_7 WHERE city = "melfi" |
Below is an context that describes a sql 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 (total_apps INTEGER, cl_apps VARCHAR, pl_g VARCHAR, player VARCHAR)
### Question:
What is the sum of the total apps of player benayoun, who has a PL G greater than 0 and more than 9 CL apps?
### Answer:
SELECT SUM(total_apps) FROM table_name_28 WHERE pl_g > 0 AND player = "benayoun" AND cl_apps > 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_27615520_1 (form_factor VARCHAR, bandwidth__gb_s_ VARCHAR)
### Question:
What is the shape distortion for the range frequency of 10?
### Answer:
SELECT form_factor FROM table_27615520_1 WHERE bandwidth__gb_s_ = "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_13464416_6 (high_points VARCHAR, team VARCHAR)
### Question:
tell who made the most scores on new jersey
### Answer:
SELECT high_points FROM table_13464416_6 WHERE team = "New Jersey" |
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR)
### Question:
what is the date when the away team is newport county?
### Answer:
SELECT date FROM table_name_98 WHERE away_team = "newport county" |
Below is an context that describes a sql 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 (authority VARCHAR, area VARCHAR, name VARCHAR)
### Question:
What is the Authority for Kuranui Primary School that is located in the Area of Tirau?
### Answer:
SELECT authority FROM table_name_82 WHERE area = "tirau" AND name = "kuranui 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_20278716_2 (mccain__percentage VARCHAR, others__percentage VARCHAR)
### Question:
What percentage of voters chose McCain in the county where 1.1% of voters voted third party?
### Answer:
SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = "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_89 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)
### Question:
What is the Time/Retired for a Grid smaller than 10, a Laps larger than 20, and a Constructor of talbot-lago - talbot?
### Answer:
SELECT time_retired FROM table_name_89 WHERE grid < 10 AND laps > 20 AND constructor = "talbot-lago - talbot" |
Below is an context that describes a sql 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 (venue VARCHAR, losing_team VARCHAR)
### Question:
Name the Venue which has a Losing Team of newcastle knights?
### Answer:
SELECT venue FROM table_name_7 WHERE losing_team = "newcastle knights" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (tournament VARCHAR)
### Question:
What is Tournament, when 2012 is "Grand Slam Tournaments"?
### Answer:
SELECT tournament FROM table_name_35 WHERE 2012 = "grand slam tournaments" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (attendance INTEGER, result VARCHAR, week VARCHAR)
### Question:
Tell me the sum of attendane for a result of w 12-3 and week more than 12
### Answer:
SELECT SUM(attendance) FROM table_name_64 WHERE result = "w 12-3" AND week > 12 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_74 (post_position INTEGER, lengths_behind VARCHAR)
### Question:
What's the post position when the lengths behind is 0?
### Answer:
SELECT AVG(post_position) FROM table_name_74 WHERE lengths_behind = "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_28 (period INTEGER, element VARCHAR)
### Question:
Which lowest period's element is ruthenium?
### Answer:
SELECT MIN(period) FROM table_name_28 WHERE element = "ruthenium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE projects (name VARCHAR, hours INTEGER)
### Question:
List the name of all projects that are operated longer than the average working hours of all projects.
### Answer:
SELECT name FROM projects WHERE hours > (SELECT AVG(hours) FROM projects) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE customer_events (customer_event_id VARCHAR, date_moved_in VARCHAR, property_id VARCHAR)
### Question:
List the customer event id and the corresponding move in date and property id.
### Answer:
SELECT customer_event_id, date_moved_in, property_id FROM customer_events |
Below is an context that describes a sql 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 (source VARCHAR, date VARCHAR)
### Question:
What is the source corresponding to a date of May 25–27?
### Answer:
SELECT source FROM table_name_7 WHERE date = "may 25–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_33 (against INTEGER, wins VARCHAR, wimmera_fl VARCHAR)
### Question:
What is the lowest against of the wimmera fl warrack eagles, which have less than 16 wins?
### Answer:
SELECT MIN(against) FROM table_name_33 WHERE wins < 16 AND wimmera_fl = "warrack eagles" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (winner VARCHAR, score VARCHAR)
### Question:
Which winner won by a score of 6–7(4), 7–6(3), [11–9]?
### Answer:
SELECT winner FROM table_name_60 WHERE score = "6–7(4), 7–6(3), [11–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_4 (date VARCHAR, score_in_the_final VARCHAR)
### Question:
What Date has a Score in the final of 3–6, 2–6, 4–6?
### Answer:
SELECT date FROM table_name_4 WHERE score_in_the_final = "3–6, 2–6, 4–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_62 (airdate VARCHAR, bbc_one_weekly_ranking VARCHAR)
### Question:
What date did the episode with a weekly ranking of 14 air?
### Answer:
SELECT airdate FROM table_name_62 WHERE bbc_one_weekly_ranking = 14 |
Below is an context that describes a sql 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 (game VARCHAR, team VARCHAR)
### Question:
What is Game, when Team is "Philadelphia"
### Answer:
SELECT game FROM table_name_48 WHERE team = "philadelphia" |
Below is an context that describes a sql 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 (virtue VARCHAR, invidia VARCHAR, latin VARCHAR)
### Question:
Which virtue is Invidia(Latin)?
### Answer:
SELECT virtue FROM table_name_20 WHERE (latin) = invidia |
Below is an context that describes a sql 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 (venue VARCHAR, notes VARCHAR)
### Question:
Tell me the venue for notes of 10.93 secs
### Answer:
SELECT venue FROM table_name_45 WHERE notes = "10.93 secs" |
Below is an context that describes a sql 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 (goals VARCHAR, date VARCHAR)
### Question:
What are the goals for 8/4/04?
### Answer:
SELECT goals FROM table_name_70 WHERE date = "8/4/04" |
Below is an context that describes 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 (customer_phone VARCHAR, customer_email VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR)
### Question:
What is the phone and email for customer with first name Aniyah and last name Feest?
### Answer:
SELECT customer_phone, customer_email FROM Customers WHERE customer_first_name = "Aniyah" AND customer_last_name = "Feest" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2203760_4 (budget VARCHAR, film VARCHAR)
### Question:
What was the budget for "Thirteen Ghosts"?
### Answer:
SELECT budget FROM table_2203760_4 WHERE film = "Thirteen Ghosts" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE customer (acc_bal INTEGER, state VARCHAR)
### Question:
Find the total account balance of each customer from Utah or Texas.
### Answer:
SELECT SUM(acc_bal) FROM customer WHERE state = 'Utah' OR state = 'Texas' |
Below is an context that describes a sql 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 (playoffs VARCHAR, manager VARCHAR, year VARCHAR)
### Question:
Manager of spencer abbott, and a Year of 1919 involves what playoffs?
### Answer:
SELECT playoffs FROM table_name_78 WHERE manager = "spencer abbott" AND year = 1919 |
Below is an context that describes a sql 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 (language VARCHAR, percentage___percentage_ VARCHAR)
### Question:
Which language has the percentage of 2.54?
### Answer:
SELECT language FROM table_name_8 WHERE percentage___percentage_ = "2.54" |
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR)
### Question:
In which of North Melbourne's away games was there the lowest crowd?
### Answer:
SELECT MIN(crowd) FROM table_name_71 WHERE away_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_28001186_8 (save VARCHAR, loss VARCHAR)
### Question:
Who had the save in the game in which Duke (3-2) took the loss?
### Answer:
SELECT save FROM table_28001186_8 WHERE loss = "Duke (3-2)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (college VARCHAR, pos VARCHAR, conf VARCHAR)
### Question:
What is the College of the LB Player with Big Ten Conf.?
### Answer:
SELECT college FROM table_name_70 WHERE pos = "lb" AND conf = "big ten" |
Below is an context that describes a sql 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 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR)
### Question:
What is the total enrollment for an affiliation of public, and was founded before 1866?
### Answer:
SELECT COUNT(enrollment) FROM table_name_43 WHERE affiliation = "public" AND founded < 1866 |
Below is an context that describes a sql 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 (grid INTEGER, constructor VARCHAR)
### Question:
What is the lowest grid with matra as constructor?
### Answer:
SELECT MIN(grid) FROM table_name_17 WHERE constructor = "matra" |
Below is an context that describes a sql 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 (background_colour VARCHAR, border VARCHAR, type_of_sign VARCHAR)
### Question:
What is the color of the background of the white border and sign of information?
### Answer:
SELECT background_colour FROM table_name_25 WHERE border = "white" AND type_of_sign = "information" |
Below is an context that describes a sql 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 (down__up_to_kbit_s_ INTEGER, provider VARCHAR, resale VARCHAR, up__up_to_kbit_s_ VARCHAR)
### Question:
what is the highest down (up to kbits/s) when resale is yes, up ( up to kbit/s) is 1180 and provider is 1&1?
### Answer:
SELECT MAX(down__up_to_kbit_s_) FROM table_name_26 WHERE resale = "yes" AND up__up_to_kbit_s_ = 1180 AND provider = "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_96 (score VARCHAR, game VARCHAR)
### Question:
What is the score of game 21?
### Answer:
SELECT score FROM table_name_96 WHERE game = 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 market (District VARCHAR, Market_ID VARCHAR, Ranking VARCHAR); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR); CREATE TABLE phone_market (Market_ID VARCHAR, Phone_ID VARCHAR)
### Question:
Show the names of phones and the districts of markets they are on, in ascending order of the ranking of the market.
### Answer:
SELECT T3.Name, T2.District FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID ORDER BY T2.Ranking |
Below is an context that describes a sql 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 (annual_change VARCHAR, rank VARCHAR, capacity_in_use VARCHAR)
### Question:
In which yearly change was there a capacity of 78.4% and a rank smaller than 3?
### Answer:
SELECT annual_change FROM table_name_31 WHERE rank < 3 AND capacity_in_use = "78.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_10 (margin_of_victory VARCHAR, date VARCHAR)
### Question:
What was Juli's winning margin on Aug 24, 1986?
### Answer:
SELECT margin_of_victory FROM table_name_10 WHERE date = "aug 24, 1986" |
Below is an context that describes a sql 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 (calendar VARCHAR, wysiwyg_editor VARCHAR, unread_message_tracking VARCHAR)
### Question:
Which Calendar has WYSIWYG Editor of yes and an Unread message tracking of yes?
### Answer:
SELECT calendar FROM table_name_56 WHERE wysiwyg_editor = "yes" AND unread_message_tracking = "yes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1255110_7 (goals_against INTEGER)
### Question:
What is the highest value under the column goals against?
### Answer:
SELECT MAX(goals_against) FROM table_1255110_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_89 (issue_price VARCHAR, year VARCHAR, theme VARCHAR)
### Question:
What is the issue price of a voyageur before 2006?
### Answer:
SELECT issue_price FROM table_name_89 WHERE year < 2006 AND theme = "voyageur" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
### Question:
Tell me the record for the date of August 18.
### Answer:
SELECT record FROM table_name_55 WHERE date = "august 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_16 (title VARCHAR, name VARCHAR)
### Question:
What is the title of ahaziah?
### Answer:
SELECT title FROM table_name_16 WHERE name = "ahaziah" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (market_share VARCHAR, assets__usd__millions VARCHAR, rank VARCHAR)
### Question:
What is the Market Share that has Assets of 25 Million and a rank of 23?
### Answer:
SELECT market_share FROM table_name_53 WHERE assets__usd__millions = 25 AND rank = "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_91 (country VARCHAR, place VARCHAR)
### Question:
What is the country that placed 4?
### Answer:
SELECT country FROM table_name_91 WHERE place = "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_31 (notes VARCHAR, title VARCHAR)
### Question:
What notes did the creature comforts film have?
### Answer:
SELECT notes FROM table_name_31 WHERE title = "creature comforts" |
Below is an context that describes a sql 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 (season INTEGER, score VARCHAR)
### Question:
Which Season has a Score of 39-27?
### Answer:
SELECT MAX(season) FROM table_name_26 WHERE score = "39-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_20217811_1 (electorate VARCHAR, united_future VARCHAR)
### Question:
Name the electoraate for united future being 4.47%
### Answer:
SELECT electorate FROM table_20217811_1 WHERE united_future = "4.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_19998428_3 (san_antonio_de_lomerío_municipality___percentage_ VARCHAR, cuatro_cañadas_municipality___percentage_ VARCHAR)
### Question:
If the Cuatro Cañadas municipality percentage is 252, what are all the San Antonio de Lomerío municipality percentage?
### Answer:
SELECT san_antonio_de_lomerío_municipality___percentage_ FROM table_19998428_3 WHERE cuatro_cañadas_municipality___percentage_ = "252" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29626583_3 (mls_team VARCHAR, player VARCHAR)
### Question:
Which MLS team picked player Jason Herrick?
### Answer:
SELECT mls_team FROM table_29626583_3 WHERE player = "Jason Herrick" |
Below is an context that describes a sql 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 (year INTEGER, result VARCHAR)
### Question:
What was the first year he placed 12th
### Answer:
SELECT MIN(year) FROM table_name_9 WHERE result = "12th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15905399_1 (validation VARCHAR, iin_ranges VARCHAR)
### Question:
How many validations are listed for the iin range 36?
### Answer:
SELECT COUNT(validation) FROM table_15905399_1 WHERE iin_ranges = "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_name_25 (player VARCHAR, round VARCHAR, position VARCHAR)
### Question:
Tell me the player for round more than 5 and position of c
### Answer:
SELECT player FROM table_name_25 WHERE round > 5 AND position = "c" |
Below is an context that describes a sql 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 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
### Question:
Who is the constructor for driver alan jones using a chassis of fw06 fw07?
### Answer:
SELECT constructor FROM table_name_93 WHERE chassis = "fw06 fw07" AND driver = "alan jones" |
Below is an context that describes a sql 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 (location VARCHAR, date VARCHAR)
### Question:
What is the Location of the game on 11/08/1975*?
### Answer:
SELECT location FROM table_name_43 WHERE date = "11/08/1975*" |
Below is an context that describes a sql 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 (size_of_rest_bit_field VARCHAR, leading_bits VARCHAR, start_address VARCHAR)
### Question:
What is the size of the rest bit field when the leading bits are more than 110 and the start address is 224.0.0.0?
### Answer:
SELECT size_of_rest_bit_field FROM table_name_12 WHERE leading_bits > 110 AND start_address = "224.0.0.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_68 (away_team VARCHAR, tie_no VARCHAR)
### Question:
Who was the away team with a tie number of 4?
### Answer:
SELECT away_team FROM table_name_68 WHERE tie_no = "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_63 (rounds VARCHAR, constructor VARCHAR, rider VARCHAR)
### Question:
What rounds did rider Mika Kallio with a Ducati constructor have?
### Answer:
SELECT rounds FROM table_name_63 WHERE constructor = "ducati" AND rider = "mika kallio" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Which 2013 has a 2010 of 1r?
### Answer:
SELECT 2013 FROM table_name_98 WHERE 2010 = "1r" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19948664_1 (index__year_ VARCHAR, author___editor___source VARCHAR, ranking_la__2_ VARCHAR)
### Question:
What index was created by the United Nations (UNDP) and reached 2nd place in the LA Ranking?
### Answer:
SELECT index__year_ FROM table_19948664_1 WHERE author___editor___source = "United Nations (UNDP)" AND ranking_la__2_ = "2nd" |
Below is an context that describes a sql 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 (club VARCHAR, season VARCHAR, goals VARCHAR, apps VARCHAR)
### Question:
In the 2010 season what club has 0 goals and more than 0 Apps?
### Answer:
SELECT club FROM table_name_43 WHERE goals = 0 AND apps > 0 AND season = "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_27 (standard_cost__usd_ VARCHAR, creator VARCHAR)
### Question:
What is the Standard cost (USD) by hans Oischinger Creator ?
### Answer:
SELECT standard_cost__usd_ FROM table_name_27 WHERE creator = "hans oischinger" |
Below is an context that describes a sql 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 (category VARCHAR, date VARCHAR, rider_2 VARCHAR)
### Question:
Which category earlier than 2006 has Bart Brentjens as rider 2?
### Answer:
SELECT category FROM table_name_33 WHERE date < 2006 AND rider_2 = "bart brentjens" |
Below is an context that describes a sql 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 (homeport__as_of_july_2013_ VARCHAR, laid_down VARCHAR)
### Question:
What is the Homeport that has a Laid down on 14 december 1985?
### Answer:
SELECT homeport__as_of_july_2013_ FROM table_name_73 WHERE laid_down = "14 december 1985" |
Below is an context that describes a sql 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 (drawn VARCHAR, tries_for VARCHAR)
### Question:
Name the drawn for tries for of 42
### Answer:
SELECT drawn FROM table_name_95 WHERE tries_for = "42" |
Below is an context that describes a sql 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 (bronze INTEGER, gold VARCHAR, nation VARCHAR)
### Question:
what is the least bronze when gold is more than 0 for russia?
### Answer:
SELECT MIN(bronze) FROM table_name_37 WHERE gold > 0 AND nation = "russia" |
Below is an context that describes a sql 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 (score VARCHAR, leading_scorer VARCHAR)
### Question:
What is Score, when Leading Scorer is Tyrone Hill , 20 Points?
### Answer:
SELECT score FROM table_name_6 WHERE leading_scorer = "tyrone hill , 20 points" |
Below is an context that describes a sql 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 (location VARCHAR, record VARCHAR)
### Question:
What is the location of the game with a 6-11-8 record?
### Answer:
SELECT location FROM table_name_71 WHERE record = "6-11-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_26130295_3 (first_team VARCHAR, player VARCHAR)
### Question:
who is first team when dimitris diamantidis play.
### Answer:
SELECT COUNT(first_team) FROM table_26130295_3 WHERE player = "Dimitris Diamantidis" |
Below is an context that describes a sql 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 (country VARCHAR, gdp__nominal_ VARCHAR)
### Question:
Which country has a GDP (nominal) of $29.9 billion?
### Answer:
SELECT country FROM table_name_46 WHERE gdp__nominal_ = "$29.9 billion" |
Below is an context that describes a sql 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 (original_artist VARCHAR, week__number VARCHAR)
### Question:
What is the name of the Original artist when the week # is top 16 (8 men)?
### Answer:
SELECT original_artist FROM table_name_15 WHERE week__number = "top 16 (8 men)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23211041_5 (high_points VARCHAR, team VARCHAR)
### Question:
Who had the highest points against new york?
### Answer:
SELECT high_points FROM table_23211041_5 WHERE team = "New York" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_55 (time VARCHAR, team VARCHAR, speed VARCHAR)
### Question:
What is the time of the rider from the 348cc K4 Honda team with a speed of 97.743mph?
### Answer:
SELECT time FROM table_name_55 WHERE team = "348cc k4 honda" AND speed = "97.743mph" |
Below is an context that describes a sql 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 (goals VARCHAR, goal_ratio VARCHAR, games VARCHAR)
### Question:
How many goals have a goal ration less than 0.8 with 56 games?
### Answer:
SELECT COUNT(goals) FROM table_name_49 WHERE goal_ratio < 0.8 AND games = 56 |
Below is an context that describes a sql 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 (venue VARCHAR, status VARCHAR, against VARCHAR)
### Question:
What is Venue, when Status is "Test Match", and when Against is "12"?
### Answer:
SELECT venue FROM table_name_16 WHERE status = "test match" AND against = 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_81 (report VARCHAR, opposing_team VARCHAR)
### Question:
What report has gauteng falcons as the opposing team?
### Answer:
SELECT report FROM table_name_81 WHERE opposing_team = "gauteng falcons" |
Below is an context that describes a sql 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 (region VARCHAR, venue VARCHAR)
### Question:
Tell me the region for frank erwin center
### Answer:
SELECT region FROM table_name_10 WHERE venue = "frank erwin 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_96 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who is the home team of the game against Essendon?
### Answer:
SELECT home_team FROM table_name_96 WHERE away_team = "essendon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (weight VARCHAR, series VARCHAR, reverse VARCHAR)
### Question:
How much did the Modern Pentathlon III Series coin weigh?
### Answer:
SELECT weight FROM table_name_65 WHERE series = "iii series" AND reverse = "modern pentathlon" |
Below is an context that describes a sql 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 (opponents VARCHAR, round VARCHAR)
### Question:
Name the opponents for round of round 5
### Answer:
SELECT opponents FROM table_name_9 WHERE round = "round 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_24 (pronunciation_spelled_free VARCHAR, pronunciation_spelled_checked VARCHAR)
### Question:
What is Pronunciation Spelled Free, when Pronunciation Spelled Checked is "ɑ"?
### Answer:
SELECT pronunciation_spelled_free FROM table_name_24 WHERE pronunciation_spelled_checked = "ɑ" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12043148_2 (glos_ VARCHAR, _wilts VARCHAR, bristol_ VARCHAR, _somerset VARCHAR)
### Question:
what is the glos & wilts where the bristol & somerset is lansdown?
### Answer:
SELECT glos_ & _wilts FROM table_12043148_2 WHERE bristol_ & _somerset = "Lansdown" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1598533_8 (inflation__percentage_annual__2012_ VARCHAR, gdp_per_capita_in_ppp_us$__2012_ VARCHAR)
### Question:
What is the annual inflation % when GDP per capita in ppp US$ is 24505 in 2012?
### Answer:
SELECT inflation__percentage_annual__2012_ FROM table_1598533_8 WHERE gdp_per_capita_in_ppp_us$__2012_ = 24505 |
Below is an context that describes a sql 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 (time VARCHAR, rank VARCHAR)
### Question:
What is the time of the rider ranked 6?
### Answer:
SELECT time FROM table_name_76 WHERE rank = 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.