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_26866233_1 (director VARCHAR, series__number VARCHAR) ### Question: Who are the directors of the episode in series # 54? ### Answer: SELECT director FROM table_26866233_1 WHERE series__number = 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_1341598_11 (party VARCHAR, incumbent VARCHAR) ### Question: What is the party for the incumbent Wyche Fowler? ### Answer: SELECT party FROM table_1341598_11 WHERE incumbent = "Wyche Fowler"
Below is an context that describes a sql 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 (opponent VARCHAR, venue VARCHAR) ### Question: Who is the opponent of the match at cua stadium? ### Answer: SELECT opponent FROM table_name_7 WHERE venue = "cua 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_27441210_6 (year VARCHAR, weeks_at__number1 VARCHAR) ### Question: How many years have a weeks at #1 value of exactly 8? ### Answer: SELECT COUNT(year) FROM table_27441210_6 WHERE weeks_at__number1 = 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_54 (class VARCHAR, call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR) ### Question: Which Class has a ERP W larger than 205, and a Frequency MHz smaller than 93.9, and a Call sign of k210cb? ### Answer: SELECT class FROM table_name_54 WHERE erp_w > 205 AND frequency_mhz < 93.9 AND call_sign = "k210cb"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, fname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR) ### Question: What is the last name of the author that has published the most papers? ### Answer: SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.fname, t1.lname 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_11 (result VARCHAR, venue VARCHAR) ### Question: Which result has adelaide oval as the venue? ### Answer: SELECT result FROM table_name_11 WHERE venue = "adelaide 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_43 (rank INTEGER, silver INTEGER) ### Question: What is the highest rank of a nation with fewer than 0 silver medals? ### Answer: SELECT MAX(rank) FROM table_name_43 WHERE silver < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, export_volume_of_goods_and_services__percent_change_ VARCHAR) ### Question: What is the current account balance for an export volume of goods and service value of -4.2? ### Answer: SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE export_volume_of_goods_and_services__percent_change_ = "-4.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_67 (country VARCHAR, score VARCHAR) ### Question: What Country scored 70-68-70=208? ### Answer: SELECT country FROM table_name_67 WHERE score = 70 - 68 - 70 = 208
Below is an context that describes a sql 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 (venue VARCHAR, year VARCHAR, position VARCHAR) ### Question: What was the venue before 2006, with the position of 10th? ### Answer: SELECT venue FROM table_name_26 WHERE year < 2006 AND position = "10th"
Below is an context that describes a sql 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 (grid INTEGER, driver VARCHAR, laps VARCHAR) ### Question: what is the grid when the driver is louis rosier and the laps is more than 78? ### Answer: SELECT MIN(grid) FROM table_name_39 WHERE driver = "louis rosier" AND laps > 78
Below is an context that describes a sql 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 (title VARCHAR, rank VARCHAR, worldwide_gross VARCHAR) ### Question: Who has the title and rank 14, and a worldwide gross of $202,292,902? ### Answer: SELECT title FROM table_name_83 WHERE rank > 14 AND worldwide_gross = "$202,292,902"
Below is an context that describes a sql 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 (sample_size VARCHAR, date_s__administered VARCHAR) ### Question: what is the sample size when the date(s) administered is march 24, 2010? ### Answer: SELECT sample_size FROM table_name_4 WHERE date_s__administered = "march 24, 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_18064020_21 (td INTEGER) ### Question: What is the largest number of tds scored for a player? ### Answer: SELECT MAX(td) FROM table_18064020_21
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341472_20 (result VARCHAR, party VARCHAR, incumbent VARCHAR) ### Question: Which result did the Republican have with the incumbent, Billy Tauzin? ### Answer: SELECT result FROM table_1341472_20 WHERE party = "Republican" AND incumbent = "Billy Tauzin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1538516_1 (maximum_ceiling_temperature VARCHAR, temperature_classification VARCHAR) ### Question: Name the most ceiling temperature for very extra high ### Answer: SELECT maximum_ceiling_temperature FROM table_1538516_1 WHERE temperature_classification = "Very Extra High"
Below is an context that describes a sql 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 (team__number2 VARCHAR) ### Question: What is the 1st leg of bp. honvéd team #2? ### Answer: SELECT 1 AS st_leg FROM table_name_62 WHERE team__number2 = "bp. honvé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_39 (name VARCHAR, time VARCHAR) ### Question: Who had a time of 26.11? ### Answer: SELECT name FROM table_name_39 WHERE time = "26.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_94 (opponent VARCHAR, game VARCHAR) ### Question: Who was the opponent in Game 27? ### Answer: SELECT opponent FROM table_name_94 WHERE game = 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_42 (director_s_ VARCHAR, prize VARCHAR) ### Question: What Director won a prize of ¥2,000,000? ### Answer: SELECT director_s_ FROM table_name_42 WHERE prize = "¥2,000,000"
Below is an context that describes a sql 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 (primary_conference VARCHAR, team_nickname VARCHAR) ### Question: What primary conference does the team nicknamed Phoenix belongs to? ### Answer: SELECT primary_conference FROM table_name_39 WHERE team_nickname = "phoenix"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15621965_14 (school_club_team VARCHAR, player VARCHAR) ### Question: Name the school/club team for kevin ollie ### Answer: SELECT school_club_team FROM table_15621965_14 WHERE player = "Kevin Ollie"
Below is an context that describes a sql 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 (state VARCHAR, interview VARCHAR, evening_gown VARCHAR, average VARCHAR, swimsuit VARCHAR) ### Question: Which state had an average of less than 8.67, a swimsuit score of 8.27, an evening gown score of 8.78, and an interview number of 8.52? ### Answer: SELECT state FROM table_name_70 WHERE average < 8.67 AND swimsuit = 8.27 AND evening_gown = 8.78 AND interview = 8.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_29202276_2 (origin VARCHAR, destination VARCHAR) ### Question: What is the origin when the destination is Mumbai? ### Answer: SELECT origin FROM table_29202276_2 WHERE destination = "Mumbai"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE volume (Song VARCHAR, Artist_ID VARCHAR); CREATE TABLE artist (Artist_ID VARCHAR, age VARCHAR) ### Question: What are the songs in volumes associated with the artist aged 32 or older? ### Answer: SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age >= 32
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_101196_1 (population VARCHAR, county VARCHAR, english_name VARCHAR) ### Question: What is the population for County Mayo with the English Name Carrowteige? ### Answer: SELECT population FROM table_101196_1 WHERE county = "county Mayo" AND english_name = "Carrowteige"
Below is an context that describes a sql 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 (position VARCHAR, school_club_team VARCHAR) ### Question: What is Position, when School/Club Team is McMaster? ### Answer: SELECT position FROM table_name_34 WHERE school_club_team = "mcmaster"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE STUDENT (Major VARCHAR) ### Question: Report all majors that have less than 3 students. ### Answer: SELECT Major FROM STUDENT GROUP BY Major HAVING COUNT(*) < 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_32 (Id VARCHAR) ### Question: What is the 2007 that has a grand slam tournaments in 2006. ### Answer: SELECT 2007 FROM table_name_32 WHERE 2006 = "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_56 (western_title VARCHAR, genre VARCHAR) ### Question: What is the western title for the puzzle genre? ### Answer: SELECT western_title FROM table_name_56 WHERE genre = "puzzle"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16976547_2 (finish VARCHAR, eliminated VARCHAR) ### Question: Name the finish for patani ### Answer: SELECT finish FROM table_16976547_2 WHERE eliminated = "Patani"
Below is an context that describes a sql 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 (attendance VARCHAR, opponent VARCHAR) ### Question: What is the Attendance at the game against the Cincinnati Bengals? ### Answer: SELECT attendance FROM table_name_7 WHERE opponent = "cincinnati bengals"
Below is an context that describes a sql 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 (instant_messaging VARCHAR, telephony VARCHAR) ### Question: What is Instant Messaging, when Telephony is "Yes with integrated Sametime"? ### Answer: SELECT instant_messaging FROM table_name_64 WHERE telephony = "yes with integrated sametime"
Below is an context that describes a sql 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 (result VARCHAR, goal VARCHAR, date VARCHAR) ### Question: What is the result of the match on 16 October 2012 with less than 4 goals? ### Answer: SELECT result FROM table_name_84 WHERE goal < 4 AND date = "16 october 2012"
Below is an context that describes a sql 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 (height VARCHAR, date_of_birth VARCHAR) ### Question: What is the Height of the Player with a Date of Birth of 1982-07-05? ### Answer: SELECT height FROM table_name_19 WHERE date_of_birth = "1982-07-05"
Below is an context that describes a sql 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 (actor_in_moscow VARCHAR, _2007 VARCHAR, voyage VARCHAR) ### Question: Who was the 2007 actor from Moscow for the voyage of Varenka Bakunin? ### Answer: SELECT actor_in_moscow, _2007 FROM table_name_91 WHERE voyage = "varenka bakunin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27529608_21 (hometown VARCHAR, name_name_of_act VARCHAR) ### Question: What is the hometown of Plutonic? ### Answer: SELECT hometown FROM table_27529608_21 WHERE name_name_of_act = "PLUtonic"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What is the 2010 value with a 2r in 200r and a 3r in 2011? ### Answer: SELECT 2010 FROM table_name_85 WHERE 2004 = "2r" AND 2011 = "3r"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) ### Question: Find all students taught by OTHA MOYER. Output the first and last names of the students. ### Answer: SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "OTHA" AND T2.lastname = "MOYER"
Below is an context that describes a sql 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 (rank INTEGER, points INTEGER) ### Question: What is the average rank for more than 12 points? ### Answer: SELECT AVG(rank) FROM table_name_24 WHERE points > 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_1342393_23 (first_elected INTEGER, incumbent VARCHAR) ### Question: What is the least first elected for jeff busby? ### Answer: SELECT MIN(first_elected) FROM table_1342393_23 WHERE incumbent = "Jeff Busby"
Below is an context that describes a sql 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 (election VARCHAR) ### Question: Which 2nd Party has an Election of 1837? ### Answer: SELECT 2 AS nd_party FROM table_name_96 WHERE election = "1837"
Below is an context that describes a sql 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 (rules VARCHAR, method VARCHAR) ### Question: WHich Rules has a Method of ko (punch)? ### Answer: SELECT rules FROM table_name_26 WHERE method = "ko (punch)"
Below is an context that describes a sql 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 (year_s__won VARCHAR, to_par INTEGER) ### Question: What is Year(s) Won, when To Par is greater than 13? ### Answer: SELECT year_s__won FROM table_name_24 WHERE to_par > 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_name_81 (country VARCHAR, player VARCHAR) ### Question: From what Country is Gary Evans? ### Answer: SELECT country FROM table_name_81 WHERE player = "gary evans"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (attendance VARCHAR, week VARCHAR, date VARCHAR) ### Question: What is the attendance in a week larter than 4, on December 6, 1992? ### Answer: SELECT attendance FROM table_name_80 WHERE week > 4 AND date = "december 6, 1992"
Below is an context that describes a sql 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 (country VARCHAR, player VARCHAR) ### Question: What country was the game in when the player was Craig Stadler? ### Answer: SELECT country FROM table_name_20 WHERE player = "craig stadler"
Below is an context that describes a sql 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 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) ### Question: What is the total grid number where the time/retired is +58.182 and the lap number is less than 67? ### Answer: SELECT SUM(grid) FROM table_name_12 WHERE time_retired = "+58.182" AND laps < 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_20090682_4 (pos INTEGER, driver VARCHAR) ### Question: what is the lowest position of brendan sole ### Answer: SELECT MAX(pos) FROM table_20090682_4 WHERE driver = "Brendan Sole"
Below is an context that describes a sql 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 (place VARCHAR, downhill_points VARCHAR) ### Question: What place is the skier with 7.73 downhill points? ### Answer: SELECT place FROM table_name_38 WHERE downhill_points = 7.73
Below is an context that describes a sql 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 (decile VARCHAR, years VARCHAR, gender VARCHAR) ### Question: Which Decile has Years of –, and a Gender of coed? ### Answer: SELECT decile FROM table_name_69 WHERE years = "–" AND gender = "coed"
Below is an context that describes a sql 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 (opponent_team VARCHAR, scorers VARCHAR) ### Question: Who was the opposing team when the scorer was ronaldinho 90+3'? ### Answer: SELECT opponent_team FROM table_name_37 WHERE scorers = "ronaldinho 90+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_75 (laps INTEGER, manufacturer VARCHAR, time VARCHAR) ### Question: Which manufacturer of aprilia wth time of +1:36.557 has the highest lap? ### Answer: SELECT MAX(laps) FROM table_name_75 WHERE manufacturer = "aprilia" AND time = "+1:36.557"
Below is an context that describes a sql 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 (high_rebounds VARCHAR, score VARCHAR) ### Question: What is High Rebounds, when Score is 61-59? ### Answer: SELECT high_rebounds FROM table_name_6 WHERE score = "61-59"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16295365_2 (conf_record VARCHAR, seed VARCHAR, record VARCHAR) ### Question: Name the conference record where seed is 3 and record is 24-9 ### Answer: SELECT conf_record FROM table_16295365_2 WHERE seed = "3" AND record = "24-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_2 (date VARCHAR, game VARCHAR) ### Question: On what date was Game 3? ### Answer: SELECT date FROM table_name_2 WHERE game = "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_17323092_5 (team VARCHAR, score VARCHAR) ### Question: Whic teams scored l 97–107 (ot) ### Answer: SELECT team FROM table_17323092_5 WHERE score = "L 97–107 (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_7 (year INTEGER, title VARCHAR) ### Question: What year was Metroid Prime Hunters 5 released? ### Answer: SELECT SUM(year) FROM table_name_7 WHERE title = "metroid prime hunters 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_74 (winner VARCHAR, venue VARCHAR) ### Question: Who was the Winner at Campbelltown Sports Stadium? ### Answer: SELECT winner FROM table_name_74 WHERE venue = "campbelltown sports 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_23285761_11 (high_assists VARCHAR, date VARCHAR) ### Question: Who has the high assists when April 26 is the date? ### Answer: SELECT high_assists FROM table_23285761_11 WHERE date = "April 26"
Below is an context that describes a sql 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 (team VARCHAR, position VARCHAR, pick VARCHAR) ### Question: WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24? ### Answer: SELECT team FROM table_name_93 WHERE position = "of" AND pick = 24
Below is an context that describes a sql 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 (round INTEGER, college_team VARCHAR, pick VARCHAR) ### Question: What is the lowest Round, when College/Team is "Kansas", and when Pick is less than 56? ### Answer: SELECT MIN(round) FROM table_name_96 WHERE college_team = "kansas" AND pick < 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_31 (away_team VARCHAR, venue VARCHAR) ### Question: Who was the away team at the Win Entertainment Centre? ### Answer: SELECT away_team FROM table_name_31 WHERE venue = "win entertainment centre"
Below is an context that describes a sql 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 (area_km_2 VARCHAR, population_in_millions VARCHAR, member_state VARCHAR) ### Question: What is the total number of area km2 with a 4.2 population in millions and is a member state of the Czech Republic? ### Answer: SELECT COUNT(area_km_2) FROM table_name_8 WHERE population_in_millions > 4.2 AND member_state = "czech republic"
Below is an context that describes a sql 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 (event VARCHAR, record VARCHAR) ### Question: What event has a Record of 4–2? ### Answer: SELECT event FROM table_name_22 WHERE record = "4–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_27537518_9 (date VARCHAR, record VARCHAR) ### Question: On which date was the record of 27-28-11 set? ### Answer: SELECT date FROM table_27537518_9 WHERE record = "27-28-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_38 (home VARCHAR, record VARCHAR) ### Question: Who was the home team when the record was 2-3? ### Answer: SELECT home FROM table_name_38 WHERE record = "2-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_55 (skip VARCHAR, third VARCHAR, season VARCHAR) ### Question: What is the skip that has a third of Anna Sloan in season 2012-13? ### Answer: SELECT skip FROM table_name_55 WHERE third = "anna sloan" AND season = "2012-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_16570286_2 (matches VARCHAR, player VARCHAR) ### Question: How many numbers were recorded under matches with Arthur Morris? ### Answer: SELECT COUNT(matches) FROM table_16570286_2 WHERE player = "Arthur Morris"
Below is an context that describes a sql 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 (third VARCHAR, champion VARCHAR) ### Question: Which Third has a Champion of metalurh novomoskovsk? ### Answer: SELECT third FROM table_name_20 WHERE champion = "metalurh novomoskovsk"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (year VARCHAR, points VARCHAR, engine VARCHAR) ### Question: Which year had a Cosworth V8 engine and 12 points? ### Answer: SELECT year FROM table_name_36 WHERE points = 12 AND engine = "cosworth v8"
Below is an context that describes a sql 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 (games INTEGER, name VARCHAR) ### Question: What is the average games of Tony Dixon? ### Answer: SELECT AVG(games) AS ↑ FROM table_name_51 WHERE name = "tony dixon"
Below is an context that describes 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 (City_Town VARCHAR, Address_ID VARCHAR); CREATE TABLE Drama_Workshop_Groups (Address_ID VARCHAR) ### Question: Show all cities along with the number of drama workshop groups in each city. ### Answer: SELECT T1.City_Town, COUNT(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID GROUP BY T1.City_Town
Below is an context that describes a sql 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 (tournament VARCHAR, opponent VARCHAR) ### Question: Which tournament included an opponent of Marinko Matosevic? ### Answer: SELECT tournament FROM table_name_74 WHERE opponent = "marinko matosevic"
Below is an context that describes a sql 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 (common_name VARCHAR, color VARCHAR) ### Question: What is the common name for the creature with darker colors? ### Answer: SELECT common_name FROM table_name_18 WHERE color = "darker colors"
Below is an context that describes a sql 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 (total VARCHAR, silver VARCHAR, country VARCHAR, gold VARCHAR) ### Question: How many times does Switzerland have under 7 golds and less than 3 silvers? ### Answer: SELECT COUNT(total) FROM table_name_17 WHERE country = "switzerland" AND gold < 7 AND silver < 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_23449363_1 (leagues_entering_at_this_round VARCHAR, round VARCHAR) ### Question: Which leagues entered an extra preliminary round? ### Answer: SELECT leagues_entering_at_this_round FROM table_23449363_1 WHERE round = "Extra Preliminary round"
Below is an context that describes a sql 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 (year INTEGER, genre VARCHAR) ### Question: What is total number of years that has genre of first-person shooter? ### Answer: SELECT SUM(year) FROM table_name_50 WHERE genre = "first-person shooter"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13036251_1 (the_mole VARCHAR, airdate VARCHAR) ### Question: what's the the mole with airdate being 5 january 2012 ### Answer: SELECT COUNT(the_mole) FROM table_13036251_1 WHERE airdate = "5 January 2012"
Below is an context that describes a sql 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 (opponents_in_the_final VARCHAR, date VARCHAR) ### Question: Who are the opponents in the February 19, 1996 final? ### Answer: SELECT opponents_in_the_final FROM table_name_30 WHERE date = "february 19, 1996"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18602462_21 (quarterfinals VARCHAR, athlete VARCHAR) ### Question: When bas van erp was the athlete what was the quarterfinals? ### Answer: SELECT quarterfinals FROM table_18602462_21 WHERE athlete = "Bas van Erp"
Below is an context that describes a sql 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 (Group VARCHAR, name VARCHAR) ### Question: What Group Song of Shine 王幸儿? ### Answer: SELECT Group AS song FROM table_name_60 WHERE name = "shine 王幸儿"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2865020_5 (points INTEGER, average VARCHAR) ### Question: What is the minimum number of points for teams averaging 1.412? ### Answer: SELECT MIN(points) FROM table_2865020_5 WHERE average = "1.412"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (position VARCHAR, years_in_toronto VARCHAR) ### Question: Who has position in year 1996-97 in Toronto? ### Answer: SELECT position FROM table_name_88 WHERE years_in_toronto = "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_97 (score VARCHAR, partner VARCHAR) ### Question: What was hayley ericksen's score? ### Answer: SELECT score FROM table_name_97 WHERE partner = "hayley ericksen"
Below is an context that describes a sql 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 (surface VARCHAR, opponent VARCHAR, score VARCHAR) ### Question: Which Surface has an Opponent of kerry melville reid, and a Score of 6–3, 2–6, 3–6? ### Answer: SELECT surface FROM table_name_53 WHERE opponent = "kerry melville reid" AND score = "6–3, 2–6, 3–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_2923917_4 (distance VARCHAR, brisbane VARCHAR) ### Question: What is the distance when brisbane is $5.20? ### Answer: SELECT distance FROM table_2923917_4 WHERE brisbane = "$5.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_1341453_15 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the candidates in the district where Jerry Costello won? ### Answer: SELECT candidates FROM table_1341453_15 WHERE incumbent = "Jerry Costello"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE station (name VARCHAR, id VARCHAR); CREATE TABLE status (station_id VARCHAR, bikes_available VARCHAR) ### Question: Return the unique name for stations that have ever had 7 bikes available. ### Answer: SELECT DISTINCT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available = 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_49 (score_ VARCHAR, a_ VARCHAR, date VARCHAR) ### Question: What is the score [A] of the match on 19 September 1998? ### Answer: SELECT score_[a_] FROM table_name_49 WHERE date = "19 september 1998"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29547777_1 (episode VARCHAR, original_performer VARCHAR) ### Question: What is the episode when the original performaer is diana ross? ### Answer: SELECT episode FROM table_29547777_1 WHERE original_performer = "Diana Ross"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19614212_1 (_percentage_same_sex_marriages VARCHAR, year VARCHAR) ### Question: How many % same-sex marriages are there for the year 2008? ### Answer: SELECT COUNT(_percentage_same_sex_marriages) FROM table_19614212_1 WHERE year = "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_1507423_4 (avg_finish VARCHAR, avg_start VARCHAR) ### Question: What was the average finish when the average start was 18.4? ### Answer: SELECT avg_finish FROM table_1507423_4 WHERE avg_start = "18.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_43 (to_par VARCHAR, place VARCHAR, player VARCHAR) ### Question: What is Bob Gilder in Place T3's To par? ### Answer: SELECT to_par FROM table_name_43 WHERE place = "t3" AND player = "bob gilder"
Below is an context that describes a sql 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__number INTEGER, pick__number VARCHAR, position VARCHAR, college VARCHAR) ### Question: What is the average round number with wide receiver as position and Clark University as the college and the pick number is bigger than 166? ### Answer: SELECT AVG(round__number) FROM table_name_18 WHERE position = "wide receiver" AND college = "clark university" AND pick__number > 166
Below is an context that describes a sql 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 (team_1 VARCHAR) ### Question: What was the 1st leg score for the match with Lesotho as team 1? ### Answer: SELECT 1 AS st_leg FROM table_name_14 WHERE team_1 = "lesotho"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (district VARCHAR, name VARCHAR) ### Question: What is district has a name of Rajnagar? ### Answer: SELECT district FROM table_name_88 WHERE name = "rajnagar"
Below is an context that describes a sql 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 (cargo VARCHAR, ship_size VARCHAR) ### Question: What cargo was contained in a ship size of aframax? ### Answer: SELECT cargo FROM table_name_40 WHERE ship_size = "aframax"
Below is an context that describes a sql 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 (artist VARCHAR, draw VARCHAR, place VARCHAR) ### Question: What artist has more than 6 draws, and in a place higher than 14? ### Answer: SELECT artist FROM table_name_28 WHERE draw > 6 AND place > 14