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 was their position when the score of B was less than 9.05, a total was 15.275, and A Score larger than 6.4? ### Context: CREATE TABLE table_name_47 (position INTEGER, a_score VARCHAR, b_score VARCHAR, total VARCHAR) ### Response: ### Response: SELECT AVG(position) FROM table_name_47 WHERE b_score < 9.05 AND total = 15.275 AND a_score > 6.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: Name the Place of seve ballesteros? ### Context: CREATE TABLE table_name_35 (place VARCHAR, player VARCHAR) ### Response: ### Response: SELECT place FROM table_name_35 WHERE player = "seve ballesteros"</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 european tier for rick springfield ### Context: CREATE TABLE table_22457674_1 (european_tier VARCHAR, artist VARCHAR) ### Response: ### Response: SELECT european_tier FROM table_22457674_1 WHERE artist = "Rick Springfield"</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 high rebounds of team @ Detroit? ### Context: CREATE TABLE table_27721131_10 (high_rebounds VARCHAR, team VARCHAR) ### Response: ### Response: SELECT high_rebounds FROM table_27721131_10 WHERE team = "@ Detroit"</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 an Outcome of winner, and a Surface of hard (i)? ### Context: CREATE TABLE table_name_4 (tournament VARCHAR, outcome VARCHAR, surface VARCHAR) ### Response: ### Response: SELECT tournament FROM table_name_4 WHERE outcome = "winner" AND surface = "hard (i)"</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 Europe? ### Context: CREATE TABLE table_name_32 (date VARCHAR, region VARCHAR) ### Response: ### Response: SELECT date FROM table_name_32 WHERE region = "europe"</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 is Bob Tway from? ### Context: CREATE TABLE table_name_93 (country VARCHAR, player VARCHAR) ### Response: ### Response: SELECT country FROM table_name_93 WHERE player = "bob tway"</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 title has a translation in it of 1000 lies? ### Context: CREATE TABLE table_name_32 (title VARCHAR, translation VARCHAR) ### Response: ### Response: SELECT title FROM table_name_32 WHERE translation = "1000 lies"</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 the game that was played on 23 October 1966? ### Context: CREATE TABLE table_name_41 (venue VARCHAR, date VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_41 WHERE date = "23 october 1966"</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 cpu of the calculator released in 1993? ### Context: CREATE TABLE table_11703336_1 (cpu VARCHAR, year_released VARCHAR) ### Response: ### Response: SELECT cpu FROM table_11703336_1 WHERE year_released = "1993"</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 which years are co-stars mala sinha and amitabh bachchan? ### Context: CREATE TABLE table_2528382_2 (year VARCHAR, co_stars VARCHAR) ### Response: ### Response: SELECT year FROM table_2528382_2 WHERE co_stars = "Mala Sinha and Amitabh Bachchan"</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 city does the tallest building have 35 floors? ### Context: CREATE TABLE table_name_32 (city VARCHAR, floors VARCHAR) ### Response: ### Response: SELECT city FROM table_name_32 WHERE floors = 35</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 team has Pony as the kit manufacturer and Gary Mabbutt as the captain? ### Context: CREATE TABLE table_name_9 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR) ### Response: ### Response: SELECT team FROM table_name_9 WHERE kit_manufacturer = "pony" AND captain = "gary mabbutt"</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 administrative county being area of 422372 ### Context: CREATE TABLE table_14925084_1 (administrative_county VARCHAR, area_1961__statute_acres_ VARCHAR) ### Response: ### Response: SELECT administrative_county FROM table_14925084_1 WHERE area_1961__statute_acres_ = 422372</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 of the entrants had Luigi Fagioli as a driver? ### Context: CREATE TABLE table_name_79 (entrant VARCHAR, driver VARCHAR) ### Response: ### Response: SELECT entrant FROM table_name_79 WHERE driver = "luigi fagioli"</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 low win total for players ranked below 4? ### Context: CREATE TABLE table_name_17 (wins INTEGER, rank INTEGER) ### Response: ### Response: SELECT MIN(wins) FROM table_name_17 WHERE rank > 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: Who was the supporting actress in a film with Diane Keaton as the leading actress? ### Context: CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, leading_actress VARCHAR) ### Response: ### Response: SELECT supporting_actress FROM table_24225238_1 WHERE leading_actress = "Diane Keaton"</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 team picked 80? ### Context: CREATE TABLE table_name_94 (team VARCHAR, pick VARCHAR) ### Response: ### Response: SELECT team FROM table_name_94 WHERE pick = 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: What country does Greg Norman represent? ### Context: CREATE TABLE table_name_26 (country VARCHAR, player VARCHAR) ### Response: ### Response: SELECT country FROM table_name_26 WHERE player = "greg norman"</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 money spent for 2Q having candidate of john mccain ### Context: CREATE TABLE table_name_84 (money_spent VARCHAR, _2q VARCHAR, candidate VARCHAR) ### Response: ### Response: SELECT money_spent, _2q FROM table_name_84 WHERE candidate = "john mccain"</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 ERP W is the highest one that has a Frequency MHz larger than 88.3, and a City of license of lewis, kansas? ### Context: CREATE TABLE table_name_9 (erp_w INTEGER, frequency_mhz VARCHAR, city_of_license VARCHAR) ### Response: ### Response: SELECT MAX(erp_w) FROM table_name_9 WHERE frequency_mhz > 88.3 AND city_of_license = "lewis, kansas"</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 bronze medals were won when the total was larger than 2 and the more than 2 gold medals were won? ### Context: CREATE TABLE table_name_70 (bronze INTEGER, total VARCHAR, gold VARCHAR) ### Response: ### Response: SELECT SUM(bronze) FROM table_name_70 WHERE total > 2 AND gold > 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 greatest lost where played is less than 9? ### Context: CREATE TABLE table_name_51 (lost INTEGER, played INTEGER) ### Response: ### Response: SELECT MAX(lost) FROM table_name_51 WHERE played < 9</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 venue had an against score smaller than 18 when the opposing team was North Auckland? ### Context: CREATE TABLE table_name_84 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_84 WHERE against < 18 AND opposing_team = "north auckland"</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 largest vote result for the Huddersfield constituency? ### Context: CREATE TABLE table_25818630_1 (result___votes INTEGER, constituency VARCHAR) ### Response: ### Response: SELECT MAX(result___votes) FROM table_25818630_1 WHERE constituency = "Huddersfield"</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 Pick Number when the position was wide receiver, the college was Southern Miss with an overall less than 186? ### Context: CREATE TABLE table_name_54 (pick__number INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR) ### Response: ### Response: SELECT AVG(pick__number) FROM table_name_54 WHERE position = "wide receiver" AND college = "southern miss" AND overall < 186</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 venue on 7 october 2011? ### Context: CREATE TABLE table_name_11 (venue VARCHAR, date VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_11 WHERE date = "7 october 2011"</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 skip when Tony Angiboust was a lead? ### Context: CREATE TABLE table_name_40 (skip VARCHAR, lead VARCHAR) ### Response: ### Response: SELECT skip FROM table_name_40 WHERE lead = "tony angiboust"</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 name of the team that Tulip Computers NV sponsors? ### Context: CREATE TABLE table_name_99 (team VARCHAR, shirt_sponsor VARCHAR) ### Response: ### Response: SELECT team FROM table_name_99 WHERE shirt_sponsor = "tulip computers nv"</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 Date, when Game is "65"? ### Context: CREATE TABLE table_name_6 (date VARCHAR, game VARCHAR) ### Response: ### Response: SELECT date FROM table_name_6 WHERE game = 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: How many games drawn when there are 78 losses and over 121 games played? ### Context: CREATE TABLE table_name_41 (drawn VARCHAR, lost VARCHAR, played VARCHAR) ### Response: ### Response: SELECT COUNT(drawn) FROM table_name_41 WHERE lost = 78 AND played > 121</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 Pick, when College is "Syracuse", and when Overall is less than 18? ### Context: CREATE TABLE table_name_40 (pick INTEGER, college VARCHAR, overall VARCHAR) ### Response: ### Response: SELECT MAX(pick) FROM table_name_40 WHERE college = "syracuse" AND overall < 18</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 different cities listed? ### Context: CREATE TABLE manufacturers (headquarter VARCHAR) ### Response: ### Response: SELECT DISTINCT headquarter FROM manufacturers</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 Opponent in the final has a Partner of dustin brown? ### Context: CREATE TABLE table_name_38 (opponent_in_the_final VARCHAR, partner VARCHAR) ### Response: ### Response: SELECT opponent_in_the_final FROM table_name_38 WHERE partner = "dustin brown"</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 preliminaries where evening gown is 8.988 ### Context: CREATE TABLE table_12094609_1 (preliminaries VARCHAR, evening_gown VARCHAR) ### Response: ### Response: SELECT preliminaries FROM table_12094609_1 WHERE evening_gown = "8.988"</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 of the final that has a score of 3–6, 6–3, 6–4 and penny barg paula smith was the opponent? ### Context: CREATE TABLE table_name_98 (date VARCHAR, score_in_the_final VARCHAR, opponents_in_the_final VARCHAR) ### Response: ### Response: SELECT date FROM table_name_98 WHERE score_in_the_final = "3–6, 6–3, 6–4" AND opponents_in_the_final = "penny barg paula smith"</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 pick for Bill Gramatica after round 2? ### Context: CREATE TABLE table_name_53 (pick VARCHAR, round VARCHAR, player VARCHAR) ### Response: ### Response: SELECT pick FROM table_name_53 WHERE round > 2 AND player = "bill gramatica"</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 largest roll with Years 1–8, a Name of dorie school, and a Decile larger than 9? ### Context: CREATE TABLE table_name_49 (roll INTEGER, decile VARCHAR, years VARCHAR, name VARCHAR) ### Response: ### Response: SELECT MAX(roll) FROM table_name_49 WHERE years = "1–8" AND name = "dorie school" AND decile > 9</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 years did Paul Griffin play for the Jazz? ### Context: CREATE TABLE table_11545282_7 (years_for_jazz VARCHAR, player VARCHAR) ### Response: ### Response: SELECT COUNT(years_for_jazz) FROM table_11545282_7 WHERE player = "Paul Griffin"</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 average number of League Goals for palyers with 0 FA Cup Goals? ### Context: CREATE TABLE table_name_26 (league_goals INTEGER, fa_cup_goals INTEGER) ### Response: ### Response: SELECT AVG(league_goals) FROM table_name_26 WHERE fa_cup_goals < 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 tournament when 2011 is qf and 2012 is sf? ### Context: CREATE TABLE table_name_42 (tournament VARCHAR) ### Response: ### Response: SELECT tournament FROM table_name_42 WHERE 2011 = "qf" AND 2012 = "sf"</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 top scorer where gf is 41? ### Context: CREATE TABLE table_1218784_1 (top_scorer VARCHAR, gf VARCHAR) ### Response: ### Response: SELECT top_scorer FROM table_1218784_1 WHERE gf = 41</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 silver medals does Belarus (blr) along with 4 gold and 4 bronze? ### Context: CREATE TABLE table_name_92 (silver INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR) ### Response: ### Response: SELECT SUM(silver) FROM table_name_92 WHERE gold = 4 AND nation = "belarus (blr)" AND bronze > 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: How many games have a record of 3-4-0? ### Context: CREATE TABLE table_21091162_1 (game INTEGER, record VARCHAR) ### Response: ### Response: SELECT MAX(game) FROM table_21091162_1 WHERE record = "3-4-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's the elevator of Jacques D'euse? ### Context: CREATE TABLE table_name_74 (elevator VARCHAR, elector VARCHAR) ### Response: ### Response: SELECT elevator FROM table_name_74 WHERE elector = "jacques d'euse"</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 district is represented by a Republican Appropriations Committee? ### Context: CREATE TABLE table_12679326_1 (district VARCHAR, party VARCHAR, committee VARCHAR) ### Response: ### Response: SELECT district FROM table_12679326_1 WHERE party = "Republican" AND committee = "Appropriations"</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 type of proposal is measure number 3? ### Context: CREATE TABLE table_256286_21 (type VARCHAR, meas_num VARCHAR) ### Response: ### Response: SELECT type FROM table_256286_21 WHERE meas_num = 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: Who is the away team for the game played on December 24, 1977? ### Context: CREATE TABLE table_name_78 (away_team VARCHAR, date VARCHAR) ### Response: ### Response: SELECT away_team FROM table_name_78 WHERE date = "december 24, 1977"</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 recnet when the city of license is peterborough? ### Context: CREATE TABLE table_name_68 (recnet VARCHAR, city_of_license VARCHAR) ### Response: ### Response: SELECT recnet FROM table_name_68 WHERE city_of_license = "peterborough"</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 name of award when the name of film is sana keithel? ### Context: CREATE TABLE table_25926120_7 (name_of_award VARCHAR, name_of_film VARCHAR) ### Response: ### Response: SELECT name_of_award FROM table_25926120_7 WHERE name_of_film = "Sana Keithel"</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 career that has test larger than 41, catches over 33, and a total dismissals rate of 147? ### Context: CREATE TABLE table_name_46 (test_career VARCHAR, total_dismissals VARCHAR, tests VARCHAR, catches VARCHAR) ### Response: ### Response: SELECT test_career FROM table_name_46 WHERE tests > 41 AND catches > 33 AND total_dismissals = 147</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's the character when Margot Boyd was acting? ### Context: CREATE TABLE table_name_34 (character VARCHAR, actor VARCHAR) ### Response: ### Response: SELECT character FROM table_name_34 WHERE actor = "margot boyd"</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 original title, Franciska Vasárnapjai (hungarian), had an Episode Actor role which was Directed by Géza Bereményi? ### Context: CREATE TABLE table_name_48 (genre VARCHAR, role VARCHAR, original_title VARCHAR) ### Response: ### Response: SELECT genre FROM table_name_48 WHERE role = "episode actor" AND original_title = "franciska vasárnapjai (hungarian)"</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 lowest games have a Goal Ratio of 0, and Goals smaller than 0? ### Context: CREATE TABLE table_name_87 (games INTEGER, goal_ratio VARCHAR, goals VARCHAR) ### Response: ### Response: SELECT MIN(games) FROM table_name_87 WHERE goal_ratio = 0 AND goals < 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: On average, how many wins have a rank lower than 1? ### Context: CREATE TABLE table_name_14 (wins INTEGER, rank INTEGER) ### Response: ### Response: SELECT AVG(wins) FROM table_name_14 WHERE rank < 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 was Dom Joly famous for? ### Context: CREATE TABLE table_name_32 (famous_for VARCHAR, celebrity VARCHAR) ### Response: ### Response: SELECT famous_for FROM table_name_32 WHERE celebrity = "dom joly"</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 music for choreographer sabina dalfjäll? ### Context: CREATE TABLE table_name_23 (music VARCHAR, choreographer_s_ VARCHAR) ### Response: ### Response: SELECT music FROM table_name_23 WHERE choreographer_s_ = "sabina dalfjäll"</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 Outcome has a Score in the final of 1–6, 6–4, 7–5? ### Context: CREATE TABLE table_name_61 (outcome VARCHAR, score_in_the_final VARCHAR) ### Response: ### Response: SELECT outcome FROM table_name_61 WHERE score_in_the_final = "1–6, 6–4, 7–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: Where is the transmitter located for the station voice of vietnam ### Context: CREATE TABLE table_name_87 (transmitter_location VARCHAR, station VARCHAR) ### Response: ### Response: SELECT transmitter_location FROM table_name_87 WHERE station = "voice of vietnam"</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 name of dorms that do not have any amenity ### Context: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dorm_name VARCHAR, dormid VARCHAR) ### Response: ### Response: SELECT dorm_name FROM dorm WHERE NOT dormid IN (SELECT dormid FROM has_amenity)</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 Theme when Fontella Bass was the original artist? ### Context: CREATE TABLE table_name_73 (theme VARCHAR, original_artist VARCHAR) ### Response: ### Response: SELECT theme FROM table_name_73 WHERE original_artist = "fontella bass"</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 total number of rebounds on november 27? ### Context: CREATE TABLE table_22822559_4 (high_rebounds VARCHAR, date VARCHAR) ### Response: ### Response: SELECT COUNT(high_rebounds) FROM table_22822559_4 WHERE date = "November 27"</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 filter when the wavelength is 222mm (k-band)? ### Context: CREATE TABLE table_2583036_1 (filter VARCHAR, wavelength VARCHAR) ### Response: ### Response: SELECT filter FROM table_2583036_1 WHERE wavelength = "222mm (K-band)"</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 1st leg have team 1 ofk belgrade? ### Context: CREATE TABLE table_19294812_2 (team_1 VARCHAR) ### Response: ### Response: SELECT COUNT(1 AS st_leg) FROM table_19294812_2 WHERE team_1 = "OFK Belgrade"</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 place ranking for the player from Australia? ### Context: CREATE TABLE table_name_43 (place VARCHAR, country VARCHAR) ### Response: ### Response: SELECT place FROM table_name_43 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: Which Coach has a Most Improved of rory thompson? ### Context: CREATE TABLE table_name_75 (coach VARCHAR, most_improved VARCHAR) ### Response: ### Response: SELECT coach FROM table_name_75 WHERE most_improved = "rory thompson"</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 attendance when they played the New Orleans Saints? ### Context: CREATE TABLE table_name_93 (attendance VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_93 WHERE opponent = "new orleans saints"</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 dxzb-tv is the call sign what is the power kw? ### Context: CREATE TABLE table_23394920_1 (power_kw VARCHAR, callsign VARCHAR) ### Response: ### Response: SELECT power_kw FROM table_23394920_1 WHERE callsign = "DXZB-TV"</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 points did the away team score at Arden Street Oval? ### Context: CREATE TABLE table_name_59 (away_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT away_team AS score FROM table_name_59 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: What type has 5 as the quantity? ### Context: CREATE TABLE table_name_26 (type VARCHAR, quantity VARCHAR) ### Response: ### Response: SELECT type FROM table_name_26 WHERE quantity = 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 were the points for a team that 414 points against? ### Context: CREATE TABLE table_name_52 (points_for VARCHAR, points_against VARCHAR) ### Response: ### Response: SELECT points_for FROM table_name_52 WHERE points_against = "414"</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 quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons? ### Context: CREATE TABLE table_name_72 (quantity INTEGER, manufacturer VARCHAR, gwr_nos VARCHAR) ### Response: ### Response: SELECT MIN(quantity) FROM table_name_72 WHERE manufacturer = "peckett and sons" AND gwr_nos = "696, 779, 93 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 is the total number of overall picks that were after pick 9 and went to Auburn College? ### Context: CREATE TABLE table_name_48 (overall VARCHAR, college VARCHAR, pick VARCHAR) ### Response: ### Response: SELECT COUNT(overall) FROM table_name_48 WHERE college = "auburn" AND pick > 9</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 location and attendance at the game where the final score is w 118-112? ### Context: CREATE TABLE table_17382360_9 (location_attendance VARCHAR, score VARCHAR) ### Response: ### Response: SELECT location_attendance FROM table_17382360_9 WHERE score = "W 118-112"</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: For what nation is the gold medals 0, and the bronze medals less than 1? ### Context: CREATE TABLE table_name_28 (nation VARCHAR, gold VARCHAR, bronze VARCHAR) ### Response: ### Response: SELECT nation FROM table_name_28 WHERE gold = 0 AND bronze < 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 place for ireland? ### Context: CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR) ### Response: ### Response: SELECT place FROM table_name_64 WHERE country = "ireland"</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 total number of poles and 63 points? ### Context: CREATE TABLE table_name_66 (poles VARCHAR, points VARCHAR) ### Response: ### Response: SELECT COUNT(poles) FROM table_name_66 WHERE points = "63"</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 location and attendance for the game after game 36 against Atlanta? ### Context: CREATE TABLE table_name_1 (location_attendance VARCHAR, game VARCHAR, team VARCHAR) ### Response: ### Response: SELECT location_attendance FROM table_name_1 WHERE game > 36 AND team = "atlanta"</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 long with an avg/G more than -2.2 and a total name and a gain of more than 2,488? ### Context: CREATE TABLE table_name_60 (long INTEGER, gain VARCHAR, avg_g VARCHAR, name VARCHAR) ### Response: ### Response: SELECT MIN(long) FROM table_name_60 WHERE avg_g > -2.2 AND name = "total" AND gain > 2 OFFSET 488</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 earliest round that Purdue had a pick larger than 10? ### Context: CREATE TABLE table_name_16 (round INTEGER, college VARCHAR, pick VARCHAR) ### Response: ### Response: SELECT MIN(round) FROM table_name_16 WHERE college = "purdue" AND pick > 10</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 total number of high points on January 21? ### Context: CREATE TABLE table_17323092_6 (high_points VARCHAR, date VARCHAR) ### Response: ### Response: SELECT COUNT(high_points) FROM table_17323092_6 WHERE date = "January 21"</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 High assists for march 25? ### Context: CREATE TABLE table_name_69 (high_assists VARCHAR, date VARCHAR) ### Response: ### Response: SELECT high_assists FROM table_name_69 WHERE date = "march 25"</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 largest crowd that attended a game at junction oval? ### Context: CREATE TABLE table_name_36 (crowd INTEGER, venue VARCHAR) ### Response: ### Response: SELECT MAX(crowd) FROM table_name_36 WHERE venue = "junction 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: What episode number was written by Anthony Sparks? ### Context: CREATE TABLE table_25851971_1 (no INTEGER, written_by VARCHAR) ### Response: ### Response: SELECT MIN(no) FROM table_25851971_1 WHERE written_by = "Anthony Sparks"</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 Slalom was Switzerland in? ### Context: CREATE TABLE table_name_2 (slalom VARCHAR, country VARCHAR) ### Response: ### Response: SELECT slalom FROM table_name_2 WHERE country = "switzerland"</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: Show the name and phone of the customer without any mailshot. ### Context: CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR) ### Response: ### Response: SELECT customer_name, customer_phone FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM mailshot_customers)</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 listed Status that has the Province of Ontario and Rank of 86? ### Context: CREATE TABLE table_name_19 (status VARCHAR, province VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT status FROM table_name_19 WHERE province = "ontario" AND rank = 86</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 to par for Fred Couples when the score is 68-66=134? ### Context: CREATE TABLE table_name_74 (to_par VARCHAR, player VARCHAR, score VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_74 WHERE score = 68 - 66 = 134 AND player = "fred couples"</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 earliest year that Târlea took 7th place? ### Context: CREATE TABLE table_name_6 (year INTEGER, position VARCHAR) ### Response: ### Response: SELECT MIN(year) FROM table_name_6 WHERE position = "7th"</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 manager for FMC Corporation pension fund? ### Context: CREATE TABLE table_name_3 (manager VARCHAR, fund VARCHAR) ### Response: ### Response: SELECT manager FROM table_name_3 WHERE fund = "fmc corporation pension fund"</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 gas companies are there? ### Context: CREATE TABLE company (Id VARCHAR) ### Response: ### Response: SELECT COUNT(*) FROM company</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 smallest pick number for McGill? ### Context: CREATE TABLE table_21321804_5 (pick__number INTEGER, college VARCHAR) ### Response: ### Response: SELECT MIN(pick__number) FROM table_21321804_5 WHERE college = "McGill"</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: On which dates was the value of Bada 0.05%? ### Context: CREATE TABLE table_11381701_3 (date VARCHAR, bada VARCHAR) ### Response: ### Response: SELECT date FROM table_11381701_3 WHERE bada = "0.05%"</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 young rider classification when Diego Ulissi won? ### Context: CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR) ### Response: ### Response: SELECT COUNT(young_rider_classification) FROM table_28538368_2 WHERE winner = "Diego Ulissi"</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 total passengers 2008 with change 2008/09 being 6.5% ### Context: CREATE TABLE table_13836704_4 (total_passengers_2008 VARCHAR, change_2008_09 VARCHAR) ### Response: ### Response: SELECT total_passengers_2008 FROM table_13836704_4 WHERE change_2008_09 = "6.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: Tell me the highest laps for toyota and grid of 13 ### Context: CREATE TABLE table_name_56 (laps INTEGER, constructor VARCHAR, grid VARCHAR) ### Response: ### Response: SELECT MAX(laps) FROM table_name_56 WHERE constructor = "toyota" AND grid = 13</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 alternate for the team for which Monika Wagner is the third? ### Context: CREATE TABLE table_name_60 (alternate VARCHAR, third VARCHAR) ### Response: ### Response: SELECT alternate FROM table_name_60 WHERE third = "monika wagner"</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 Heat & Lane is the person who has a time of 1:01.12? ### Context: CREATE TABLE table_name_72 (heat_ VARCHAR, _lane VARCHAR, time VARCHAR) ### Response: ### Response: SELECT heat_ & _lane FROM table_name_72 WHERE time = "1:01.12"</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 patent number when it was mutated from Yakata 7001 and a standard habit? ### Context: CREATE TABLE table_name_63 (plant_patent_number VARCHAR, habit VARCHAR, mutated_from VARCHAR) ### Response: ### Response: SELECT plant_patent_number FROM table_name_63 WHERE habit = "standard" AND mutated_from = "yakata 7001"</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 draws did clitheroe have when their position was less than 12 and they lost less than 4 times? ### Context: CREATE TABLE table_name_76 (drawn INTEGER, lost VARCHAR, position VARCHAR, team VARCHAR) ### Response: ### Response: SELECT SUM(drawn) FROM table_name_76 WHERE position < 12 AND team = "clitheroe" AND lost > 4</s>