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_34 (to_par VARCHAR, player VARCHAR) ### Question: Which To par has a Player of bernhard langer? ### Answer: SELECT to_par FROM table_name_34 WHERE player = "bernhard langer"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_5 (to_par VARCHAR, total INTEGER) ### Question: Which to par has a total less than 296? ### Answer: SELECT to_par FROM table_name_5 WHERE total < 296
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE user_profiles (name VARCHAR, followers VARCHAR) ### Question: List the names of 5 users followed by the largest number of other users. ### Answer: SELECT name FROM user_profiles ORDER BY followers DESC LIMIT 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 Ref_locations (location_code VARCHAR, location_name VARCHAR) ### Question: List all location codes and location names. ### Answer: SELECT location_code, location_name FROM Ref_locations
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_256286_23 (yes_votes VARCHAR, _percentage_yes VARCHAR) ### Question: How many yes votes did the measure that got 60.39% yes votes get? ### Answer: SELECT yes_votes FROM table_256286_23 WHERE _percentage_yes = "60.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_10 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR) ### Question: Name the least top-10 for cuts made less than 11 and wins more than 0 ### Answer: SELECT MIN(top_10) FROM table_name_10 WHERE cuts_made < 11 AND wins > 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_60 (crowd INTEGER, venue VARCHAR) ### Question: How people attended Victoria Park? ### Answer: SELECT AVG(crowd) FROM table_name_60 WHERE venue = "victoria 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_1341453_15 (results VARCHAR, district VARCHAR) ### Question: What was the result in Illinois 7? ### Answer: SELECT results FROM table_1341453_15 WHERE district = "Illinois 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_25773116_2 (pole_position VARCHAR, fastest_lap VARCHAR, location VARCHAR) ### Question: Who had pole position for the races in Braselton, Georgia where Victor Carbone had fastest lap? ### Answer: SELECT pole_position FROM table_25773116_2 WHERE fastest_lap = "Victor Carbone" AND location = "Braselton, Georgia"
Below is an context that describes a sql 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 (points INTEGER, entrant VARCHAR, year VARCHAR) ### Question: What was arrows racing team's highest points after 1982? ### Answer: SELECT MAX(points) FROM table_name_51 WHERE entrant = "arrows racing team" AND year > 1982
Below is an context that describes a sql 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 (driver VARCHAR, year VARCHAR) ### Question: Who is the driver from 1969? ### Answer: SELECT driver FROM table_name_42 WHERE year = "1969"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_32 (played INTEGER, high_checkout VARCHAR) ### Question: What is the played number when the high checkout is 135? ### Answer: SELECT SUM(played) FROM table_name_32 WHERE high_checkout = 135
Below is an context that describes a sql 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 (rank_points VARCHAR, event VARCHAR, total VARCHAR) ### Question: The event WC Rio De Janeiro with a total of 16 has what as rank points? ### Answer: SELECT rank_points FROM table_name_85 WHERE event = "wc rio de janeiro" AND total = "16"
Below is an context that describes a sql 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 (week INTEGER, opponent VARCHAR) ### Question: What week did the dallas cowboys play? ### Answer: SELECT SUM(week) FROM table_name_78 WHERE opponent = "dallas cowboys"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR) ### Question: What is the best finish record for Carl Paulson? ### Answer: SELECT best_finish FROM table_29504351_2 WHERE player = "Carl Paulson"
Below is an context that describes a sql 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 (surface VARCHAR, partner VARCHAR) ### Question: What is the surface when the partner was Robert Haybittel? ### Answer: SELECT surface FROM table_name_42 WHERE partner = "robert haybittel"
Below is an context that describes a sql 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 (name VARCHAR, experience VARCHAR, alma_mater VARCHAR) ### Question: What person has the alma mater of Eastern Nazarene ('74), and greater than 19 experience? ### Answer: SELECT name FROM table_name_86 WHERE experience > 19 AND alma_mater = "eastern nazarene ('74)"
Below is an context that describes a sql 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 (visitor VARCHAR, home VARCHAR) ### Question: Which visitor lives in Minnesota? ### Answer: SELECT visitor FROM table_name_23 WHERE home = "minnesota"
Below is an context that describes a sql 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 (fall_07 INTEGER, fall_06 INTEGER) ### Question: Name the average fall 07 for fall 07 more than 219 ### Answer: SELECT AVG(fall_07) FROM table_name_34 WHERE fall_06 > 219
Below is an context that describes a sql 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 (d_44 VARCHAR, d_43 VARCHAR) ### Question: What is the D44 when D43 is R 14? ### Answer: SELECT d_44 FROM table_name_64 WHERE d_43 = "r 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_2 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR) ### Question: What is the date of appointment for the team with a resigned manner of departure and replaced by Sandy Clark? ### Answer: SELECT date_of_appointment FROM table_name_2 WHERE manner_of_departure = "resigned" AND replaced_by = "sandy clark"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24192190_1 (magnitude VARCHAR, latitude VARCHAR) ### Question: When 43.048° n is the latitude what is the magnitude? ### Answer: SELECT magnitude FROM table_24192190_1 WHERE latitude = "43.048° N"
Below is an context that describes a sql 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 (tie_no VARCHAR, away_team VARCHAR) ### Question: What is the Tie no for Away Team Ipswich Town? ### Answer: SELECT tie_no FROM table_name_26 WHERE away_team = "ipswich 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_7 (round INTEGER, time VARCHAR, event VARCHAR) ### Question: What is the average round of the match in the Hero's 9 event with a time of 5:00? ### Answer: SELECT AVG(round) FROM table_name_7 WHERE time = "5:00" AND event = "hero's 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_99 (score VARCHAR, country VARCHAR) ### Question: Name the score for fiji ### Answer: SELECT score FROM table_name_99 WHERE country = "fiji"
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR) ### Question: What place has jack renner as the player? ### Answer: SELECT place FROM table_name_48 WHERE player = "jack renner"
Below is an context that describes a 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_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR) ### Question: How many viewers tuned in for season 2? ### Answer: SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 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 (week INTEGER, date VARCHAR) ### Question: Which Week has a Date of december 8, 1991? ### Answer: SELECT AVG(week) FROM table_name_67 WHERE date = "december 8, 1991"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (vin_code VARCHAR) ### Question: What's the compression ratio when the vin code is c? ### Answer: SELECT "c" AS ompression_ratio FROM table_name_38 WHERE vin_code = "c"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_9 (venue VARCHAR, date VARCHAR) ### Question: What was the Venue on June 8, 2005? ### Answer: SELECT venue FROM table_name_9 WHERE date = "june 8, 2005"
Below is an context that describes a sql 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 (name VARCHAR, terminus VARCHAR) ### Question: Which route has a terminus of pine Forest? ### Answer: SELECT name FROM table_name_57 WHERE terminus = "pine forest"
Below is an context that describes a sql 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 (nba_draft VARCHAR, school VARCHAR) ### Question: What was the NBA draft status for Northeast High School? ### Answer: SELECT nba_draft FROM table_name_7 WHERE school = "northeast high school"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (production_company VARCHAR, year VARCHAR) ### Question: Which production company has the year of 2005 listed? ### Answer: SELECT production_company FROM table_name_45 WHERE year = "2005"
Below is an context that describes a sql 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 (title VARCHAR, production_code VARCHAR) ### Question: What is the title of the episode with a production code of K1504? ### Answer: SELECT title FROM table_name_75 WHERE production_code = "k1504"
Below is an context that describes a sql 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 (losses INTEGER, sunrayia_fl VARCHAR, against VARCHAR) ### Question: What is the losses when Sunrayia FL is Red Cliffs, and the against is more than 2294? ### Answer: SELECT AVG(losses) FROM table_name_20 WHERE sunrayia_fl = "red cliffs" AND against > 2294
Below is an context that describes a sql 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 (fcc_info VARCHAR, frequency_mhz VARCHAR) ### Question: Name the FCC info for frequency Mhz of 95.3 fm ### Answer: SELECT fcc_info FROM table_name_34 WHERE frequency_mhz = "95.3 fm"
Below is an context that describes a sql 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, attendance VARCHAR) ### Question: What opponent has an attendance of 20,456? ### Answer: SELECT opponent FROM table_name_7 WHERE attendance = "20,456"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What is the 2010 when the 2009 shows Q1? ### Answer: SELECT 2010 FROM table_name_50 WHERE 2009 = "q1"
Below is an context that describes a sql 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 (socket VARCHAR, fsb_speed VARCHAR, voltage_range VARCHAR) ### Question: Which Socket has a FSB Speed of 400 mhz, and a Voltage Range of 1.004 v? ### Answer: SELECT socket FROM table_name_16 WHERE fsb_speed = "400 mhz" AND voltage_range = "1.004 v"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2508633_2 (player VARCHAR, college VARCHAR) ### Question: Name the number of players for georgia tech ### Answer: SELECT COUNT(player) FROM table_2508633_2 WHERE college = "Georgia Tech"
Below is an context that describes a sql 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 (launch_date VARCHAR, odds_of_winning VARCHAR, top_prize VARCHAR) ### Question: What is the launch date odds of winning 1 in 4.23 with a top prize of $15,000? ### Answer: SELECT launch_date FROM table_name_30 WHERE odds_of_winning = "1 in 4.23" AND top_prize = "$15,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_23495048_2 (height__mtr_ VARCHAR, contestant VARCHAR) ### Question: How many meters tall is Ulrike Wolful? ### Answer: SELECT height__mtr_ FROM table_23495048_2 WHERE contestant = "Ulrike Wolful"
Below is an context that describes a sql 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 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR) ### Question: What is the Championship Game that has 4 Bids and a .600 Win %? ### Answer: SELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = ".600"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1473672_5 (player VARCHAR, nhl_team VARCHAR) ### Question: What player was picked by the Minnesota North Stars? ### Answer: SELECT player FROM table_1473672_5 WHERE nhl_team = "Minnesota North Stars"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15409403_1 (regular_season VARCHAR, year VARCHAR) ### Question: What was the regular season from year 2012? ### Answer: SELECT regular_season FROM table_15409403_1 WHERE year = 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_44 (number_of_deputies VARCHAR, election_date VARCHAR) ### Question: What were the number of deputies for the 1964 election year? ### Answer: SELECT number_of_deputies FROM table_name_44 WHERE election_date = 1964
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12886178_4 (points_for VARCHAR, tries_for VARCHAR) ### Question: What's the points for count for the club with tries for count of 29? ### Answer: SELECT points_for FROM table_12886178_4 WHERE tries_for = "29"
Below is an context that describes a sql 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 (format VARCHAR, catalog VARCHAR) ### Question: What format was used for Mobil 1? ### Answer: SELECT format FROM table_name_21 WHERE catalog = "mobil 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_88 (played INTEGER, losses VARCHAR, position VARCHAR) ### Question: What is the sum of Played, when Losses is "13", and when Position is greater than 11? ### Answer: SELECT SUM(played) FROM table_name_88 WHERE losses = 13 AND position > 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_1137702_3 (winning_driver VARCHAR, grand_prix VARCHAR) ### Question: Who was the winning driver in the grand prix at Pacific Grand Prix? ### Answer: SELECT winning_driver FROM table_1137702_3 WHERE grand_prix = "Pacific grand_prix"
Below is an context that describes a sql 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 (notes VARCHAR, year INTEGER) ### Question: Year larger than 2008 includes which notes? ### Answer: SELECT notes FROM table_name_35 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_21 (rebounds INTEGER, name VARCHAR, rank VARCHAR) ### Question: How many rebounds does Fedor likholitov have with a rank greater than 8? ### Answer: SELECT SUM(rebounds) FROM table_name_21 WHERE name = "fedor likholitov" AND rank > 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_1 (rank VARCHAR, first_quarter VARCHAR) ### Question: What is the Rank of industrial and commercial bank of china 277,236? ### Answer: SELECT rank FROM table_name_1 WHERE first_quarter = "industrial and commercial bank of china 277,236"
Below is an context that describes a sql 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 (state_ranked_in_partisan_order VARCHAR, percentage_democrats VARCHAR, republican__democratic VARCHAR) ### Question: What state is 25% Democrats has a ratio of 6/2 of Republicans to Democrats? ### Answer: SELECT state_ranked_in_partisan_order FROM table_name_66 WHERE percentage_democrats = "25%" AND republican__democratic = "6/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_80 (silver INTEGER, bronze VARCHAR, rank VARCHAR) ### Question: What is the low silver medal total for nations with over 1 bronze ranked above 11? ### Answer: SELECT MIN(silver) FROM table_name_80 WHERE bronze > 1 AND rank < 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_60 (gold INTEGER, silver VARCHAR, rank VARCHAR) ### Question: Which Gold has a Total larger than 3, a Rank of total, and a Silver larger than 8? ### Answer: SELECT AVG(gold) FROM table_name_60 WHERE "total" > 3 AND rank = "total" AND silver > 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_84 (preliminary INTEGER, interview VARCHAR, average VARCHAR) ### Question: What is the sum of Preliminary scores where the interview score is 9.654 and the average score is lower than 9.733? ### Answer: SELECT SUM(preliminary) FROM table_name_84 WHERE interview = 9.654 AND average < 9.733
Below is an context that describes a sql 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 (appointed_by VARCHAR, presentation_of_credentials VARCHAR) ### Question: Who appointed the representative that had a Presentation of Credentials on March 25, 1976? ### Answer: SELECT appointed_by FROM table_name_72 WHERE presentation_of_credentials = "march 25, 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_75 (yellow_cards INTEGER, season VARCHAR) ### Question: Which Yellow Cards has a Season of 1999/2000? ### Answer: SELECT AVG(yellow_cards) FROM table_name_75 WHERE season = "1999/2000"
Below is an context that describes a sql 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 (copa_libertadores_1996 VARCHAR, team VARCHAR) ### Question: Which Copa Libertadores 1996 has a Team of estudiantes? ### Answer: SELECT copa_libertadores_1996 FROM table_name_10 WHERE team = "estudiantes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE member (member_id VARCHAR, level VARCHAR); CREATE TABLE purchase (member_id VARCHAR) ### Question: What is the total number of purchases for members with level 6? ### Answer: SELECT COUNT(*) FROM purchase AS T1 JOIN member AS T2 ON T1.member_id = T2.member_id WHERE T2.level = 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_95 (date VARCHAR, points VARCHAR) ### Question: What date has 37 points? ### Answer: SELECT date FROM table_name_95 WHERE points = 37
Below is an context that describes a sql 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 (role VARCHAR, series_title VARCHAR) ### Question: The series titled dragon laws i: the undercover has what role? ### Answer: SELECT role FROM table_name_73 WHERE series_title = "dragon laws i: the undercover"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (commissioned VARCHAR, operator VARCHAR) ### Question: What is the commissioned for Vietnam? ### Answer: SELECT commissioned FROM table_name_29 WHERE operator = "vietnam"
Below is an context that describes a sql 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 (result VARCHAR, director VARCHAR, project VARCHAR) ### Question: What result does the project Once Upon A Time In The West, directed by Sergio Leone have? ### Answer: SELECT result FROM table_name_40 WHERE director = "sergio leone" AND project = "once upon a time in the west"
Below is an context that describes a sql 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 (event VARCHAR, year VARCHAR, result VARCHAR) ### Question: In which event did he place 6th in 1971? ### Answer: SELECT event FROM table_name_98 WHERE year = 1971 AND result = "6th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14650373_1 (position VARCHAR, pick__number VARCHAR) ### Question: What position(s) does the player drafted #34 play? ### Answer: SELECT position FROM table_14650373_1 WHERE pick__number = 34
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_74 (album VARCHAR, length VARCHAR) ### Question: What album is 4:53 long? ### Answer: SELECT album FROM table_name_74 WHERE length = "4:53"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23612439_2 (opponent VARCHAR, date VARCHAR) ### Question: Which opponents are on the date September 5? ### Answer: SELECT opponent FROM table_23612439_2 WHERE date = "September 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_86 (tournament VARCHAR) ### Question: What is the value in 2009 at the French Open? ### Answer: SELECT 2009 FROM table_name_86 WHERE tournament = "french open"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_52 (date VARCHAR, comment VARCHAR, duration VARCHAR) ### Question: What is Date, when Comment is Tailcone On, Lakebed Landing, and when Duration is 5min 34 s? ### Answer: SELECT date FROM table_name_52 WHERE comment = "tailcone on, lakebed landing" AND duration = "5min 34 s"
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR) ### Question: Which Country has a Score of 70-68-70-68=276? ### Answer: SELECT country FROM table_name_43 WHERE score = 70 - 68 - 70 - 68 = 276
Below is an context that describes a sql 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 (athlete VARCHAR, notes VARCHAR, country VARCHAR) ### Question: Who was the athlete from Germany with notes of Q? ### Answer: SELECT athlete FROM table_name_73 WHERE notes = "q" AND country = "germany"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER); CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR) ### Question: Show the name of the shop that have the largest quantity of devices in stock. ### Answer: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) 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_97 (surface VARCHAR, tournament VARCHAR, date VARCHAR) ### Question: What type of surface was used for the carthage tournament on august 14, 1994? ### Answer: SELECT surface FROM table_name_97 WHERE tournament = "carthage" AND date = "august 14, 1994"
Below is an context that describes a sql 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 (theme VARCHAR, original_artist VARCHAR) ### Question: What is the Theme when Fontella Bass was the original artist? ### Answer: SELECT theme FROM table_name_73 WHERE original_artist = "fontella bass"
Below is an context that describes a sql 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 (representing VARCHAR, original_title VARCHAR) ### Question: Name the representating for ingenjör andrées luftfärd ### Answer: SELECT representing FROM table_name_82 WHERE original_title = "ingenjör andrées luftfärd"
Below is an context that describes a sql 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 (team VARCHAR, year VARCHAR, player VARCHAR) ### Question: Which team did daniel bradshaw play for after 1935? ### Answer: SELECT team FROM table_name_59 WHERE year > 1935 AND player = "daniel bradshaw"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE shipments (order_id VARCHAR, shipment_tracking_number VARCHAR) ### Question: Find the id of the order whose shipment tracking number is "3452". ### Answer: SELECT order_id FROM shipments WHERE shipment_tracking_number = "3452"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21114902_1 (knockouts_of_the_night VARCHAR, fighter VARCHAR) ### Question: How many knockout of the night occurred when joe lauzon fought. ### Answer: SELECT knockouts_of_the_night FROM table_21114902_1 WHERE fighter = "Joe Lauzon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE INVOICE (CustomerId VARCHAR); CREATE TABLE CUSTOMER (Address VARCHAR, CustomerId VARCHAR, country VARCHAR) ### Question: Find the address of all customers that live in Germany and have invoice. ### Answer: SELECT DISTINCT T1.Address FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.country = "Germany"
Below is an context that describes a sql 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 (tournament VARCHAR, surface VARCHAR, score VARCHAR) ### Question: In what Tournament was the Score of 3–6, 6–3, 7–6 in a match played on a hard Surface? ### Answer: SELECT tournament FROM table_name_78 WHERE surface = "hard" AND score = "3–6, 6–3, 7–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_96 (points INTEGER, played INTEGER) ### Question: What is the average number of points for clubs that have played more than 42 times? ### Answer: SELECT AVG(points) FROM table_name_96 WHERE played > 42
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19753079_35 (party VARCHAR, district VARCHAR) ### Question: Name the party for new york 4 ### Answer: SELECT party FROM table_19753079_35 WHERE district = "New York 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_56 (shooter VARCHAR, time VARCHAR, year VARCHAR) ### Question: Which shooter's time is more than 8.97 and has a year prior to 2013? ### Answer: SELECT shooter FROM table_name_56 WHERE time > 8.97 AND year < 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_25 (constructor VARCHAR, driver VARCHAR, rounds VARCHAR) ### Question: Who was the constructor of the car that Jan Lammers made 7-14 rounds in? ### Answer: SELECT constructor FROM table_name_25 WHERE driver = "jan lammers" AND rounds = "7-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_16439764_1 (m_v_ft_s INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR) ### Question: What is the maximum foot per second speed where time to feet ratio is 22.1 at 55 degrees? ### Answer: SELECT MAX(m_v_ft_s) FROM table_16439764_1 WHERE time_to_ft__m__at_55°__seconds_ = "22.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_9 (name VARCHAR, moving_to VARCHAR) ### Question: Who is moving to Metalurh Donetsk? ### Answer: SELECT name FROM table_name_9 WHERE moving_to = "metalurh donetsk"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15475116_1 (colors VARCHAR, school VARCHAR) ### Question: Middletown High School uses which colors ### Answer: SELECT colors FROM table_15475116_1 WHERE school = "Middletown High school"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (club VARCHAR, tries_for VARCHAR) ### Question: what is the club that as 100 tries? ### Answer: SELECT club FROM table_name_48 WHERE tries_for = "100"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (position VARCHAR, pick__number VARCHAR) ### Question: What position does pick number 12 play? ### Answer: SELECT position FROM table_name_87 WHERE pick__number = 12
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_70 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) ### Question: When Jim Richards won at the Winton Motor Raceway circuit, what was the city and state listed? ### Answer: SELECT city___state FROM table_name_70 WHERE winner = "jim richards" AND circuit = "winton motor raceway"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Participants (Participant_ID VARCHAR, Participant_Type_Code VARCHAR, Participant_Details VARCHAR) ### Question: What are all the the participant ids, type code and details? ### Answer: SELECT Participant_ID, Participant_Type_Code, Participant_Details FROM Participants
Below is an context that describes a sql 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 (callsign VARCHAR, on_air_id VARCHAR) ### Question: What is 4zr's callsign? ### Answer: SELECT callsign FROM table_name_67 WHERE on_air_id = "4zr"
Below is an context that describes a sql 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 (pick__number INTEGER, cfl_team VARCHAR) ### Question: What is the highest Pick # when the CFL Team is the Toronto Argonauts? ### Answer: SELECT MAX(pick__number) FROM table_name_95 WHERE cfl_team = "toronto argonauts"
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR) ### Question: Which Country has a Score of 79-68-74=212? ### Answer: SELECT country FROM table_name_49 WHERE score = 79 - 68 - 74 = 212
Below is an context that describes a sql 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 (best_score VARCHAR, worst_dancer_s_ VARCHAR) ### Question: What's the best score, with the worst dancer(s) gethin jones/kenny logan? ### Answer: SELECT best_score FROM table_name_19 WHERE worst_dancer_s_ = "gethin jones/kenny logan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR, crs_code VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR) ### Question: Find the first names and offices of all instructors who have taught some course and the course description and the department name. ### Answer: SELECT T2.emp_fname, T4.prof_office, T3.crs_description, T5.dept_name FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN professor AS T4 ON T2.emp_num = T4.emp_num JOIN department AS T5 ON T4.dept_code = T5.dept_code
Below is an context that describes a sql 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 (set_3 VARCHAR, date VARCHAR, set_1 VARCHAR) ### Question: What is the Set 3 on 30 may, and a Set 1 is 20–25? ### Answer: SELECT set_3 FROM table_name_79 WHERE date = "30 may" AND set_1 = "20–25"
Below is an context that describes a sql 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 (to_par VARCHAR, score VARCHAR) ### Question: Which To par is scored at 70? ### Answer: SELECT to_par FROM table_name_10 WHERE score = 70