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_9 (artist VARCHAR, mintage VARCHAR) ### Question: Which artist has a Mintage of 500? ### Answer: SELECT artist FROM table_name_9 WHERE mintage = 500
Below is an context that describes a sql 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 (total VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR) ### Question: What is the total number of medals of Norway with a silver medal count greater than 6 and a gold medal count greater than 10? ### Answer: SELECT COUNT(total) FROM table_name_72 WHERE silver > 6 AND nation = "norway" AND gold > 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_11 (venue VARCHAR, round VARCHAR) ### Question: What venue was round 20 held at? ### Answer: SELECT venue FROM table_name_11 WHERE round = 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_62 (opponent VARCHAR, week VARCHAR, attendance VARCHAR) ### Question: Who was the opponent on the game with a 65,569 attendance before week 12? ### Answer: SELECT opponent FROM table_name_62 WHERE week < 12 AND attendance = "65,569"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27712180_7 (high_points VARCHAR, score VARCHAR) ### Question: Name the high points for w 90–77 (ot) ### Answer: SELECT high_points FROM table_27712180_7 WHERE score = "W 90–77 (OT)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (record VARCHAR, opponent VARCHAR) ### Question: What is the record for the opponent St. Louis Cardinals? ### Answer: SELECT record FROM table_name_72 WHERE opponent = "st. louis cardinals"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_62 (crowd INTEGER, home_team VARCHAR) ### Question: What is the largest crowd with Home team of hawthorn? ### Answer: SELECT MAX(crowd) FROM table_name_62 WHERE home_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_28 (to_par VARCHAR, player VARCHAR, total VARCHAR) ### Question: What is the total number of To Par, when Player is "Julius Boros", and when Total is greater than 295? ### Answer: SELECT COUNT(to_par) FROM table_name_28 WHERE player = "julius boros" AND total > 295
Below is an context that describes a sql 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 (home_team VARCHAR, ground VARCHAR) ### Question: When the Ground was Optus Oval, what is the Home team score? ### Answer: SELECT home_team AS score FROM table_name_28 WHERE ground = "optus 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_1341568_6 (incumbent VARCHAR, district VARCHAR) ### Question: How many incumbents represent district California 34? ### Answer: SELECT COUNT(incumbent) FROM table_1341568_6 WHERE district = "California 34"
Below is an context that describes a sql 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 (result VARCHAR, team VARCHAR) ### Question: I want the result for team of giants ### Answer: SELECT result FROM table_name_63 WHERE team = "giants"
Below is an context that describes a sql 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 (lost INTEGER, difference VARCHAR, drawn VARCHAR) ### Question: What is the fewest lost with a difference of 9 and a less than 3 drawn? ### Answer: SELECT MIN(lost) FROM table_name_69 WHERE difference = "9" AND drawn < 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_33 (years VARCHAR, duration VARCHAR, character VARCHAR) ### Question: What are the years that have a duration of 15 years and giulia poggi as the character? ### Answer: SELECT years FROM table_name_33 WHERE duration = "15 years" AND character = "giulia poggi"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR) ### Question: Which opponent has September 14, 2003 as the date? ### Answer: SELECT opponent FROM table_name_14 WHERE date = "september 14, 2003"
Below is an context that describes a sql 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 (name VARCHAR, team VARCHAR, qual_2 VARCHAR) ### Question: what name goes along with the team of forsythe racing, and a Qual 2 of 1:47.132? ### Answer: SELECT name FROM table_name_87 WHERE team = "forsythe racing" AND qual_2 = "1:47.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_67 (composition VARCHAR, €_equiv VARCHAR) ### Question: What is the coin with a € equivalency of 0.30 made of? ### Answer: SELECT composition FROM table_name_67 WHERE €_equiv = "0.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_43 (airport VARCHAR, city VARCHAR) ### Question: What airport is in Sabha? ### Answer: SELECT airport FROM table_name_43 WHERE city = "sabha"
Below is an context that describes a sql 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 (nationality VARCHAR, player VARCHAR) ### Question: Dave Curry has what Nationality? ### Answer: SELECT nationality FROM table_name_56 WHERE player = "dave curry"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_51 (metres VARCHAR, feet INTEGER) ### Question: What is the sum of Metres wiht a Feet that's smaller than 196? ### Answer: SELECT COUNT(metres) FROM table_name_51 WHERE feet < 196
Below is an context that describes a sql 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 (venue VARCHAR, year VARCHAR) ### Question: what is the venue on 21 june 1987? ### Answer: SELECT venue FROM table_name_43 WHERE year = "21 june 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_66 (date_of_birth VARCHAR, player VARCHAR, years_at_club VARCHAR, goals VARCHAR, games VARCHAR) ### Question: what is the date of birth for the player with goals less than 4, games more than 1, years at club, 1945 and named jim young? ### Answer: SELECT date_of_birth FROM table_name_66 WHERE goals < 4 AND games > 1 AND years_at_club = "1945" AND player = "jim young"
Below is an context that describes a sql 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 (founded INTEGER, location VARCHAR) ### Question: What is the average number of students in East Lansing, MI? ### Answer: SELECT AVG(founded) FROM table_name_70 WHERE location = "east lansing, mi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23014923_1 (season VARCHAR, primary__south__winners VARCHAR) ### Question: If the primary (South) winners is Inter The Bloomfield, what is the season total number? ### Answer: SELECT COUNT(season) FROM table_23014923_1 WHERE primary__south__winners = "Inter The Bloomfield"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (assists VARCHAR, points VARCHAR) ### Question: What assists has points of 10? ### Answer: SELECT assists FROM table_name_11 WHERE points = "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_93 (tournament VARCHAR) ### Question: What is the tournament when 2010 is q2, and 2009 is 1r? ### Answer: SELECT tournament FROM table_name_93 WHERE 2010 = "q2" AND 2009 = "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_name_55 (competition VARCHAR, date VARCHAR) ### Question: Which competition has a Date of 2007-08-22? ### Answer: SELECT competition FROM table_name_55 WHERE date = "2007-08-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_14650162_1 (pick__number VARCHAR, college VARCHAR) ### Question: What is the pick number of the player whose college is Florida State? ### Answer: SELECT pick__number FROM table_14650162_1 WHERE college = "Florida State"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (Id VARCHAR) ### Question: What is the 1880 figure when 1860 is N/A and 1910 is 494? ### Answer: SELECT 1880 FROM table_name_19 WHERE 1860 = "n/a" AND 1910 = 494
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27003223_4 (population INTEGER, democratic VARCHAR) ### Question: What is the lowest population in which 28.0% are democrat? ### Answer: SELECT MIN(population) FROM table_27003223_4 WHERE democratic = "28.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_19 (result VARCHAR, venue VARCHAR) ### Question: What is the result in fort lauderdale, florida? ### Answer: SELECT result FROM table_name_19 WHERE venue = "fort lauderdale, florida"
Below is an context that describes a sql 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 (streak VARCHAR, game VARCHAR) ### Question: Which Streak has a Game of 3? ### Answer: SELECT streak FROM table_name_35 WHERE game = 3
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR) ### Question: What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference? ### Answer: SELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = "real avilés cf" AND goal_difference > -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_29 (away_team VARCHAR, venue VARCHAR) ### Question: What was the away team that played at Windy Hill? ### Answer: SELECT away_team FROM table_name_29 WHERE venue = "windy hill"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR); CREATE TABLE Student_Addresses (monthly_rental INTEGER, address_id VARCHAR) ### Question: What are the line 1 and average monthly rentals of all student addresses? ### Answer: SELECT T1.line_1, AVG(T2.monthly_rental) FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id
Below is an context that describes a sql 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 (title VARCHAR, no_in_series INTEGER) ### Question: What are the titles for episodes prior to episode 4? ### Answer: SELECT title FROM table_name_23 WHERE no_in_series < 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 university (school VARCHAR, LOCATION VARCHAR, affiliation VARCHAR) ### Question: List all public schools and their locations. ### Answer: SELECT school, LOCATION FROM university WHERE affiliation = 'Public'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23292220_6 (jasons_team VARCHAR, episode VARCHAR) ### Question: Name all of Jason's teams that appeared on episode 6x02? ### Answer: SELECT jasons_team FROM table_23292220_6 WHERE episode = "6x02"
Below is an context that describes a sql 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 (country VARCHAR, iata VARCHAR) ### Question: Which country has an IATA of JFK? ### Answer: SELECT country FROM table_name_3 WHERE iata = "jfk"
Below is an context that describes a sql 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 (score VARCHAR, competition VARCHAR, date VARCHAR) ### Question: What is the score of the friendly match competition on 24 July 2008? ### Answer: SELECT score FROM table_name_3 WHERE competition = "friendly match" AND date = "24 july 2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (tournament VARCHAR) ### Question: What is the results from 2003 that has a 2012 result of 1r and a 2004 result of 2r and from the Australian Open? ### Answer: SELECT 2003 FROM table_name_67 WHERE 2012 = "1r" AND 2004 = "2r" AND tournament = "australian open"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (in_office VARCHAR, member VARCHAR) ### Question: What is the office held by member Mark Coulton? ### Answer: SELECT in_office FROM table_name_58 WHERE member = "mark coulton"
Below is an context that describes a sql 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 (assembled VARCHAR) ### Question: Who was the 2nd member of the parliament that was assembled on 3 november 1529? ### Answer: SELECT 2 AS nd_member FROM table_name_37 WHERE assembled = "3 november 1529"
Below is an context that describes a sql 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 (name VARCHAR, term_start VARCHAR, date_of_birth VARCHAR) ### Question: Which leader born on December 17, 1874 started their term before 1984? ### Answer: SELECT name FROM table_name_50 WHERE term_start < 1984 AND date_of_birth = "december 17, 1874"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (scored INTEGER, points VARCHAR, position VARCHAR) ### Question: How many points are in the scored category for the team that has 8 total points and a position that is less than 10? ### Answer: SELECT SUM(scored) FROM table_name_38 WHERE points = 8 AND position < 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_66 (total VARCHAR, year_s__won VARCHAR) ### Question: What is the Total for the Player who won in 1936? ### Answer: SELECT COUNT(total) FROM table_name_66 WHERE year_s__won = "1936"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Owners (first_name VARCHAR, name VARCHAR); CREATE TABLE Dogs (first_name VARCHAR, name VARCHAR); CREATE TABLE Professionals (first_name VARCHAR, name VARCHAR) ### Question: Which first names are used for professionals or owners but are not used as dog names? ### Answer: SELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs
Below is an context that describes a sql 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 (province VARCHAR, capital VARCHAR) ### Question: Which province has muju as the capital? ### Answer: SELECT province FROM table_name_82 WHERE capital = "muju"
Below is an context that describes a sql 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 (age__years_ INTEGER, place VARCHAR, performance VARCHAR) ### Question: What is the highest age (years) that the 1st place had a performance of 62.20m? ### Answer: SELECT MAX(age__years_) FROM table_name_45 WHERE place = "1st" AND performance = "62.20m"
Below is an context that describes a sql 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 VARCHAR, tenure VARCHAR) ### Question: What is the Rank of the Character with Tenure of 2011? ### Answer: SELECT rank FROM table_name_2 WHERE tenure = "2011"
Below is an context that describes a sql 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 (score VARCHAR, place VARCHAR, player VARCHAR) ### Question: What is T7 Place Player Justin Leonard's Score? ### Answer: SELECT score FROM table_name_31 WHERE place = "t7" AND player = "justin leonard"
Below is an context that describes a sql 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 (mutated_from VARCHAR, plant_patent_number VARCHAR) ### Question: What's the mutated having a patent number of US plant patent 9645? ### Answer: SELECT mutated_from FROM table_name_39 WHERE plant_patent_number = "us plant patent 9645"
Below is an context that describes a sql 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 (opponent VARCHAR, site_stadium VARCHAR) ### Question: Who was the opponent at Lindsey Nelson Stadium? ### Answer: SELECT opponent FROM table_name_73 WHERE site_stadium = "lindsey nelson stadium"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12608427_8 (started VARCHAR, name VARCHAR) ### Question: What date did De Vries start? ### Answer: SELECT started FROM table_12608427_8 WHERE name = "de Vries"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR); CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR) ### Question: Find the details of all the distinct customers who have orders with status "On Road". ### Answer: SELECT DISTINCT T1.customer_details FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "On Road"
Below is an context that describes a sql 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 (place VARCHAR, country VARCHAR, score VARCHAR) ### Question: Name the Place of england with a Score larger than 66? ### Answer: SELECT place FROM table_name_3 WHERE country = "england" AND score > 66
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR) ### Question: Show the name of the customer who has the most orders. ### Answer: SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) 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_96 (cerclis_id VARCHAR, county VARCHAR, deleted VARCHAR) ### Question: What is the CERCLIS ID of the site in Polk County, with the date 08/04/2009? ### Answer: SELECT cerclis_id FROM table_name_96 WHERE county = "polk" AND deleted = "08/04/2009"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1220125_4 (name VARCHAR, launched VARCHAR) ### Question: What is the name for 30 september 1943? ### Answer: SELECT name FROM table_1220125_4 WHERE launched = "30 September 1943"
Below is an context that describes a sql 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 (tied VARCHAR, drawn VARCHAR) ### Question: Name the tie that has 71 drawn ### Answer: SELECT tied FROM table_name_1 WHERE drawn = "71"
Below is an context that describes a sql 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 (top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR) ### Question: Tell me the total number of top 25 for wins less than 1 and cuts made of 22 ### Answer: SELECT COUNT(top_25) FROM table_name_59 WHERE cuts_made = 22 AND wins < 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_60 (spectators INTEGER, round VARCHAR) ### Question: What are the average spectators from the Group H Round? ### Answer: SELECT AVG(spectators) FROM table_name_60 WHERE round = "group h"
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR) ### Question: What is the result on 30 june 1995? ### Answer: SELECT result FROM table_name_2 WHERE date = "30 june 1995"
Below is an context that describes a sql 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 (opponent VARCHAR, record VARCHAR) ### Question: Name the opponent with record of 52-58 ### Answer: SELECT opponent FROM table_name_10 WHERE record = "52-58"
Below is an context that describes a sql 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 (paraguay_scorers VARCHAR, date VARCHAR) ### Question: Who were the Paraguay scorers on June 15, 2008? ### Answer: SELECT paraguay_scorers FROM table_name_1 WHERE date = "june 15, 2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (player VARCHAR, pick__number VARCHAR, college VARCHAR) ### Question: Who is the player that attended Notre Dame with a pick smaller than 304? ### Answer: SELECT player FROM table_name_76 WHERE pick__number < 304 AND college = "notre dame"
Below is an context that describes a sql 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 (venue VARCHAR, state VARCHAR) ### Question: What venue is in the state of Connecticut? ### Answer: SELECT venue FROM table_name_90 WHERE state = "connecticut"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_299121_2 (ranking VARCHAR, season VARCHAR) ### Question: What was the 2nd's season's ranking? ### Answer: SELECT ranking FROM table_299121_2 WHERE season = "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_24 (round VARCHAR, position VARCHAR, signed VARCHAR) ### Question: What round drafted was the 1b and a Signed of no cardinals - 1969 june? ### Answer: SELECT COUNT(round) FROM table_name_24 WHERE position = "1b" AND signed = "no cardinals - 1969 june"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23248869_8 (high_assists VARCHAR, score VARCHAR) ### Question: Who had the high assists when the score was l 85–118 (ot) ### Answer: SELECT high_assists FROM table_23248869_8 WHERE score = "L 85–118 (OT)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26375386_16 (judges INTEGER, couple VARCHAR) ### Question: What was the lowest judge rank for danny and frankie? ### Answer: SELECT MIN(judges) FROM table_26375386_16 WHERE couple = "Danny and Frankie"
Below is an context that describes a sql 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 (loss VARCHAR, attendance VARCHAR) ### Question: What was the loss of the game that had an attendance of 18,769? ### Answer: SELECT loss FROM table_name_22 WHERE attendance = "18,769"
Below is an context that describes a sql 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 (class_aA VARCHAR, school_year VARCHAR) ### Question: What team was class AA in years 1994-95? ### Answer: SELECT class_aA FROM table_name_52 WHERE school_year = "1994-95"
Below is an context that describes a sql 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 (high_rebounds VARCHAR, date VARCHAR) ### Question: What were the high rebounds on september 11? ### Answer: SELECT high_rebounds FROM table_name_35 WHERE date = "september 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_9 (game VARCHAR, result VARCHAR) ### Question: What Game had a Result of 136-112? ### Answer: SELECT game FROM table_name_9 WHERE result = "136-112"
Below is an context that describes a sql 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 (attendance INTEGER, week VARCHAR) ### Question: What's the lowest Attendance for a Week of 2? ### Answer: SELECT MIN(attendance) FROM table_name_3 WHERE week = 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_25391981_20 (weekly_rank VARCHAR, share VARCHAR, original_airdate VARCHAR) ### Question: What is the weekly rank of the episode with a 14 share whose original airdate was April 20, 2010? ### Answer: SELECT weekly_rank FROM table_25391981_20 WHERE share = "14" AND original_airdate = "April 20, 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_12962773_15 (current_club VARCHAR, year_born VARCHAR) ### Question: Which club had a player born in 1983? ### Answer: SELECT current_club FROM table_12962773_15 WHERE year_born = 1983
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (sales VARCHAR, album_title VARCHAR) ### Question: How many copies of scouting for girls were sold? ### Answer: SELECT COUNT(sales) FROM table_name_31 WHERE album_title = "scouting for girls"
Below is an context that describes a sql 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 (chassis_code VARCHAR, power VARCHAR, model VARCHAR) ### Question: What Chassis code has a 200d model and a Power of ps (kw; hp) @ 4200? ### Answer: SELECT chassis_code FROM table_name_63 WHERE power = "ps (kw; hp) @ 4200" AND model = "200d"
Below is an context that describes a sql 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 (name VARCHAR, length VARCHAR, winner VARCHAR) ### Question: What is the Name of the Special Stage with a 2.40km length and S. Loeb as Winner? ### Answer: SELECT name FROM table_name_45 WHERE length = "2.40km" AND winner = "s. loeb"
Below is an context that describes 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 (Number_products INTEGER) ### Question: find the minimum and maximum number of products of all stores. ### Answer: SELECT MIN(Number_products), MAX(Number_products) FROM shop
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1601792_4 (site VARCHAR, television_station VARCHAR) ### Question: What are the site(s) for tv station 8tv? ### Answer: SELECT site FROM table_1601792_4 WHERE television_station = "8TV"
Below is an context that describes a sql 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 (draw INTEGER, points VARCHAR, rank VARCHAR) ### Question: What is the lowest draw number for the song ranked 6th with more than 43 points? ### Answer: SELECT MIN(draw) FROM table_name_22 WHERE points > 43 AND rank = "6th"
Below is an context that describes a sql 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 VARCHAR, time_retired VARCHAR) ### Question: What grad has a Time/Retired of + 1:24.3? ### Answer: SELECT grid FROM table_name_74 WHERE time_retired = "+ 1:24.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_24912693_4 (field_goals INTEGER, rebounds VARCHAR) ### Question: How many field goals does the player with 84 rebounds have? ### Answer: SELECT MIN(field_goals) FROM table_24912693_4 WHERE rebounds = 84
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR) ### Question: What is the highest attendance on September 14, 1986? ### Answer: SELECT MAX(attendance) FROM table_name_84 WHERE date = "september 14, 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_72 (opponents_in_final VARCHAR, score_in_final VARCHAR) ### Question: Who were the opponents in the match or matches that ended in a score of W/O? ### Answer: SELECT opponents_in_final FROM table_name_72 WHERE score_in_final = "w/o"
Below is an context that describes a sql 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 (deorbit_date VARCHAR, launch_date VARCHAR) ### Question: When did the ATV that launched on 9 March 2008, deorbit? ### Answer: SELECT deorbit_date FROM table_name_9 WHERE launch_date = "9 march 2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18621456_22 (legs_lost INTEGER) ### Question: What is the most legs lost of all? ### Answer: SELECT MAX(legs_lost) FROM table_18621456_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_11647327_2 (head_of_household VARCHAR, single VARCHAR) ### Question: What is the range of the head of household whereas single is $171,551–$372,950? ### Answer: SELECT head_of_household FROM table_11647327_2 WHERE single = "$171,551–$372,950"
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR) ### Question: What was the away team score at Brunswick Street Oval? ### Answer: SELECT away_team AS score FROM table_name_82 WHERE venue = "brunswick street 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_79 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR) ### Question: Which highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53? ### Answer: SELECT MAX(goals_against) FROM table_name_79 WHERE wins = 19 AND goals_for > 53
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Manufacturers (name VARCHAR, code VARCHAR); CREATE TABLE products (Name VARCHAR, Price INTEGER, manufacturer VARCHAR) ### Question: Select the name of each manufacturer along with the name and price of its most expensive product. ### Answer: SELECT T1.Name, MAX(T1.Price), T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.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_name_63 (points VARCHAR, chassis VARCHAR, year VARCHAR) ### Question: What is the number of points when there was a BMW 269 F2 chassis earlier than 1969? ### Answer: SELECT COUNT(points) FROM table_name_63 WHERE chassis = "bmw 269 f2" AND year < 1969
Below is an context that describes a sql 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 (apparent_magnitude VARCHAR, ngc_number VARCHAR) ### Question: what is the apparent magnitude of NGC number 6027d? ### Answer: SELECT apparent_magnitude FROM table_name_14 WHERE ngc_number = "6027d"
Below is an context that describes a sql 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 (rowers VARCHAR, notes VARCHAR, time VARCHAR) ### Question: Who were the rowers when notes were sa/b, with a time of 5:51.30? ### Answer: SELECT rowers FROM table_name_76 WHERE notes = "sa/b" AND time = "5:51.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_21313498_1 (title VARCHAR, production_code VARCHAR) ### Question: what is the name of the episode which the production code is 62015-08-162 ### Answer: SELECT title FROM table_21313498_1 WHERE production_code = "62015-08-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_50 (home VARCHAR, record VARCHAR) ### Question: Who was the home team in the game with a record of 2-4? ### Answer: SELECT home FROM table_name_50 WHERE record = "2-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_70 (date VARCHAR, record VARCHAR) ### Question: Record of 92–70 had what date? ### Answer: SELECT date FROM table_name_70 WHERE record = "92–70"
Below is an context that describes a sql 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 (year VARCHAR, stages VARCHAR) ### Question: What year was stage 8 reached? ### Answer: SELECT year FROM table_name_54 WHERE stages = "8"