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_1353096_1 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR) ### Question: How many channel tv (dt)s are in austin, texas? ### Answer: SELECT COUNT(channel_tv___dt__) FROM table_1353096_1 WHERE city_of_license__market = "Austin, 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_31 (record VARCHAR, location VARCHAR, method VARCHAR) ### Question: What is Record, when Location is "Des Moines, Iowa , United States", and when Method is "Submission (arm-triangle choke)"? ### Answer: SELECT record FROM table_name_31 WHERE location = "des moines, iowa , united states" AND method = "submission (arm-triangle choke)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_47 (h_s_asst_principal VARCHAR, glendale_principal VARCHAR, year VARCHAR) ### Question: What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003? ### Answer: SELECT h_s_asst_principal FROM table_name_47 WHERE glendale_principal = "joyce brace" AND year = "2002-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_46 (player VARCHAR, total VARCHAR) ### Question: Who has a total of 272? ### Answer: SELECT player FROM table_name_46 WHERE total = 272
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (date VARCHAR, venue VARCHAR) ### Question: On what date was a match held at MCG? ### Answer: SELECT date FROM table_name_50 WHERE venue = "mcg"
Below is an context that describes a sql 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 (silver INTEGER, total INTEGER) ### Question: What is the lowest number of silver medals for a nation with fewer than 1 total medals? ### Answer: SELECT MIN(silver) FROM table_name_1 WHERE total < 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE manufacturer (open_year VARCHAR, name VARCHAR, num_of_shops VARCHAR) ### Question: Which manufacturer has the most number of shops? List its name and year of opening. ### Answer: SELECT open_year, name FROM manufacturer ORDER BY num_of_shops 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_17628022_2 (pregame_analysts VARCHAR, year VARCHAR) ### Question: Who did pregame analysis in 2002? ### Answer: SELECT pregame_analysts FROM table_17628022_2 WHERE year = 2002
Below is an context that describes a sql 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 (name VARCHAR, winning_team VARCHAR) ### Question: What is Penske Racing's name? ### Answer: SELECT name FROM table_name_52 WHERE winning_team = "penske racing"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27700530_9 (record VARCHAR, date VARCHAR) ### Question: What was the team's record on november 10? ### Answer: SELECT record FROM table_27700530_9 WHERE date = "November 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 (rank VARCHAR, total VARCHAR) ### Question: What is the rank for the total that has 3 (20)? ### Answer: SELECT rank FROM table_name_11 WHERE total = "3 (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_64 (venue VARCHAR, date VARCHAR) ### Question: What was the venue for the dates 1,2,3,4,6,7 jan 1908? ### Answer: SELECT venue FROM table_name_64 WHERE date = "1,2,3,4,6,7 jan 1908"
Below is an context that describes a sql 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 (finalists VARCHAR, not_winning_editions VARCHAR) ### Question: What is the Finalists that has 2008, 2012, 2013 as Not winning editions ### Answer: SELECT finalists FROM table_name_88 WHERE not_winning_editions = "2008, 2012, 2013"
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR) ### Question: What United States Player has a To par of +4 and a Score of 71-77=148? ### Answer: SELECT player FROM table_name_67 WHERE country = "united states" AND to_par = "+4" AND score = 71 - 77 = 148
Below is an context that describes a sql 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 (december INTEGER, record VARCHAR) ### Question: What is the sum for December when the record was 22-12-5? ### Answer: SELECT SUM(december) FROM table_name_56 WHERE record = "22-12-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_51 (year INTEGER, country_territory VARCHAR) ### Question: What's the average year lebanon won? ### Answer: SELECT AVG(year) FROM table_name_51 WHERE country_territory = "lebanon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (nhl_team VARCHAR, round VARCHAR) ### Question: what is the nhl team for round 10? ### Answer: SELECT nhl_team FROM table_name_92 WHERE round = 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_26448179_3 (written_by VARCHAR, production_code VARCHAR) ### Question: Who wrote the episode that is production code 202? ### Answer: SELECT written_by FROM table_26448179_3 WHERE production_code = "202"
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR) ### Question: What is Player, when Score is "66-74-76=216"? ### Answer: SELECT player FROM table_name_48 WHERE score = 66 - 74 - 76 = 216
Below is an context that describes a sql 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 (nat VARCHAR, name VARCHAR, transfer_window VARCHAR, type VARCHAR) ### Question: Marcell Jansen with a transfer window of summer, and of transfer as type is from what nation? ### Answer: SELECT nat FROM table_name_15 WHERE transfer_window = "summer" AND type = "transfer" AND name = "marcell jansen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_47 (dob VARCHAR, surname VARCHAR, first VARCHAR) ### Question: When was Lachlan Dale born? ### Answer: SELECT dob FROM table_name_47 WHERE surname = "dale" AND first = "lachlan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23235767_4 (year VARCHAR, score_in_the_final VARCHAR, surface VARCHAR) ### Question: Name the number of year for 6–3, 6–2 hard surface ### Answer: SELECT COUNT(year) FROM table_23235767_4 WHERE score_in_the_final = "6–3, 6–2" AND surface = "Hard"
Below is an context that describes a sql 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 (date VARCHAR, competition VARCHAR) ### Question: What day was king's cup 1996? ### Answer: SELECT date FROM table_name_49 WHERE competition = "king's cup 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_name_97 (school VARCHAR, position VARCHAR) ### Question: What School is the Center from? ### Answer: SELECT school FROM table_name_97 WHERE position = "center"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (apps INTEGER, name VARCHAR) ### Question: What is the total of apps for Keith Treacy? ### Answer: SELECT SUM(apps) FROM table_name_37 WHERE name = "keith treacy"
Below is an context that describes a sql 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 (comp_att VARCHAR, season VARCHAR) ### Question: What is the number of completions and attempts taken in 2009? ### Answer: SELECT comp_att FROM table_name_83 WHERE season = "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_name_24 (home_team VARCHAR, venue VARCHAR) ### Question: In the game that took place at junction oval, how much did the home team score? ### Answer: SELECT home_team AS score FROM table_name_24 WHERE venue = "junction 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_88 (heat_rank INTEGER, overall_rank VARCHAR, time VARCHAR) ### Question: I want to know the highest heat rank for overall rank of t63 and time less than 25.47 ### Answer: SELECT MAX(heat_rank) FROM table_name_88 WHERE overall_rank = "t63" AND time < 25.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_name_35 (rank VARCHAR, time VARCHAR) ### Question: What is the rank of the swimmer with a time of 2:11.83? ### Answer: SELECT rank FROM table_name_35 WHERE time = "2:11.83"
Below is an context that describes a sql 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 (station_name VARCHAR, arrival VARCHAR) ### Question: What Station Name has an Arrival time of 01:10? ### Answer: SELECT station_name FROM table_name_97 WHERE arrival = "01: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_73 (winner VARCHAR, tournament VARCHAR) ### Question: What is the name of the winner of the tour championship tournament? ### Answer: SELECT winner FROM table_name_73 WHERE tournament = "the tour championship"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_57 (series VARCHAR, points VARCHAR) ### Question: Which series has 11 points? ### Answer: SELECT series FROM table_name_57 WHERE points = "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_83 (actor VARCHAR, character VARCHAR) ### Question: Which actor plays the character Helga Beimer? ### Answer: SELECT actor FROM table_name_83 WHERE character = "helga beimer"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_47 (races VARCHAR, points VARCHAR) ### Question: How many races did he do in the year he had 8 points? ### Answer: SELECT races FROM table_name_47 WHERE points = "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_52 (high_assists VARCHAR, game VARCHAR) ### Question: What was the high assists for game 31? ### Answer: SELECT high_assists FROM table_name_52 WHERE game = 31
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_22 (number VARCHAR, name VARCHAR) ### Question: What number is Tony Dixon? ### Answer: SELECT number FROM table_name_22 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 table_name_48 (game VARCHAR, high_rebounds VARCHAR) ### Question: In which game number was Chris Andersen (12) the high rebounds scorer? ### Answer: SELECT game FROM table_name_48 WHERE high_rebounds = "chris andersen (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_1140103_6 (date VARCHAR, _number VARCHAR) ### Question: What date is listed at place 13 ### Answer: SELECT date FROM table_1140103_6 WHERE _number = 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_46 (to_par VARCHAR, score VARCHAR) ### Question: What's the to par when the score was 68-73=141? ### Answer: SELECT to_par FROM table_name_46 WHERE score = 68 - 73 = 141
Below is an context that describes a sql 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 (time_of_broadcast VARCHAR, days_of_the_week VARCHAR, picture_format VARCHAR, hours VARCHAR) ### Question: Name the Time of broadcast has a Picture format of 4:3, and Hours of 20:30, and Days of the week of monday, wednesday, friday? ### Answer: SELECT time_of_broadcast FROM table_name_23 WHERE picture_format = "4:3" AND hours = "20:30" AND days_of_the_week = "monday, wednesday, friday"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_86 (drawn VARCHAR, lost VARCHAR, points VARCHAR) ### Question: Name the drawn with lost of 3 and points of 88 ### Answer: SELECT drawn FROM table_name_86 WHERE lost = "3" AND points = "88"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, salary VARCHAR, department_id VARCHAR) ### Question: display the full name (first and last), hire date, salary, and department number for those employees whose first name does not containing the letter M. ### Answer: SELECT first_name, last_name, hire_date, salary, department_id FROM employees WHERE NOT first_name LIKE '%M%'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29039942_1 (writer VARCHAR, episode VARCHAR) ### Question: Who was the writer for episode 3? ### Answer: SELECT writer FROM table_29039942_1 WHERE episode = 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_1602620_1 (location VARCHAR, term_ended VARCHAR) ### Question: What is the location for the office whose term ended December 2, 1976 ### Answer: SELECT location FROM table_1602620_1 WHERE term_ended = "December 2, 1976"
Below is an context that describes a sql 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 (swimming VARCHAR, total VARCHAR, volleyball VARCHAR) ### Question: Which Swimming has a Total larger than 35, and a Volleyball of 1? ### Answer: SELECT swimming FROM table_name_96 WHERE total > 35 AND volleyball = "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_82 (title VARCHAR, episodes VARCHAR) ### Question: What was the title with episode 8? ### Answer: SELECT title FROM table_name_82 WHERE episodes = "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_51 (role VARCHAR, registration VARCHAR) ### Question: What is the role of the aircraft that has a registration of s5-hpb? ### Answer: SELECT role FROM table_name_51 WHERE registration = "s5-hpb"
Below is an context that describes a sql 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 (type VARCHAR, transfer_fee VARCHAR, name VARCHAR) ### Question: Which Type has a Transfer fee of free, and a Name of kapetanos? ### Answer: SELECT type FROM table_name_63 WHERE transfer_fee = "free" AND name = "kapetanos"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17782308_1 (game_site VARCHAR, date VARCHAR) ### Question: On October 16, 1966, what was the game site? ### Answer: SELECT game_site FROM table_17782308_1 WHERE date = "October 16, 1966"
Below is an context that describes a sql 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 (e_score INTEGER, t_score VARCHAR, total VARCHAR) ### Question: What E score has the T score of 8 and a number smaller than 22.95? ### Answer: SELECT MIN(e_score) FROM table_name_66 WHERE t_score = 8 AND total < 22.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 (school VARCHAR, mascot VARCHAR) ### Question: Which School has a Mascot of squires? ### Answer: SELECT school FROM table_name_35 WHERE mascot = "squires"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_86 (apps INTEGER, season VARCHAR, division VARCHAR) ### Question: What is the lowest value for apps in 2009 season in a division less than 1? ### Answer: SELECT MIN(apps) FROM table_name_86 WHERE season = "2009" AND division < 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_25679312_2 (written_by VARCHAR, prod_code VARCHAR) ### Question: Who wrote the episode with production code 5? ### Answer: SELECT written_by FROM table_25679312_2 WHERE prod_code = 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_1342249_42 (result VARCHAR, incumbent VARCHAR) ### Question: How many results have Jere Cooper as incumbent? ### Answer: SELECT result FROM table_1342249_42 WHERE incumbent = "Jere Cooper"
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: Which Home team score has an Away team of carlton? ### Answer: SELECT home_team AS score FROM table_name_72 WHERE away_team = "carlton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11094950_1 (team VARCHAR, location VARCHAR) ### Question: Which teams are located in highland township? ### Answer: SELECT team FROM table_11094950_1 WHERE location = "Highland Township"
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: If collingwood is playing away, who played as the home team? ### Answer: SELECT home_team FROM table_name_43 WHERE away_team = "collingwood"
Below is an context that describes a sql 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 (artist_s_ VARCHAR, book_title VARCHAR) ### Question: what artist has a book called cyberella ### Answer: SELECT artist_s_ FROM table_name_80 WHERE book_title = "cyberella"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE drivers (driverid VARCHAR, forename VARCHAR, surname VARCHAR); CREATE TABLE laptimes (driverid VARCHAR) ### Question: What is the id, forname and surname of the driver who had the first position in terms of laptime at least twice? ### Answer: SELECT T1.driverid, T1.forename, T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE POSITION = '1' GROUP BY T1.driverid HAVING COUNT(*) >= 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_93 (score VARCHAR, date VARCHAR) ### Question: What is the score for the game that was played on 29-Jun-2009? ### Answer: SELECT score FROM table_name_93 WHERE date = "29-jun-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_name_71 (event VARCHAR, athlete VARCHAR) ### Question: What is the event result for athlete Ali Ekranpour? ### Answer: SELECT event FROM table_name_71 WHERE athlete = "ali ekranpour"
Below is an context that describes a sql 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 (country VARCHAR, player VARCHAR) ### Question: What is Country, when Player is "José María Olazábal"? ### Answer: SELECT country FROM table_name_55 WHERE player = "josé maría olazábal"
Below is an context that describes a sql 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 (can_yayınları VARCHAR, güzelçamlı’nin_kayıp_panteri VARCHAR) ### Question: Which Can Yayınları has a Güzelçamlı’nin Kayıp Panteri of çevreci peri? ### Answer: SELECT can_yayınları FROM table_name_39 WHERE güzelçamlı’nin_kayıp_panteri = "çevreci peri"
Below is an context that describes a sql 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 (venue VARCHAR, home VARCHAR) ### Question: In what venue did FK Crvena Stijena play at home? ### Answer: SELECT venue FROM table_name_24 WHERE home = "fk crvena stijena"
Below is an context that describes a sql 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 (points VARCHAR, club VARCHAR) ### Question: what is the points when the club blaengarw rfc? ### Answer: SELECT points FROM table_name_62 WHERE club = "blaengarw rfc"
Below is an context that describes a sql 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 (score VARCHAR, surface VARCHAR, date VARCHAR) ### Question: What is the Score of the Tournament played on Clay Surface on May 5, 1999? ### Answer: SELECT score FROM table_name_42 WHERE surface = "clay" AND date = "may 5, 1999"
Below is an context that describes a sql 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 (event VARCHAR, games VARCHAR, sport VARCHAR) ### Question: What wrestling event was participated in during the 2008 Beijing games? ### Answer: SELECT event FROM table_name_28 WHERE games = "2008 beijing" AND sport = "wrestling"
Below is an context that describes a sql 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 (release_date VARCHAR, title VARCHAR) ### Question: What is the release date of The Blow Out? ### Answer: SELECT release_date FROM table_name_59 WHERE title = "the blow out"
Below is an context that describes a sql 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 (title VARCHAR, leading_lady VARCHAR, director VARCHAR) ### Question: In which title was Ann Rutherford the leading lady for Joseph Kane? ### Answer: SELECT title FROM table_name_73 WHERE leading_lady = "ann rutherford" AND director = "joseph kane"
Below is an context that describes a sql 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 (pos VARCHAR, team VARCHAR, year VARCHAR) ### Question: What position did the driver from Audi Sport North America finish in the race after 2008? ### Answer: SELECT pos FROM table_name_52 WHERE team = "audi sport north america" AND 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_name_69 (against INTEGER, round VARCHAR) ### Question: Which Against has a Round of fourth round? ### Answer: SELECT MIN(against) FROM table_name_69 WHERE round = "fourth 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_1341472_12 (incumbent VARCHAR, district VARCHAR) ### Question: Who was the incumbent of district Georgia 2? ### Answer: SELECT incumbent FROM table_1341472_12 WHERE district = "Georgia 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_21002034_4 (title VARCHAR, director VARCHAR) ### Question: How many titles were directed by Alex Chapple? ### Answer: SELECT COUNT(title) FROM table_21002034_4 WHERE director = "Alex Chapple"
Below is an context that describes a sql 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 (club VARCHAR, lost VARCHAR) ### Question: What club had a loss of 15? ### Answer: SELECT club FROM table_name_90 WHERE lost = "15"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (result VARCHAR, week VARCHAR, attendance VARCHAR) ### Question: what is the result when the week is earlier than 9 and attendance is 25,188? ### Answer: SELECT result FROM table_name_42 WHERE week < 9 AND attendance = "25,188"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_13 (year INTEGER, points INTEGER) ### Question: What is the latest year with more than 0 points? ### Answer: SELECT MAX(year) FROM table_name_13 WHERE points > 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (country VARCHAR, place VARCHAR) ### Question: What is the Country, when Place is "1"? ### Answer: SELECT country FROM table_name_46 WHERE place = "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_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR) ### Question: When middle assyrian empire is the ubaid period in mesopotamia what is the copper age? ### Answer: SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Middle Assyrian Empire"
Below is an context that describes a sql 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 (stage VARCHAR, route VARCHAR) ### Question: Which stage took the tour through Boulogne-Billancourt? ### Answer: SELECT stage FROM table_name_90 WHERE route = "boulogne-billancourt"
Below is an context that describes a sql 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 (grid INTEGER, time VARCHAR) ### Question: Which Grid has a Time of +13.999? ### Answer: SELECT MIN(grid) FROM table_name_65 WHERE time = "+13.999"
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: What is the name of the home team when the away team was Melbourne? ### Answer: SELECT home_team FROM table_name_70 WHERE away_team = "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 HOTELS (other_hotel_details VARCHAR, price_range VARCHAR) ### Question: Show the details of the top 3 most expensive hotels. ### Answer: SELECT other_hotel_details FROM HOTELS ORDER BY price_range DESC LIMIT 3
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22347090_5 (us_viewers__million_ VARCHAR, production_code VARCHAR) ### Question: Name the viewers for production code for 3x6704 ### Answer: SELECT us_viewers__million_ FROM table_22347090_5 WHERE production_code = "3X6704"
Below is an context that describes a sql 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 (attendance INTEGER, visitor VARCHAR, date VARCHAR) ### Question: Visitor of dallas, and a Date of june 12 had what highest attendance? ### Answer: SELECT MAX(attendance) FROM table_name_16 WHERE visitor = "dallas" AND date = "june 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_10812938_4 (position VARCHAR, cfl_team VARCHAR) ### Question: What Position did the Hamilton Tiger-Cats (via Ottawa) pick in the 2006 Draft. ### Answer: SELECT position FROM table_10812938_4 WHERE cfl_team = "Hamilton Tiger-Cats (via Ottawa)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25997153_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR) ### Question: what is the latest episode in the series that had 16.17 million u.s. viewers? ### Answer: SELECT MAX(no_in_series) FROM table_25997153_1 WHERE us_viewers__million_ = "16.17"
Below is an context that describes a sql 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 (difference INTEGER, drew INTEGER) ### Question: What is the highest difference for the team that had less than 0 draws? ### Answer: SELECT MAX(difference) FROM table_name_98 WHERE drew < 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_16 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR) ### Question: What is the average grid that has a Constructor of brm, tony maggs, and a Laps larger than 102? ### Answer: SELECT AVG(grid) FROM table_name_16 WHERE constructor = "brm" AND driver = "tony maggs" AND laps > 102
Below is an context that describes a sql 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_opened VARCHAR, location VARCHAR) ### Question: Which year opened is located in west mifflin, pennsylvania? ### Answer: SELECT year_opened FROM table_name_50 WHERE location = "west mifflin, pennsylvania"
Below is an context that describes a sql 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 (crowd INTEGER, home_team VARCHAR) ### Question: What is the average amount of spectators when Essendon played as the home team? ### Answer: SELECT AVG(crowd) FROM table_name_84 WHERE home_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_1566852_7 (interview_subject VARCHAR) ### Question: HOW MANY TIMES WAS LUDACRIS THE INTERVIEW SUBJECT FOR THE 20 QUESTIONS COLUMN? ### Answer: SELECT COUNT(20 AS _questions) FROM table_1566852_7 WHERE interview_subject = "Ludacris"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668401_17 (first_elected VARCHAR, district VARCHAR) ### Question: When was the incumbent from the Virginia 10 district first elected? ### Answer: SELECT first_elected FROM table_2668401_17 WHERE district = "Virginia 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_1341690_5 (first_elected INTEGER, party VARCHAR) ### Question: What republican candidate was first elected most recently? ### Answer: SELECT MAX(first_elected) FROM table_1341690_5 WHERE party = "Republican"
Below is an context that describes a sql 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 (fips_code VARCHAR, county VARCHAR, cdp_name VARCHAR) ### Question: Name the FIPS code for county of wyoming and CDP name of pike ### Answer: SELECT fips_code FROM table_name_36 WHERE county = "wyoming" AND cdp_name = "pike"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2534578_1 (science VARCHAR, social_studies VARCHAR) ### Question: What was the science score in the year there was a social studies score of 93.56? ### Answer: SELECT science FROM table_2534578_1 WHERE social_studies = "93.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_25229283_4 (points_against INTEGER, opponent VARCHAR) ### Question: What was the minimum points against if the opponent is Port Adelaide? ### Answer: SELECT MIN(points_against) FROM table_25229283_4 WHERE opponent = "Port Adelaide"
Below is an context that describes a sql 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 (position VARCHAR, goal_difference VARCHAR, played VARCHAR) ### Question: Tell me the total number of positions with goal difference more than -17 and played less than 38 ### Answer: SELECT COUNT(position) FROM table_name_12 WHERE goal_difference > -17 AND played < 38
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_99 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR) ### Question: Which Driver has Laps larger than 78, and a Time/Retired of + 1:09.4? ### Answer: SELECT driver FROM table_name_99 WHERE laps > 78 AND time_retired = "+ 1:09.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_1670921_2 (batting_partners VARCHAR, batting_team VARCHAR) ### Question: What batting partners batted for pakistan? ### Answer: SELECT batting_partners FROM table_1670921_2 WHERE batting_team = "Pakistan"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: Which 1998 has a 2002 of 2–4? ### Answer: SELECT 1998 FROM table_name_65 WHERE 2002 = "2–4"