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_92 (semi_finalists VARCHAR, runner_up VARCHAR) ### Question: Who were the semi finalists when the runner-up was Alexandra Fusai Wiltrud Probst? ### Answer: SELECT semi_finalists FROM table_name_92 WHERE runner_up = "alexandra fusai wiltrud probst"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (displacement_ VARCHAR, _configuration VARCHAR, car_model VARCHAR) ### Question: What displacement & configuration does the car model Panamera 4s have? ### Answer: SELECT displacement_ & _configuration FROM table_name_68 WHERE car_model = "panamera 4s"
Below is an context that describes a sql 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 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR) ### Question: What is the highest number of households with a median household income of $31,176, and a population of 25,607? ### Answer: SELECT MAX(number_of_households) FROM table_name_30 WHERE median_household_income = "$31,176" AND population < 25 OFFSET 607
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Video_games (gtype VARCHAR) ### Question: How many video games have type Massively multiplayer online game? ### Answer: SELECT COUNT(*) FROM Video_games WHERE gtype = "Massively multiplayer online game"
Below is an context that describes a sql 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 (d_44_√ VARCHAR, d_41_√ VARCHAR) ### Question: Name the D 44 √ for when it has D 41 √ of r 41 + ### Answer: SELECT d_44_√ FROM table_name_93 WHERE d_41_√ = "r 41 +"
Below is an context that describes a sql 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 (races VARCHAR, points VARCHAR) ### Question: Which races did they accumulate at least 125 points? ### Answer: SELECT races FROM table_name_38 WHERE points = "125"
Below is an context that describes a sql 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 (constituency_number VARCHAR, name VARCHAR) ### Question: How many constituents does udaipura have? ### Answer: SELECT constituency_number FROM table_name_37 WHERE name = "udaipura"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2562572_39 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) ### Question: The pooulation of јарковац is? ### Answer: SELECT population__2011_ FROM table_2562572_39 WHERE cyrillic_name_other_names = "Јарковац"
Below is an context that describes a sql 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 (province VARCHAR, city VARCHAR, stadium VARCHAR) ### Question: What province is in Mendoza with a stadium feliciano gambarte? ### Answer: SELECT province FROM table_name_72 WHERE city = "mendoza" AND stadium = "feliciano gambarte"
Below is an context that describes a sql 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 (winning_team VARCHAR, year VARCHAR) ### Question: Who was the winning team in 2008? ### Answer: SELECT winning_team FROM table_name_22 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_name_71 (voltage VARCHAR, turbo VARCHAR, cores VARCHAR, release_date VARCHAR) ### Question: What is the voltage when there are 2 cores, turbo is 5/8 and the release date is September 2010? ### Answer: SELECT voltage FROM table_name_71 WHERE cores = "2" AND release_date = "september 2010" AND turbo = "5/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_2463383_2 (winnings VARCHAR, position VARCHAR) ### Question: Name the winnings for 23rd position ### Answer: SELECT winnings FROM table_2463383_2 WHERE position = "23rd"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29920800_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) ### Question: Who directed the episode that was watched by 2.97 million U.S. viewers? ### Answer: SELECT directed_by FROM table_29920800_1 WHERE us_viewers__million_ = "2.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_2562572_50 (type VARCHAR, settlement VARCHAR) ### Question: What type of settlemen is Krušedol Selo? ### Answer: SELECT type FROM table_2562572_50 WHERE settlement = "Krušedol Selo"
Below is an context that describes a sql 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 (pick__number VARCHAR, position VARCHAR) ### Question: If the Position is Running Back what is the Total number of Pick #? ### Answer: SELECT COUNT(pick__number) FROM table_name_84 WHERE position = "running back"
Below is an context that describes a 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 (tv_season VARCHAR, season VARCHAR) ### Question: What TV season was the 1st season? ### Answer: SELECT tv_season FROM table_299121_2 WHERE season = "1st"
Below is an context that describes a sql 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 shows for 2000 when 2013 shows 3rd? ### Answer: SELECT 2000 FROM table_name_19 WHERE 2013 = "3rd"
Below is an context that describes 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 customers_policies (customer_id VARCHAR) ### Question: What is the name of the customer who has the most policies listed? ### Answer: SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_name 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_18077713_1 (net_profit__us_$m_ VARCHAR, revenue__us_$million_ VARCHAR) ### Question: How much is the net profit when the revenue is 150.6 million dollars? ### Answer: SELECT net_profit__us_$m_ FROM table_18077713_1 WHERE revenue__us_$million_ = "150.6"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (name VARCHAR, type VARCHAR, transfer_fee VARCHAR) ### Question: What is the name of the person with a type of transfer, and a Transfer fee of €8m + €2m in variables? ### Answer: SELECT name FROM table_name_64 WHERE type = "transfer" AND transfer_fee = "€8m + €2m in variables"
Below is an context that describes a sql 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 (gender VARCHAR, roll VARCHAR) ### Question: What gender is allowed at the school which has a roll of 338? ### Answer: SELECT gender FROM table_name_9 WHERE roll = 338
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2076533_1 (founded INTEGER, school VARCHAR) ### Question: Name the least founded for gutenberg college ### Answer: SELECT MIN(founded) FROM table_2076533_1 WHERE school = "Gutenberg College"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1974545_3 (softball_stadium VARCHAR, baseball_stadium VARCHAR) ### Question: What is the name of the softball stadium for the school that has Eastern Baseball Stadium? ### Answer: SELECT softball_stadium FROM table_1974545_3 WHERE baseball_stadium = "Eastern Baseball 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_1341663_44 (incumbent VARCHAR, district VARCHAR) ### Question: What was the incumbent for texas 19? ### Answer: SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 19"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (tournament VARCHAR) ### Question: What is the 2007 value with 1r in 2009 and 2r in 2011 at the Tournament of Wimbledon? ### Answer: SELECT 2007 FROM table_name_36 WHERE 2009 = "1r" AND 2011 = "2r" AND tournament = "wimbledon"
Below is an context that describes a sql 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 (high_points VARCHAR, location_attendance VARCHAR) ### Question: Who had the high points when they played in Philips Arena 14,413? ### Answer: SELECT high_points FROM table_name_48 WHERE location_attendance = "philips arena 14,413"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (long VARCHAR, car VARCHAR, yards VARCHAR) ### Question: What is the long for the player with under 30 carries and 0 yards? ### Answer: SELECT long FROM table_name_78 WHERE car < 30 AND yards = "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_98 (engine VARCHAR, finish VARCHAR) ### Question: What Engine had a Finish of 27? ### Answer: SELECT engine FROM table_name_98 WHERE finish = "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_38 (margin_of_victory VARCHAR, winning_score VARCHAR) ### Question: What was the margin of victory for the win with a score of 71-69-71-70=281? ### Answer: SELECT margin_of_victory FROM table_name_38 WHERE winning_score = 71 - 69 - 71 - 70 = 281
Below is an context that describes a sql 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 (pick__number INTEGER, round INTEGER) ### Question: Name the sum of pick # for round less than 1 ### Answer: SELECT SUM(pick__number) FROM table_name_92 WHERE round < 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_158282_1 (european_parliament_seats INTEGER, international_affiliation VARCHAR) ### Question: What is the smallest number of European Parliament sets when the international affiliation is global greens, egp? ### Answer: SELECT MIN(european_parliament_seats) FROM table_158282_1 WHERE international_affiliation = "Global Greens, EGP"
Below is an context that describes a sql 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, country VARCHAR) ### Question: Which player(s) is from South Africa? ### Answer: SELECT player FROM table_name_76 WHERE country = "south africa"
Below is an context that describes a sql 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 (year VARCHAR, winner VARCHAR) ### Question: What year was Burning Roma the winner? ### Answer: SELECT year FROM table_name_2 WHERE winner = "burning roma"
Below is an context that describes a sql 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 (legs_lost VARCHAR, played VARCHAR) ### Question: What is the total number of 3-dart average when legs lost is larger than 41, and played is larger than 7? ### Answer: SELECT COUNT(3 AS _dart_average) FROM table_name_1 WHERE legs_lost > 41 AND played > 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_2668405_17 (first_elected VARCHAR, candidates VARCHAR) ### Question: How many times were the candidates leven powell (f) 63.8% roger west (dr) 36.4%? ### Answer: SELECT COUNT(first_elected) FROM table_2668405_17 WHERE candidates = "Leven Powell (F) 63.8% Roger West (DR) 36.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_67 (record VARCHAR, time___et__ VARCHAR, result VARCHAR) ### Question: Time ( ET ) of 1:00pm, and a Result of w 34–14 has what record? ### Answer: SELECT record FROM table_name_67 WHERE time___et__ = "1:00pm" AND result = "w 34–14"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (losses INTEGER, draws VARCHAR, byes VARCHAR) ### Question: What is the average number of losses for teams with 0 draws and 0 byes? ### Answer: SELECT AVG(losses) FROM table_name_78 WHERE draws = 0 AND byes < 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_42 (pos INTEGER, time VARCHAR) ### Question: What position is associated with a Time of 20:39.171? ### Answer: SELECT AVG(pos) FROM table_name_42 WHERE time = "20:39.171"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Transcript_Contents (transcript_id VARCHAR); CREATE TABLE Transcripts (transcript_date VARCHAR, transcript_id VARCHAR) ### Question: Show the date of the transcript which shows the least number of results, also list the id. ### Answer: SELECT T2.transcript_date, T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY COUNT(*) 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_66 (status VARCHAR, date VARCHAR) ### Question: What status is on 21/08/1999? ### Answer: SELECT status FROM table_name_66 WHERE date = "21/08/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_67 (females VARCHAR, language VARCHAR) ### Question: How many women speak German? ### Answer: SELECT females FROM table_name_67 WHERE language = "german"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2841865_2 (district_home VARCHAR, congress VARCHAR) ### Question: How many entries for district home are listed for the 87th congress? ### Answer: SELECT COUNT(district_home) FROM table_2841865_2 WHERE congress = "87th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (pick__number INTEGER, college VARCHAR, overall VARCHAR) ### Question: What is the mean pick number for Iowa College when the overall is less than 200? ### Answer: SELECT AVG(pick__number) FROM table_name_77 WHERE college = "iowa" AND overall < 200
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22640051_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) ### Question: Name the date of vacancy for manuel pellegrini ### Answer: SELECT date_of_vacancy FROM table_22640051_3 WHERE outgoing_manager = "Manuel Pellegrini"
Below is an context that describes a sql 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 (bonus_points VARCHAR, drawn VARCHAR) ### Question: What is the number of bonus points when there are 4 drawn? ### Answer: SELECT bonus_points FROM table_name_28 WHERE drawn = "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_24 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR) ### Question: What is the highest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"? ### Answer: SELECT MAX(first_elected) FROM table_name_24 WHERE results = "re-elected" AND incumbent = "lincoln davis"
Below is an context that describes a sql 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 (team VARCHAR, outgoing_manager VARCHAR) ### Question: What team did gonzalo arconada manage? ### Answer: SELECT team FROM table_name_90 WHERE outgoing_manager = "gonzalo arconada"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25146455_1 (winnings VARCHAR, driver VARCHAR) ### Question: How much did Jeff Burton win? ### Answer: SELECT winnings FROM table_25146455_1 WHERE driver = "Jeff Burton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (rd_8 INTEGER, team VARCHAR, position VARCHAR) ### Question: What is the average value for Rd 8 in a position less than 2 for Audi Sport Australia? ### Answer: SELECT AVG(rd_8) FROM table_name_68 WHERE team = "audi sport australia" AND position < 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_99 (stuffit VARCHAR, bzip2 VARCHAR, lha_lzh VARCHAR) ### Question: What is the stuffit that has bzip and LHA/LZH of no? ### Answer: SELECT stuffit FROM table_name_99 WHERE bzip2 = "no" AND lha_lzh = "no"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23575917_2 (scores VARCHAR, lees_team VARCHAR) ### Question: Name the scores for michael buerk and russell howard ### Answer: SELECT scores FROM table_23575917_2 WHERE lees_team = "Michael Buerk and Russell Howard"
Below is an context that describes a sql 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 (no_result VARCHAR, wins VARCHAR, losses VARCHAR, played VARCHAR) ### Question: Name the total number of no result for losses more than 1 and played of 38 and wins less than 19 ### Answer: SELECT COUNT(no_result) FROM table_name_16 WHERE losses > 1 AND played = 38 AND wins < 19
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (sport VARCHAR, date VARCHAR) ### Question: What sport was played on February 25, 2011? ### Answer: SELECT sport FROM table_name_21 WHERE date = "february 25, 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_10 (team VARCHAR, rank VARCHAR, time VARCHAR) ### Question: What is the name of the team with a rank smaller than 5 and a time of 1:37.58.38? ### Answer: SELECT team FROM table_name_10 WHERE rank < 5 AND time = "1:37.58.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 problem_log (problem_log_id VARCHAR, log_entry_date VARCHAR, problem_id VARCHAR) ### Question: Find all the ids and dates of the logs for the problem whose id is 10. ### Answer: SELECT problem_log_id, log_entry_date FROM problem_log WHERE problem_id = 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_19 (language VARCHAR, package_option VARCHAR, television_service VARCHAR) ### Question: What language is used when the service is sky primafila 10 and the package/option is qualsiasi? ### Answer: SELECT language FROM table_name_19 WHERE package_option = "qualsiasi" AND television_service = "sky primafila 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_7 (quarter VARCHAR, round VARCHAR) ### Question: Which Quarter has a Round of 17? ### Answer: SELECT quarter FROM table_name_7 WHERE round = "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_97 (total INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR) ### Question: What was Andorra's total with less than 10 silver and more than 5 bronze? ### Answer: SELECT SUM(total) FROM table_name_97 WHERE silver < 10 AND nation = "andorra" AND bronze > 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_79 (to_par VARCHAR, place VARCHAR, score VARCHAR) ### Question: What is the To par of the T8 Place Player with a Score of 72-70-66=208? ### Answer: SELECT to_par FROM table_name_79 WHERE place = "t8" AND score = 72 - 70 - 66 = 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 (round INTEGER, res VARCHAR, record VARCHAR) ### Question: What is the average round of the match with a draw result and a record of 4-4-1? ### Answer: SELECT AVG(round) FROM table_name_26 WHERE res = "draw" AND record = "4-4-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 match_season (Position VARCHAR, Team VARCHAR); CREATE TABLE team (Team_id VARCHAR, Name VARCHAR) ### Question: Show the positions of the players from the team with name "Ryley Goldner". ### Answer: SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Ryley Goldner"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (date VARCHAR, label VARCHAR, format VARCHAR) ### Question: What is the date for Hydra Head Records with a CD format? ### Answer: SELECT date FROM table_name_21 WHERE label = "hydra head records" AND format = "cd"
Below is an context that describes a sql 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 (fa_cup INTEGER, premier_league VARCHAR, league_cup VARCHAR, total VARCHAR) ### Question: What is the lowest FA cup with 1 league cup, less than 12 total and 1 premier league? ### Answer: SELECT MIN(fa_cup) FROM table_name_17 WHERE league_cup = 1 AND total < 12 AND premier_league = 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_76 (time VARCHAR, country VARCHAR) ### Question: What time did the team from Ukraine have? ### Answer: SELECT time FROM table_name_76 WHERE country = "ukraine"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2108684_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) ### Question: How many million viewers watched the episode with a run time of 25:22? ### Answer: SELECT viewers__in_millions_ FROM table_2108684_1 WHERE run_time = "25: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_name_21 (draws VARCHAR, against VARCHAR, byes VARCHAR) ### Question: What is the total number of Draws, when Against is "1134", and when Byes is less than 2? ### Answer: SELECT COUNT(draws) FROM table_name_21 WHERE against = 1134 AND byes < 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_76 (to_par VARCHAR, country VARCHAR) ### Question: What is the To Par score for the player from South Africa? ### Answer: SELECT to_par FROM table_name_76 WHERE country = "south africa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE students (student_id VARCHAR); CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (course_id VARCHAR, student_id VARCHAR) ### Question: How many registed students do each course have? List course name and the number of their registered students? ### Answer: SELECT T3.course_name, COUNT(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id JOIN courses AS T3 ON T2.course_id = T3.course_id GROUP BY T2.course_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_51 (venue VARCHAR, home_team VARCHAR) ### Question: When the home team is Cairns Taipans, at which venue do they play? ### Answer: SELECT venue FROM table_name_51 WHERE home_team = "cairns taipans"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23408094_14 (total_career_titles VARCHAR, span_of_years_led VARCHAR) ### Question: What were the total career titles of the player who led for 5 years? ### Answer: SELECT COUNT(total_career_titles) FROM table_23408094_14 WHERE span_of_years_led = 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_47 (college VARCHAR, team VARCHAR) ### Question: What is the College of the Pick from Denver Broncos? ### Answer: SELECT college FROM table_name_47 WHERE team = "denver broncos"
Below is an context that describes a sql 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 (format VARCHAR, station VARCHAR) ### Question: Which format has a Station of kcbs? ### Answer: SELECT format FROM table_name_80 WHERE station = "kcbs"
Below is an context that describes a sql 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 (judaism VARCHAR, christianity VARCHAR) ### Question: What is the percentage of Judaism associated with Christianity at 2.51%? ### Answer: SELECT judaism FROM table_name_2 WHERE christianity = "2.51%"
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR) ### Question: What was the away team for the match at Punt Road Oval? ### Answer: SELECT away_team FROM table_name_39 WHERE venue = "punt road 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_76 (date VARCHAR, region VARCHAR) ### Question: Which date had a Japan region? ### Answer: SELECT date FROM table_name_76 WHERE region = "japan"
Below is an context that describes 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_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (personal_name VARCHAR, student_id VARCHAR) ### Question: Find the student ID and personal name of the student with at least two enrollments. ### Answer: SELECT T1.student_id, T2.personal_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id 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_65 (rank VARCHAR, events VARCHAR) ### Question: What is the rank where the events is 31? ### Answer: SELECT rank FROM table_name_65 WHERE events = 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_95 (year VARCHAR, result VARCHAR, extra VARCHAR, tournament VARCHAR) ### Question: In which year was the Tournament of european indoor championships played where the Extra was 800 m and the Result was 2nd? ### Answer: SELECT year FROM table_name_95 WHERE extra = "800 m" AND tournament = "european indoor championships" AND result = "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_221653_1 (bleeding_time VARCHAR, platelet_count VARCHAR) ### Question: What is the bleeding time when the platelet count is decreased or unaffected? ### Answer: SELECT bleeding_time FROM table_221653_1 WHERE platelet_count = "Decreased or unaffected"
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR) ### Question: Who did they play in week 11? ### Answer: SELECT opponent FROM table_name_79 WHERE week = 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_61 (home VARCHAR, visitor VARCHAR, score VARCHAR) ### Question: Which home team had a visitor of Ottawa Senators with a score of 1–5? ### Answer: SELECT home FROM table_name_61 WHERE visitor = "ottawa senators" AND score = "1–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_58 (location VARCHAR, built VARCHAR) ### Question: What is the Location of the Bridge Built in 1869? ### Answer: SELECT location FROM table_name_58 WHERE built = "1869"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16799784_11 (name VARCHAR, latitude VARCHAR) ### Question: Which name is at latitude 10.0s? ### Answer: SELECT name FROM table_16799784_11 WHERE latitude = "10.0S"
Below is an context that describes a sql 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 (stadium VARCHAR, week INTEGER) ### Question: What was the stadium that held that game after week 15? ### Answer: SELECT stadium FROM table_name_28 WHERE week > 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_79 (team VARCHAR, game VARCHAR) ### Question: What team played in game 39? ### Answer: SELECT team FROM table_name_79 WHERE game = 39
Below is an context that describes a sql 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 (processors_supported VARCHAR, pci_express VARCHAR, model VARCHAR) ### Question: Which processors are supported with a PCI-express of x16: 1 slot x1: 4 slots and the nforce 550 model? ### Answer: SELECT processors_supported FROM table_name_82 WHERE pci_express = "x16: 1 slot x1: 4 slots" AND model = "nforce 550"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14219514_2 (home__2nd_leg_ VARCHAR, home__1st_leg_ VARCHAR) ### Question: When belgrano is the home (1st leg) what is the home (2nd leg)? ### Answer: SELECT home__2nd_leg_ FROM table_14219514_2 WHERE home__1st_leg_ = "Belgrano"
Below is an context that describes a sql 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 (listed VARCHAR, borough VARCHAR) ### Question: What are the listings in the Valdez-cordova (census area) Borough? ### Answer: SELECT listed FROM table_name_93 WHERE borough = "valdez-cordova (census area)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341865_23 (district VARCHAR, incumbent VARCHAR) ### Question: Name the district with philip philbin ### Answer: SELECT district FROM table_1341865_23 WHERE incumbent = "Philip Philbin"
Below is an context that describes a sql 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 (engine VARCHAR, driver VARCHAR, tyre VARCHAR, constructor VARCHAR) ### Question: what is the engine when the tyre is d, the constructor is era and the driver is bob gerard? ### Answer: SELECT engine FROM table_name_17 WHERE tyre = "d" AND constructor = "era" AND driver = "bob gerard"
Below is an context that describes a sql 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 (intercontinental_cup_1999 VARCHAR, copa_libertadores_1999 VARCHAR, copa_mercosur_1999 VARCHAR) ### Question: What is the intercontinental cup 1999 result of the team who did not qualify for the Copa Libertadores 1999 and made quarterfinals in the Copa Mercosur 1999? ### Answer: SELECT intercontinental_cup_1999 FROM table_name_48 WHERE copa_libertadores_1999 = "did not qualify" AND copa_mercosur_1999 = "quarterfinals"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23887174_1 (center VARCHAR, area__km²_ VARCHAR) ### Question: What's the center of the province that spreads out on 23860 km2? ### Answer: SELECT center FROM table_23887174_1 WHERE area__km²_ = 23860
Below is an context that describes a sql 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 (release_year_of_first_charted_record INTEGER, artist VARCHAR) ### Question: What was the earliest release-year of the first charted record of Abba? ### Answer: SELECT MIN(release_year_of_first_charted_record) FROM table_name_88 WHERE artist = "abba"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22384475_1 (match_date VARCHAR, winner VARCHAR) ### Question: What date did the West Indies win the match? ### Answer: SELECT match_date FROM table_22384475_1 WHERE winner = "West Indies"
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR) ### Question: Which team plays home at Princes Park? ### Answer: SELECT home_team FROM table_name_45 WHERE venue = "princes park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_39 (floors INTEGER, name VARCHAR, year VARCHAR) ### Question: Name of 900 north michigan, and a Year smaller than 1989 involves what lowest floors? ### Answer: SELECT MIN(floors) FROM table_name_39 WHERE name = "900 north michigan" AND year < 1989
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (school VARCHAR, location VARCHAR) ### Question: What school is located in Michigan City? ### Answer: SELECT school FROM table_name_37 WHERE location = "michigan city"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (week VARCHAR, date VARCHAR) ### Question: What is the Week on November 10, 1996? ### Answer: SELECT week FROM table_name_42 WHERE date = "november 10, 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_95 (college VARCHAR, round VARCHAR, player VARCHAR) ### Question: What college has a round greater than 1, with dylan mcfarland as the player? ### Answer: SELECT college FROM table_name_95 WHERE round > 1 AND player = "dylan mcfarland"
Below is an context that describes a sql 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 (venue VARCHAR, competition VARCHAR, position VARCHAR, year VARCHAR, notes VARCHAR) ### Question: Which venue did the African Championships have after 2006 with a position of 2nd and 3000 m s'chase in notes? ### Answer: SELECT venue FROM table_name_28 WHERE year > 2006 AND notes = "3000 m s'chase" AND position = "2nd" AND competition = "african championships"