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_49 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, draw VARCHAR) ### Question: What is the average goals for with a position under 12, draws over 1, and goals against under 28? ### Answer: SELECT AVG(goals_for) FROM table_name_49 WHERE position < 12 AND draw > 1 AND goals_against < 28
Below is an context that describes a sql 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 (pos VARCHAR, name VARCHAR) ### Question: What is Alyona Klimenko's Pos.? ### Answer: SELECT pos FROM table_name_86 WHERE name = "alyona klimenko"
Below is an context that describes a sql 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 (year VARCHAR, location VARCHAR) ### Question: What year is the location Ta'izz? ### Answer: SELECT year FROM table_name_61 WHERE location = "ta'izz"
Below is an context that describes a sql 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 (name VARCHAR, time_retired VARCHAR) ### Question: Who recorded a time or retired time of 52:56.4653? ### Answer: SELECT name FROM table_name_1 WHERE time_retired = "52:56.4653"
Below is an context that describes a sql 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 (series VARCHAR, final_placing VARCHAR, podiums VARCHAR) ### Question: Which Series has a Final Placing of 9th, and Podiums of 2? ### Answer: SELECT series FROM table_name_31 WHERE final_placing = "9th" AND podiums = "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_71 (loss VARCHAR, record VARCHAR) ### Question: What was the loss when the record was 46-59? ### Answer: SELECT loss FROM table_name_71 WHERE record = "46-59"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Lessons (lesson_time INTEGER, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR) ### Question: How long is the total lesson time took by customer with first name as Rylan and last name as Goodwin? ### Answer: SELECT SUM(T1.lesson_time) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Rylan" AND T2.last_name = "Goodwin"
Below is an context that describes a sql 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 (title VARCHAR, director VARCHAR) ### Question: What is the movie that Paul Schneider directed? ### Answer: SELECT title FROM table_name_97 WHERE director = "paul schneider"
Below is an context that describes a sql 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 (lane INTEGER, time VARCHAR, heat VARCHAR) ### Question: What is the lowest lane with a time of 2:05.90, and a Heat larger than 3? ### Answer: SELECT MIN(lane) FROM table_name_43 WHERE time = "2:05.90" AND heat > 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_25374338_1 (song_choice VARCHAR, episode VARCHAR) ### Question: What is the song choice where the episode is Live Show 1? ### Answer: SELECT song_choice FROM table_25374338_1 WHERE episode = "Live Show 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_25 (team_name VARCHAR, poles VARCHAR, final_placing VARCHAR) ### Question: Which Team Name has Poles of 0, and a Final Placing of 29th? ### Answer: SELECT team_name FROM table_name_25 WHERE poles = "0" AND final_placing = "29th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1315616_1 (mediator VARCHAR, kōhaku__number VARCHAR) ### Question: Who was the mediator in kōhaku number 53? ### Answer: SELECT mediator FROM table_1315616_1 WHERE kōhaku__number = 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_name_19 (team_1 VARCHAR, team_2 VARCHAR) ### Question: Which team 1 had a Team 2 of hankook verdes? ### Answer: SELECT team_1 FROM table_name_19 WHERE team_2 = "hankook verdes"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: Which 1992 is the lowest one that has a 1977 smaller than 385577, and a 2011 larger than 340310, and a 2002 larger than 300123, and a 1948 larger than 280524? ### Answer: SELECT MIN(1992) FROM table_name_12 WHERE 1977 < 385577 AND 2011 > 340310 AND 2002 > 300123 AND 1948 > 280524
Below is an context that describes a sql 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 (week INTEGER, opponent VARCHAR) ### Question: How many weeks had the Green Bay packers as opponents? ### Answer: SELECT SUM(week) FROM table_name_74 WHERE opponent = "green bay packers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (partner VARCHAR, date VARCHAR) ### Question: Which Partner has a Date of 12 july 2009? ### Answer: SELECT partner FROM table_name_18 WHERE date = "12 july 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_1342338_6 (result VARCHAR, district VARCHAR) ### Question: What is the result for california 2? ### Answer: SELECT result FROM table_1342338_6 WHERE district = "California 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_92 (ngc_number VARCHAR, right_ascension___j2000__ VARCHAR) ### Question: I want the NGC number for right ascension of 08h11m13.6s ### Answer: SELECT ngc_number FROM table_name_92 WHERE right_ascension___j2000__ = "08h11m13.6s"
Below is an context that describes a sql 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 (surface VARCHAR, date VARCHAR) ### Question: For the tournament played on 26 February 2006, what surface was used? ### Answer: SELECT surface FROM table_name_35 WHERE date = "26 february 2006"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_225095_4 (vacator VARCHAR, successor VARCHAR) ### Question: Who was the vacator when Shadrach Bond was the successor? ### Answer: SELECT vacator FROM table_225095_4 WHERE successor = "Shadrach Bond"
Below is an context that describes a sql 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 (championship_game VARCHAR, win__percentage VARCHAR) ### Question: If a team had a percentage of games won recorded as .429, what Championship Game was played? ### Answer: SELECT championship_game FROM table_name_82 WHERE win__percentage = ".429"
Below is an context that describes a sql 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 (earpads VARCHAR, succeeded_by VARCHAR, construction VARCHAR, sensitivity__db_ VARCHAR) ### Question: What are the earpads of the headphone with a plastic construction, an unknown sensitivity, and was succeeded by sr325? ### Answer: SELECT earpads FROM table_name_43 WHERE construction = "plastic" AND sensitivity__db_ = "unknown" AND succeeded_by = "sr325"
Below is an context that describes a sql 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 (built VARCHAR, location VARCHAR) ### Question: When was la vista built? ### Answer: SELECT built FROM table_name_9 WHERE location = "la vista"
Below is an context that describes a sql 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 (copa_libertadores_1992 VARCHAR, supercopa_sudamericana_1992 VARCHAR, team VARCHAR) ### Question: Which Copa Libertadores 1992 has a Supercopa Sudamericana 1992 of round of 16, and a Team of grêmio? ### Answer: SELECT copa_libertadores_1992 FROM table_name_59 WHERE supercopa_sudamericana_1992 = "round of 16" AND team = "grêmio"
Below is an context that describes a sql 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 (years VARCHAR, pct VARCHAR, lost VARCHAR) ### Question: What is the years coached by the person with a win percentage of 0.667 and 380 losses? ### Answer: SELECT years FROM table_name_25 WHERE pct = 0.667 AND lost = 380
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_81 (loss VARCHAR, record VARCHAR) ### Question: What was the loss of the game when the record was 50-32? ### Answer: SELECT loss FROM table_name_81 WHERE record = "50-32"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE orders (order_id VARCHAR); CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR) ### Question: List the name and count of each product in all orders. ### Answer: SELECT T3.product_name, COUNT(*) FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_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_20 (venue VARCHAR, winner VARCHAR) ### Question: What was the venue when Jerran Hart won? ### Answer: SELECT venue FROM table_name_20 WHERE winner = "jerran hart"
Below is an context that describes a sql 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 (airport VARCHAR, icao VARCHAR) ### Question: What is the Airport with a ICAO of EDDH? ### Answer: SELECT airport FROM table_name_87 WHERE icao = "eddh"
Below is an context that describes a sql 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 (kerry__number INTEGER, others__percentage VARCHAR, kerry__percentage VARCHAR) ### Question: What was Kerry's lowest number of votes where Other received 0.8% and Kerry 70.4%? ### Answer: SELECT MIN(kerry__number) FROM table_name_65 WHERE others__percentage = "0.8%" AND kerry__percentage = "70.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_87 (round INTEGER, name VARCHAR, pick VARCHAR) ### Question: How many rounds have john o'day as the name, and a pick less than 3? ### Answer: SELECT SUM(round) FROM table_name_87 WHERE name = "john o'day" AND pick < 3
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (tournament VARCHAR, winning_score VARCHAR) ### Question: What tournament had a winning score of –9 (69-71-67=207)? ### Answer: SELECT tournament FROM table_name_72 WHERE winning_score = –9(69 - 71 - 67 = 207)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (stadium VARCHAR, final_score VARCHAR) ### Question: What stadium has a final score of 26–21? ### Answer: SELECT stadium FROM table_name_8 WHERE final_score = "26–21"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24415627_2 (party VARCHAR, senator VARCHAR) ### Question: Of which part does congressman dick clark belong to? ### Answer: SELECT party FROM table_24415627_2 WHERE senator = "Dick 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_name_28 (club VARCHAR, years VARCHAR) ### Question: What is the Club during the Years 1995–1996? ### Answer: SELECT club FROM table_name_28 WHERE years = "1995–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_77 (best VARCHAR, team VARCHAR, qual_2 VARCHAR) ### Question: What was CTE Racing-hvm's Best with a Qual 2 of 50.312? ### Answer: SELECT best FROM table_name_77 WHERE team = "cte racing-hvm" AND qual_2 = "50.312"
Below is an context that describes a sql 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 (nation VARCHAR, lead VARCHAR) ### Question: Which Nation has a Lead of alexandra bruckmiller? ### Answer: SELECT nation FROM table_name_73 WHERE lead = "alexandra bruckmiller"
Below is an context that describes a sql 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 (overall INTEGER, name VARCHAR, round VARCHAR) ### Question: What is the sum of Overall, when Name is "Tim Smiley", and when Round is less than 5? ### Answer: SELECT SUM(overall) FROM table_name_22 WHERE name = "tim smiley" AND round < 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 teaches (id VARCHAR, semester VARCHAR, YEAR VARCHAR) ### Question: Find the id of instructors who taught a class in Fall 2009 but not in Spring 2010. ### Answer: SELECT id FROM teaches WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT id FROM teaches WHERE semester = 'Spring' AND YEAR = 2010
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (film VARCHAR, director VARCHAR, award VARCHAR, year VARCHAR) ### Question: Award of troisième prix, and a Year smaller than 2010, and a Director of jan komasa is what film? ### Answer: SELECT film FROM table_name_10 WHERE award = "troisième prix" AND year < 2010 AND director = "jan komasa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (team_2 VARCHAR) ### Question: What is the 1st leg for team 2 Portol Drac Palma Mallorca? ### Answer: SELECT 1 AS st_leg FROM table_name_27 WHERE team_2 = "portol drac palma mallorca"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR) ### Question: Find all airlines that have at least 10 flights. ### Answer: SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING COUNT(*) > 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_14 (surface VARCHAR, partner VARCHAR) ### Question: What surface has natalia gussoni as the partner? ### Answer: SELECT surface FROM table_name_14 WHERE partner = "natalia gussoni"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (years_in_orlando VARCHAR, player VARCHAR) ### Question: Which Years in Orlando has a Player of bo outlaw? ### Answer: SELECT years_in_orlando FROM table_name_54 WHERE player = "bo outlaw"
Below is an context that describes a sql 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 (overall INTEGER, round VARCHAR, position VARCHAR) ### Question: WHAT IS THE AVERAGE OVERALL WITH A ROUND LARGER THAN 9, AND RB POSITION? ### Answer: SELECT AVG(overall) FROM table_name_85 WHERE round > 9 AND position = "rb"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE authorship (authorder INTEGER); CREATE TABLE authorship (paperid VARCHAR, authorder INTEGER); CREATE TABLE papers (title VARCHAR, paperid VARCHAR) ### Question: Retrieve the title of the paper that has the largest number of authors. ### Answer: SELECT t2.title FROM authorship AS t1 JOIN papers AS t2 ON t1.paperid = t2.paperid WHERE t1.authorder = (SELECT MAX(authorder) FROM authorship)
Below is an context that describes a sql 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 (reg_gp VARCHAR, player VARCHAR) ### Question: How many reg GP for mattias ohlund? ### Answer: SELECT COUNT(reg_gp) FROM table_name_35 WHERE player = "mattias ohlund"
Below is an context that describes a sql 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 (willingshain VARCHAR, kirchheim VARCHAR) ### Question: What Willingshain is Kirchheim 1,126? ### Answer: SELECT willingshain FROM table_name_71 WHERE kirchheim = "1,126"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR, id VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR) ### Question: List the medicine name and trade name which can both interact as 'inhibitor' and 'activitor' with enzymes. ### Answer: SELECT T1.name, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id WHERE interaction_type = 'inhibitor' INTERSECT SELECT T1.name, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id WHERE interaction_type = 'activitor'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (m1a1_abrams VARCHAR, m60a3_patton VARCHAR) ### Question: What is the M1A1 when the M60A3 was T (Short Tons)? ### Answer: SELECT m1a1_abrams FROM table_name_8 WHERE m60a3_patton = "t (short tons)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22344463_2 (position VARCHAR, height VARCHAR) ### Question: If the height is 181cm, what was the position? ### Answer: SELECT position FROM table_22344463_2 WHERE height = "181cm"
Below is an context that describes a sql 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 (network VARCHAR, year VARCHAR, play_by_play VARCHAR, color_commentator_s_ VARCHAR) ### Question: What network hosted Al Michaels, Dan Fouts and Dennis Miller in 2002? ### Answer: SELECT network FROM table_name_71 WHERE play_by_play = "al michaels" AND color_commentator_s_ = "dan fouts and dennis miller" AND 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_2570269_3 (original_air_date__uk_ VARCHAR, episode_title VARCHAR) ### Question: What is the original air date of the episode "Another Happy Day"? ### Answer: SELECT original_air_date__uk_ FROM table_2570269_3 WHERE episode_title = "Another Happy Day"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR) ### Question: What is the average crowd size when North Melbourne is the away team? ### Answer: SELECT AVG(crowd) FROM table_name_33 WHERE away_team = "north 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 table_name_88 (displacement VARCHAR, model VARCHAR) ### Question: What is the displacement for the model 1400? ### Answer: SELECT displacement FROM table_name_88 WHERE model = "1400"
Below is an context that describes a sql 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 (score VARCHAR, third_place VARCHAR, runner_up VARCHAR) ### Question: Name the score for henri leconte and runner-up of michael stich ### Answer: SELECT score FROM table_name_85 WHERE third_place = "henri leconte" AND runner_up = "michael stich"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20095300_1 (weight__st VARCHAR, _lb_ VARCHAR, name VARCHAR) ### Question: How much does Point Barrow weight? ### Answer: SELECT weight__st, _lb_ FROM table_20095300_1 WHERE name = "Point Barrow"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14960574_6 (character VARCHAR, french_voice_actor VARCHAR) ### Question: Name the character for sophie arthuys ### Answer: SELECT character FROM table_14960574_6 WHERE french_voice_actor = "Sophie Arthuys"
Below is an context that describes a sql 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 (number_ VARCHAR, _name VARCHAR, date INTEGER) ### Question: What's the number & name for the date after 1954? ### Answer: SELECT number_ & _name FROM table_name_28 WHERE date > 1954
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What is the 2004 value for the 2009 Grand slam tournaments? ### Answer: SELECT 2004 FROM table_name_86 WHERE 2009 = "grand slam tournaments"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (owner_s_ VARCHAR, team VARCHAR, primary_sponsor_s_ VARCHAR) ### Question: Who is the owner of NTS Motorsports sponsored by Qore-24? ### Answer: SELECT owner_s_ FROM table_name_61 WHERE team = "nts motorsports" AND primary_sponsor_s_ = "qore-24"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_51 (lijsttrekker VARCHAR, year VARCHAR, chair VARCHAR) ### Question: What is Lijsttrekker, when Year is after 1990, and when Chair is "Ingrid Van Engelshoven"? ### Answer: SELECT lijsttrekker FROM table_name_51 WHERE year > 1990 AND chair = "ingrid van engelshoven"
Below is an context that describes a sql 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 (years VARCHAR, authority VARCHAR, name VARCHAR) ### Question: What years are listed for the Tahunanui school with an authority of state? ### Answer: SELECT years FROM table_name_31 WHERE authority = "state" AND name = "tahunanui 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_51 (driver VARCHAR, year INTEGER) ### Question: Which driver had a year under 1905? ### Answer: SELECT driver FROM table_name_51 WHERE year < 1905
Below is an context that describes a sql 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 (winner VARCHAR, circuit VARCHAR) ### Question: Who won at the Barbagallo Raceway circuit? ### Answer: SELECT winner FROM table_name_49 WHERE circuit = "barbagallo 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 table_name_77 (ppv_buyrate VARCHAR, date VARCHAR, event VARCHAR) ### Question: On September 10 during Strikeforce: Heavyweight Grand Prix Semifinals, what was the PPV buyrate? ### Answer: SELECT ppv_buyrate FROM table_name_77 WHERE date = "september 10" AND event = "strikeforce: heavyweight grand prix semifinals"
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, winning_score VARCHAR) ### Question: What was the Margin of Victory of winning score 68-67-69-65=269? ### Answer: SELECT margin_of_victory FROM table_name_65 WHERE winning_score = 68 - 67 - 69 - 65 = 269
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24807774_1 (bosnian VARCHAR, cook_islands VARCHAR) ### Question: how many bosnian in cook islands is sri lankan ### Answer: SELECT bosnian FROM table_24807774_1 WHERE cook_islands = "Sri Lankan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE professor (dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR) ### Question: What is the name of department where has the largest number of professors with a Ph.D. degree? ### Answer: SELECT T2.dept_name, T1.dept_code FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE T1.prof_high_degree = 'Ph.D.' GROUP BY T1.dept_code ORDER BY COUNT(*) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_34 (pick VARCHAR, player VARCHAR) ### Question: What is Pick, when Player is "Dexter Bailey"? ### Answer: SELECT pick FROM table_name_34 WHERE player = "dexter bailey"
Below is an context that describes a 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 (represent VARCHAR, height__mtr_ VARCHAR) ### Question: What country had a contestant that was 1.70 meters tall? ### Answer: SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.70"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (away_team VARCHAR) ### Question: What is the away team score when the away team is Essendon? ### Answer: SELECT away_team AS score FROM table_name_16 WHERE away_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_22269839_1 (directed_by VARCHAR, written_by VARCHAR) ### Question: Who directed the title written by cherry chevapravatdumrong? ### Answer: SELECT directed_by FROM table_22269839_1 WHERE written_by = "Cherry Chevapravatdumrong"
Below is an context that describes a sql 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 (draws INTEGER, against VARCHAR, losses VARCHAR, geelong_fl VARCHAR) ### Question: What is the largest number of draws of St Josephs with losses greater than 6 and less than 1250 against? ### Answer: SELECT MAX(draws) FROM table_name_22 WHERE losses > 6 AND geelong_fl = "st josephs" AND against < 1250
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (championship INTEGER, league_cup VARCHAR, name VARCHAR) ### Question: What is the total championships of James Henry that has a league cup more than 1? ### Answer: SELECT SUM(championship) FROM table_name_4 WHERE league_cup > 1 AND name = "james henry"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (song VARCHAR, artist VARCHAR) ### Question: What's the song of artist liam reilly? ### Answer: SELECT song FROM table_name_8 WHERE artist = "liam reilly"
Below is an context that describes a sql 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 (lost VARCHAR, club VARCHAR) ### Question: What is the lost when the club was Barry RFC? ### Answer: SELECT lost FROM table_name_60 WHERE club = "barry 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_61 (gold VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR) ### Question: How many golds have a bronze greater than 1, a silver greater than 1, with total as the rank? ### Answer: SELECT COUNT(gold) FROM table_name_61 WHERE bronze > 1 AND silver > 1 AND rank = "total"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE competition (country VARCHAR, competition_type VARCHAR) ### Question: which country did participated in the most number of Tournament competitions? ### Answer: SELECT country FROM competition WHERE competition_type = 'Tournament' GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (date VARCHAR, tournament VARCHAR) ### Question: What is the date of the tournament played in Madrid, Spain? ### Answer: SELECT date FROM table_name_90 WHERE tournament = "madrid, spain"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (rank INTEGER, passengers INTEGER) ### Question: What is the highest rank when there are fewer than 124,296 passengers? ### Answer: SELECT MAX(rank) FROM table_name_4 WHERE passengers < 124 OFFSET 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 table_11677691_4 (college VARCHAR, school VARCHAR) ### Question: Which college did the player attend that went to Mission Viejo High School? ### Answer: SELECT college FROM table_11677691_4 WHERE school = "Mission Viejo 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_60 (venue VARCHAR, runs VARCHAR) ### Question: During runs 332, what was the venue? ### Answer: SELECT venue FROM table_name_60 WHERE runs = "332"
Below is an context that describes a sql 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 (round VARCHAR, res VARCHAR, record VARCHAR) ### Question: What is the round when the loss came with a record of 2-4? ### Answer: SELECT round FROM table_name_78 WHERE res = "loss" AND record = "2-4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_5 (score VARCHAR, set_3 VARCHAR) ### Question: What is the score when the set 3 is 26–28? ### Answer: SELECT score FROM table_name_5 WHERE set_3 = "26–28"
Below is an context that describes a sql 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 (catalog VARCHAR, date VARCHAR) ### Question: Name the catalog for 26 march 1996 ### Answer: SELECT catalog FROM table_name_2 WHERE date = "26 march 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_25 (successes INTEGER, failures VARCHAR, launches VARCHAR) ### Question: What is the greatest successes that have failures greater than 1 and launches less than 28? ### Answer: SELECT MAX(successes) FROM table_name_25 WHERE failures > 1 AND launches < 28
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19523708_1 (draw INTEGER) ### Question: What is the highest draw represented? ### Answer: SELECT MAX(draw) FROM table_19523708_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 actor (Name VARCHAR) ### Question: List the name of actors in ascending alphabetical order. ### Answer: SELECT Name FROM actor ORDER BY Name
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2015453_1 (team__number1 VARCHAR, date VARCHAR) ### Question: Who was team #1 on 9 September 2006? ### Answer: SELECT team__number1 FROM table_2015453_1 WHERE date = "9 September 2006"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Financial_transactions (transaction_amount INTEGER) ### Question: What is the average and total transaction amount? ### Answer: SELECT AVG(transaction_amount), SUM(transaction_amount) FROM Financial_transactions
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15190346_2 (location VARCHAR, _number VARCHAR) ### Question: What is the location of #1? ### Answer: SELECT location FROM table_15190346_2 WHERE _number = 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_2 (round INTEGER, school VARCHAR) ### Question: What is the lowest round for Georgia Tech? ### Answer: SELECT MIN(round) FROM table_name_2 WHERE school = "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_1341672_10 (incumbent VARCHAR, candidates VARCHAR) ### Question: who is the incumbent where the candidates is william v. chappell, jr. (d) unopposed? ### Answer: SELECT incumbent FROM table_1341672_10 WHERE candidates = "William V. Chappell, Jr. (D) Unopposed"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10335_1 (occupied_territory VARCHAR, operational VARCHAR) ### Question: what's the occupied territory with operational period of may 1940 – january 1945 ### Answer: SELECT occupied_territory FROM table_10335_1 WHERE operational = "May 1940 – January 1945"
Below is an context that describes a sql 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 (date__to_ VARCHAR, date__from_ VARCHAR) ### Question: Which date has date started from 30 Sep 1913? ### Answer: SELECT date__to_ FROM table_name_79 WHERE date__from_ = "30 sep 1913"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (date VARCHAR, game VARCHAR) ### Question: On what date was Game 1? ### Answer: SELECT date FROM table_name_54 WHERE game = "game 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_56 (position VARCHAR, club_province VARCHAR) ### Question: What is the position of Perpignan? ### Answer: SELECT position FROM table_name_56 WHERE club_province = "perpignan"
Below is an context that describes a sql 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 (score VARCHAR, team_2 VARCHAR) ### Question: What is the 2nd round with a score of 3 - 3, and a team 2 fc lorient (d2)? ### Answer: SELECT 2 AS nd_round FROM table_name_60 WHERE score = "3 - 3" AND team_2 = "fc lorient (d2)"
Below is an context that describes a sql 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 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) ### Question: How many bronze medals did the nation have that had less than 3 silver, 5 gold and ranked better than 31? ### Answer: SELECT SUM(bronze) FROM table_name_97 WHERE silver < 3 AND rank < 31 AND gold = 5