inputs
stringlengths
400
1.34k
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What day is the french grand prix ### Context: CREATE TABLE table_1139087_2 (date VARCHAR, grand_prix VARCHAR) ### Response: ### Response: SELECT date FROM table_1139087_2 WHERE grand_prix = "French grand_prix"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the highest no. in season? ### Context: CREATE TABLE table_10701133_1 (no_in_season INTEGER) ### Response: ### Response: SELECT MAX(no_in_season) FROM table_10701133_1</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who wrote the episode with production code 2j5568? ### Context: CREATE TABLE table_28466323_2 (written_by VARCHAR, production_code VARCHAR) ### Response: ### Response: SELECT written_by FROM table_28466323_2 WHERE production_code = "2J5568"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the max fs where the status is status and the method is method? ### Context: CREATE TABLE table_17157367_1 (max_fs VARCHAR) ### Response: ### Response: SELECT max_fs FROM table_17157367_1 WHERE "status" = "status" AND "method" = "method"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who constructed the car that has a Time/Retired of +2:06.0? ### Context: CREATE TABLE table_name_67 (constructor VARCHAR, time_retired VARCHAR) ### Response: ### Response: SELECT constructor FROM table_name_67 WHERE time_retired = "+2:06.0"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the rank of the gatchaman of Jinpei? ### Context: CREATE TABLE table_name_76 (rank VARCHAR, gatchaman VARCHAR) ### Response: ### Response: SELECT rank FROM table_name_76 WHERE gatchaman = "jinpei"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What year was the runner-up Portugal with Italy in third place, and the gold keeper Nuno Hidalgo? ### Context: CREATE TABLE table_name_5 (year INTEGER, best_goalkeeper VARCHAR, runner_up VARCHAR, third_place VARCHAR) ### Response: ### Response: SELECT AVG(year) FROM table_name_5 WHERE runner_up = "portugal" AND third_place = "italy" AND best_goalkeeper = "nuno hidalgo"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many were in Attendance on October 8? ### Context: CREATE TABLE table_name_65 (attendance VARCHAR, date VARCHAR) ### Response: ### Response: SELECT COUNT(attendance) FROM table_name_65 WHERE date = "october 8"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: If the market name is Xperia U, what is the weight? ### Context: CREATE TABLE table (weight VARCHAR, market_name VARCHAR) ### Response: ### Response: SELECT weight FROM table WHERE market_name = "Xperia U"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Product Name, when the Company Name is HTC Corporation? ### Context: CREATE TABLE table_name_63 (product_name VARCHAR, company_name VARCHAR) ### Response: ### Response: SELECT product_name FROM table_name_63 WHERE company_name = "htc corporation"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When was petter ronnquist picked? ### Context: CREATE TABLE table_name_49 (overall VARCHAR, player VARCHAR) ### Response: ### Response: SELECT overall FROM table_name_49 WHERE player = "petter ronnquist"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Tell me the total number of bronze for silver being 0 and sport of wrestling and total more than 3 ### Context: CREATE TABLE table_name_16 (bronze VARCHAR, total VARCHAR, silver VARCHAR, sport VARCHAR) ### Response: ### Response: SELECT COUNT(bronze) FROM table_name_16 WHERE silver = 0 AND sport = "wrestling" AND total > 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the venue of game 3? ### Context: CREATE TABLE table_name_88 (venue VARCHAR, game VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_88 WHERE game = 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the H/A/N for the game that ended in a score of 108-102? ### Context: CREATE TABLE table_name_12 (h_a_n VARCHAR, score VARCHAR) ### Response: ### Response: SELECT h_a_n FROM table_name_12 WHERE score = "108-102"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the start of lap 55? ### Context: CREATE TABLE table_name_18 (start VARCHAR, laps VARCHAR) ### Response: ### Response: SELECT start FROM table_name_18 WHERE laps = 55</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the average tonnage for Beatus, raided on 18 October 1940? ### Context: CREATE TABLE table_name_87 (tonnage INTEGER, date VARCHAR, name_of_ship VARCHAR) ### Response: ### Response: SELECT AVG(tonnage) FROM table_name_87 WHERE date = "18 october 1940" AND name_of_ship = "beatus"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How long has Mel Daniels been playing? ### Context: CREATE TABLE table_22719663_3 (experience VARCHAR, name VARCHAR) ### Response: ### Response: SELECT experience FROM table_22719663_3 WHERE name = "Mel Daniels"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who is the player with a year later than 2007 and the college/high school/club of Arizona? ### Context: CREATE TABLE table_name_58 (player VARCHAR, year VARCHAR, college_high_school_club VARCHAR) ### Response: ### Response: SELECT player FROM table_name_58 WHERE year > 2007 AND college_high_school_club = "arizona"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the highest rank of a swimmer in lane 5? ### Context: CREATE TABLE table_name_20 (rank INTEGER, lane VARCHAR) ### Response: ### Response: SELECT MAX(rank) FROM table_name_20 WHERE lane = 5</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What airport is in Sabha? ### Context: CREATE TABLE table_name_43 (airport VARCHAR, city VARCHAR) ### Response: ### Response: SELECT airport FROM table_name_43 WHERE city = "sabha"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the number of draws when played is smaller than 30? ### Context: CREATE TABLE table_name_74 (draws VARCHAR, played INTEGER) ### Response: ### Response: SELECT COUNT(draws) FROM table_name_74 WHERE played < 30</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the lowest Total containing a Bronze of 0 and Rank smaller than 2? ### Context: CREATE TABLE table_name_92 (total INTEGER, bronze VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT MIN(total) FROM table_name_92 WHERE bronze = 0 AND rank < 2</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Digital channel of 32 belongs to what analog channel? ### Context: CREATE TABLE table_name_3 (analog_channel VARCHAR, digital_channel VARCHAR) ### Response: ### Response: SELECT analog_channel FROM table_name_3 WHERE digital_channel = "32"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Was the third place winner Yannick Noah? ### Context: CREATE TABLE table_name_87 (winner VARCHAR, third_place VARCHAR) ### Response: ### Response: SELECT winner FROM table_name_87 WHERE third_place = "yannick noah"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the surface of the tournament with david nalbandian as the opponent in the final? ### Context: CREATE TABLE table_name_53 (surface VARCHAR, opponent_in_final VARCHAR) ### Response: ### Response: SELECT surface FROM table_name_53 WHERE opponent_in_final = "david nalbandian"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which episode number had a viewership of 0.56 million? ### Context: CREATE TABLE table_26961951_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR) ### Response: ### Response: SELECT MAX(no_in_series) FROM table_26961951_6 WHERE us_viewers__million_ = "0.56"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who is the opponent of the submission (triangle choke) method of submission? ### Context: CREATE TABLE table_name_41 (opponent VARCHAR, method VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_41 WHERE method = "submission (triangle choke)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Passengers have Carriers of air canada? ### Context: CREATE TABLE table_name_65 (passengers VARCHAR, carriers VARCHAR) ### Response: ### Response: SELECT passengers FROM table_name_65 WHERE carriers = "air canada"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What stage of the race was held on the course Reggio Calabria to Catanzaro? ### Context: CREATE TABLE table_name_89 (stage VARCHAR, course VARCHAR) ### Response: ### Response: SELECT stage FROM table_name_89 WHERE course = "reggio calabria to catanzaro"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the result for the game played on December 20, 1970? ### Context: CREATE TABLE table_name_50 (result VARCHAR, date VARCHAR) ### Response: ### Response: SELECT result FROM table_name_50 WHERE date = "december 20, 1970"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which institution's nickname is the Bobcats? ### Context: CREATE TABLE table_261931_2 (institution VARCHAR, nickname VARCHAR) ### Response: ### Response: SELECT institution FROM table_261931_2 WHERE nickname = "Bobcats"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What barony is Ballycunningham in? ### Context: CREATE TABLE table_30120566_1 (barony VARCHAR, townland VARCHAR) ### Response: ### Response: SELECT barony FROM table_30120566_1 WHERE townland = "Ballycunningham"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the moving to for fra ### Context: CREATE TABLE table_name_22 (moving_to VARCHAR, country VARCHAR) ### Response: ### Response: SELECT moving_to FROM table_name_22 WHERE country = "fra"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How much Total has a Bronze smaller than 13, and a Nation of netherlands (ned), and a Gold larger than 4? ### Context: CREATE TABLE table_name_20 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR) ### Response: ### Response: SELECT COUNT(total) FROM table_name_20 WHERE bronze < 13 AND nation = "netherlands (ned)" AND gold > 4</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What country has a P of GK? ### Context: CREATE TABLE table_17596418_4 (country VARCHAR, p VARCHAR) ### Response: ### Response: SELECT country FROM table_17596418_4 WHERE p = "GK"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Tournament has a score of 2–6 6–4 [10–8]? ### Context: CREATE TABLE table_name_9 (tournament VARCHAR, score VARCHAR) ### Response: ### Response: SELECT tournament FROM table_name_9 WHERE score = "2–6 6–4 [10–8]"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the position in table for 1 july 2008 when manner of departure is resigned ### Context: CREATE TABLE table_17039232_3 (position_in_table VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR) ### Response: ### Response: SELECT position_in_table FROM table_17039232_3 WHERE date_of_appointment = "1 July 2008" AND manner_of_departure = "Resigned"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the date for the game where Platense was the home side? ### Context: CREATE TABLE table_name_99 (date VARCHAR, home VARCHAR) ### Response: ### Response: SELECT date FROM table_name_99 WHERE home = "platense"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the hometown for mike ladd? ### Context: CREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR) ### Response: ### Response: SELECT hometown FROM table_29598261_1 WHERE name = "Mike Ladd"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What position was the team who had less then 63 goals against and less than 6 losses? ### Context: CREATE TABLE table_name_20 (position INTEGER, goals_against VARCHAR, lost VARCHAR) ### Response: ### Response: SELECT AVG(position) FROM table_name_20 WHERE goals_against < 63 AND lost < 6</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Birth Date of 8 November 1980, and a Weight smaller than 93 has what sum of a shirt number? ### Context: CREATE TABLE table_name_6 (shirt_no INTEGER, birth_date VARCHAR, weight VARCHAR) ### Response: ### Response: SELECT SUM(shirt_no) FROM table_name_6 WHERE birth_date = "8 november 1980" AND weight < 93</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What player has defensive back as the position, with a round less than 2? ### Context: CREATE TABLE table_name_19 (player VARCHAR, position VARCHAR, round VARCHAR) ### Response: ### Response: SELECT player FROM table_name_19 WHERE position = "defensive back" AND round < 2</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the bronze with more than 2 gold and less than 14 total and 4 silver? ### Context: CREATE TABLE table_name_86 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) ### Response: ### Response: SELECT AVG(bronze) FROM table_name_86 WHERE gold > 2 AND total < 14 AND silver = 4</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what are the lines served where station users is 210076? ### Context: CREATE TABLE table_14748457_1 (lines_served VARCHAR, station_users_2008_9 VARCHAR) ### Response: ### Response: SELECT lines_served FROM table_14748457_1 WHERE station_users_2008_9 = "210076"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score when philadelphia visited? ### Context: CREATE TABLE table_name_38 (score VARCHAR, visitor VARCHAR) ### Response: ### Response: SELECT score FROM table_name_38 WHERE visitor = "philadelphia"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many new entries this round are there with more than 16 matches and a third round qualifying? ### Context: CREATE TABLE table_name_90 (new_entries_this_round VARCHAR, matches VARCHAR, round VARCHAR) ### Response: ### Response: SELECT new_entries_this_round FROM table_name_90 WHERE matches > 16 AND round = "third round qualifying"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the score for the home team Notts County? ### Context: CREATE TABLE table_name_97 (score VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT score FROM table_name_97 WHERE home_team = "notts county"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the number of silver medals when there are more than 1 gold, and more than 6 bronze? ### Context: CREATE TABLE table_name_90 (silver INTEGER, gold VARCHAR, bronze VARCHAR) ### Response: ### Response: SELECT MIN(silver) FROM table_name_90 WHERE gold > 1 AND bronze > 6</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the date for postponed attendance ### Context: CREATE TABLE table_name_7 (date VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT date FROM table_name_7 WHERE attendance = "postponed"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the Rd. Time for October 3, 2009? ### Context: CREATE TABLE table_name_86 (rd VARCHAR, _time VARCHAR, date VARCHAR) ### Response: ### Response: SELECT rd, _time FROM table_name_86 WHERE date = "october 3, 2009"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who is the driver of the chassis-engine porsche 956 gti? ### Context: CREATE TABLE table_name_14 (driver VARCHAR, chassis___engine VARCHAR) ### Response: ### Response: SELECT driver FROM table_name_14 WHERE chassis___engine = "porsche 956 gti"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Tell me the total number of Qual Laps higher than 93 with a Rank of 32 with Grid less than 32 ### Context: CREATE TABLE table_name_16 (qual VARCHAR, grid VARCHAR, laps VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT COUNT(qual) FROM table_name_16 WHERE laps > 93 AND rank = 32 AND grid < 32</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score at Bernardo O'Higgins Cup on May 7, 1961? ### Context: CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_name_94 WHERE competition = "bernardo o'higgins cup" AND date = "may 7, 1961"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the home team's score of the game where South Melbourne is the away team? ### Context: CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT home_team AS score FROM table_name_77 WHERE away_team = "south melbourne"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What 2008 has 14.2% as the 2009? ### Context: CREATE TABLE table_name_31 (Id VARCHAR) ### Response: ### Response: SELECT 2008 FROM table_name_31 WHERE 2009 = "14.2%"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When in round of 16 it was did not advance what was it in round of 32? ### Context: CREATE TABLE table_18602462_21 (round_of_32 VARCHAR, round_of_16 VARCHAR) ### Response: ### Response: SELECT round_of_32 FROM table_18602462_21 WHERE round_of_16 = "Did not advance"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who is the Opponent of the match with a Record of 0-1? ### Context: CREATE TABLE table_name_12 (opponent VARCHAR, record VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_12 WHERE record = "0-1"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Attendance has a Tie # of 15? ### Context: CREATE TABLE table_name_25 (attendance VARCHAR, tie_no VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_25 WHERE tie_no = "15"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the maximum aperture of the lens(es) with a focal length of 20mm? ### Context: CREATE TABLE table_name_77 (max_aperture VARCHAR, focal_length VARCHAR) ### Response: ### Response: SELECT max_aperture FROM table_name_77 WHERE focal_length = "20mm"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score of the game whose first star was O. Pavelec? ### Context: CREATE TABLE table_27537518_6 (score VARCHAR, first_star VARCHAR) ### Response: ### Response: SELECT score FROM table_27537518_6 WHERE first_star = "O. Pavelec"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is shown on Tuesday when Monday is showing Fox Sports Primetime? ### Context: CREATE TABLE table_name_77 (tuesday VARCHAR, monday VARCHAR) ### Response: ### Response: SELECT tuesday FROM table_name_77 WHERE monday = "fox sports primetime"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When was the game played against Norway with a result of 1:0? ### Context: CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR) ### Response: ### Response: SELECT date FROM table_name_7 WHERE opponent = "norway" AND results¹ = "1:0"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the highest Money ( $ ), when To Par is less than 2? ### Context: CREATE TABLE table_name_11 (money___ INTEGER, to_par INTEGER) ### Response: ### Response: SELECT MAX(money___) AS $__ FROM table_name_11 WHERE to_par < 2</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which college/junior/club team did the player play on that played for the Buffalo Sabres in NHL? ### Context: CREATE TABLE table_1473672_3 (college_junior_club_team VARCHAR, nhl_team VARCHAR) ### Response: ### Response: SELECT college_junior_club_team FROM table_1473672_3 WHERE nhl_team = "Buffalo Sabres"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which team's home is the Arden Street Oval? ### Context: CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT home_team FROM table_name_56 WHERE venue = "arden street oval"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: In what season was the conference record for the Pandas 15-1-1? ### Context: CREATE TABLE table_27069503_2 (season VARCHAR, conf_record VARCHAR) ### Response: ### Response: SELECT season FROM table_27069503_2 WHERE conf_record = "15-1-1"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the area (ha) of the group on the island of Linga Holm that has a Height (m) larger than 7? ### Context: CREATE TABLE table_name_31 (area___ha__ VARCHAR, height__m_ VARCHAR, island VARCHAR) ### Response: ### Response: SELECT area___ha__ FROM table_name_31 WHERE height__m_ > 7 AND island = "linga holm"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Residence has a Party of dem, and a Representative of linda lawson? ### Context: CREATE TABLE table_name_20 (residence VARCHAR, party VARCHAR, representative VARCHAR) ### Response: ### Response: SELECT residence FROM table_name_20 WHERE party = "dem" AND representative = "linda lawson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What tournament located is mississippi was nov 5 ### Context: CREATE TABLE table_name_83 (tournament VARCHAR, date VARCHAR, location VARCHAR) ### Response: ### Response: SELECT tournament FROM table_name_83 WHERE date = "nov 5" AND location = "mississippi"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which model with a fleet series of s410-s434? ### Context: CREATE TABLE table_name_60 (model VARCHAR, fleet_series VARCHAR) ### Response: ### Response: SELECT model FROM table_name_60 WHERE fleet_series = "s410-s434"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many numbers were recorded for high points when the team played against Oklahoma City? ### Context: CREATE TABLE table_17311783_6 (high_points VARCHAR, team VARCHAR) ### Response: ### Response: SELECT COUNT(high_points) FROM table_17311783_6 WHERE team = "Oklahoma City"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the lowest ranking for Paul Mctiernan? ### Context: CREATE TABLE table_name_67 (ranking INTEGER, name VARCHAR) ### Response: ### Response: SELECT MIN(ranking) FROM table_name_67 WHERE name = "paul mctiernan"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Nationality, when Round is less than 2, and when Pick is "24"? ### Context: CREATE TABLE table_name_17 (nationality VARCHAR, round VARCHAR, pick VARCHAR) ### Response: ### Response: SELECT nationality FROM table_name_17 WHERE round < 2 AND pick = 24</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the Billboard peak for the album released on February 2, 1976 by MCA? ### Context: CREATE TABLE table_name_95 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR) ### Response: ### Response: SELECT billboard_peak FROM table_name_95 WHERE label = "mca" AND date_of_release = "february 2, 1976"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who were the semifinalists when the runner-up was Pat Du Pré? ### Context: CREATE TABLE table_29302781_12 (semifinalists VARCHAR, runner_up VARCHAR) ### Response: ### Response: SELECT semifinalists FROM table_29302781_12 WHERE runner_up = "Pat Du Pré"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the mascot of st. paul's school? ### Context: CREATE TABLE table_2439728_1 (mascot VARCHAR, school VARCHAR) ### Response: ### Response: SELECT mascot FROM table_2439728_1 WHERE school = "St. Paul's school"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Internet Plan, when Price is "22 EUR"? ### Context: CREATE TABLE table_name_48 (internet_plan VARCHAR, price VARCHAR) ### Response: ### Response: SELECT internet_plan FROM table_name_48 WHERE price = "22 eur"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What years does milt palacio play? ### Context: CREATE TABLE table_name_48 (years_for_jazz VARCHAR, player VARCHAR) ### Response: ### Response: SELECT years_for_jazz FROM table_name_48 WHERE player = "milt palacio"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What's the greek designation of the city riverside? ### Context: CREATE TABLE table_name_28 (greek_designation VARCHAR, city VARCHAR) ### Response: ### Response: SELECT greek_designation FROM table_name_28 WHERE city = "riverside"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What are the distinct name of the mills built by the architects who have also built a bridge longer than 80 meters? ### Context: CREATE TABLE architect (Id VARCHAR); CREATE TABLE mill (name VARCHAR, architect_id VARCHAR); CREATE TABLE bridge (architect_id VARCHAR, length_meters INTEGER) ### Response: ### Response: SELECT DISTINCT T1.name FROM mill AS T1 JOIN architect AS t2 ON T1.architect_id = T2.id JOIN bridge AS T3 ON T3.architect_id = T2.id WHERE T3.length_meters > 80</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who has a walking data of 214.061km? ### Context: CREATE TABLE table_name_66 (athlete VARCHAR, data VARCHAR) ### Response: ### Response: SELECT athlete FROM table_name_66 WHERE data = "214.061km"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the opponent on 11 August 1991 when the H/A was H? ### Context: CREATE TABLE table_name_96 (opponents VARCHAR, h___a VARCHAR, date VARCHAR) ### Response: ### Response: SELECT opponents FROM table_name_96 WHERE h___a = "h" AND date = "11 august 1991"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many totals have a Bronze smaller than 3, a Nation of zimbabwe, and a Silver smaller than 6? ### Context: CREATE TABLE table_name_98 (total VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR) ### Response: ### Response: SELECT COUNT(total) FROM table_name_98 WHERE bronze < 3 AND nation = "zimbabwe" AND silver < 6</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What Driver had 50+3 Points? ### Context: CREATE TABLE table_name_99 (driver VARCHAR, points VARCHAR) ### Response: ### Response: SELECT driver FROM table_name_99 WHERE points = "50+3"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: WHAT OPPONENT HAD A DATE OF SEPTEMBER 28? ### Context: CREATE TABLE table_name_17 (opponent VARCHAR, date VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_17 WHERE date = "september 28"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who wrote episode 6 in season 3? ### Context: CREATE TABLE table_2602958_4 (writer_s_ VARCHAR, _number VARCHAR) ### Response: ### Response: SELECT writer_s_ FROM table_2602958_4 WHERE _number = 6</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the toll for light vehicles at the plaza between bela bela and modimolle? ### Context: CREATE TABLE table_1211545_2 (light_vehicle VARCHAR, location VARCHAR) ### Response: ### Response: SELECT light_vehicle FROM table_1211545_2 WHERE location = "between Bela Bela and Modimolle"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: During what years are the percentage over total tax revenue is 0.65? ### Context: CREATE TABLE table_1618358_1 (year VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR) ### Response: ### Response: SELECT year FROM table_1618358_1 WHERE over_total_tax_revenue__in__percentage_ = "0.65"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is To Par, when Country is "Australia"? ### Context: CREATE TABLE table_name_25 (to_par VARCHAR, country VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_25 WHERE country = "australia"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What visitor has Ottawa as a home and a date of April 26? ### Context: CREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR, date VARCHAR) ### Response: ### Response: SELECT visitor FROM table_name_20 WHERE home = "ottawa" AND date = "april 26"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How old is the person with the height of m (ft 3⁄4 in)? ### Context: CREATE TABLE table_24192031_2 (age VARCHAR, height VARCHAR) ### Response: ### Response: SELECT age FROM table_24192031_2 WHERE height = "m (ft 3⁄4 in)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Find the movies with the highest average rating. Return the movie titles and average rating. ### Context: CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) ### Response: ### Response: SELECT T2.title, AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY AVG(T1.stars) DESC LIMIT 1</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Front Side Bus for Model Number c3 850? ### Context: CREATE TABLE table_name_54 (front_side_bus VARCHAR, model_number VARCHAR) ### Response: ### Response: SELECT front_side_bus FROM table_name_54 WHERE model_number = "c3 850"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: when the total is 8 and copa del rey is 0 what is the minimum league ### Context: CREATE TABLE table_17505751_5 (league INTEGER, total VARCHAR, copa_del_rey VARCHAR) ### Response: ### Response: SELECT MIN(league) FROM table_17505751_5 WHERE total = 8 AND copa_del_rey = 0</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the winner of the race at Belmont? ### Context: CREATE TABLE table_1358608_4 (winner_2nd VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT winner_2nd FROM table_1358608_4 WHERE venue = "Belmont"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the winner in stage 3? ### Context: CREATE TABLE table_name_49 (winner VARCHAR, stage VARCHAR) ### Response: ### Response: SELECT winner FROM table_name_49 WHERE stage = "3"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many different Heights (cm) did Mark Fusco have, when his Jersey # was less than 16? ### Context: CREATE TABLE table_name_19 (height__cm_ VARCHAR, jersey__number VARCHAR, name VARCHAR) ### Response: ### Response: SELECT COUNT(height__cm_) FROM table_name_19 WHERE jersey__number < 16 AND name = "mark fusco"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: WHAT IS THE SITE ON OCTOBER 7? ### Context: CREATE TABLE table_name_44 (site VARCHAR, date VARCHAR) ### Response: ### Response: SELECT site FROM table_name_44 WHERE date = "october 7"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the weight of the player with a height of 2.00m? ### Context: CREATE TABLE table_name_58 (weight VARCHAR, height VARCHAR) ### Response: ### Response: SELECT weight FROM table_name_58 WHERE height = "2.00"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Bronze, when Notes is "6.7km, 22controls"? ### Context: CREATE TABLE table_name_2 (bronze VARCHAR, notes VARCHAR) ### Response: ### Response: SELECT bronze FROM table_name_2 WHERE notes = "6.7km, 22controls"</s>