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: Which team had fewer than 167 points in the 250cc class? ### Context: CREATE TABLE table_name_72 (team VARCHAR, points VARCHAR, class VARCHAR) ### Response: ### Response: SELECT team FROM table_name_72 WHERE points < 167 AND class = "250cc"</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 total number of seats for votes % more than 19.5 ### Context: CREATE TABLE table_name_89 (seats VARCHAR, vote__percentage INTEGER) ### Response: ### Response: SELECT COUNT(seats) FROM table_name_89 WHERE vote__percentage > 19.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 transfer window of the player moving to Panionios? ### Context: CREATE TABLE table_name_97 (transfer_window VARCHAR, moving_to VARCHAR) ### Response: ### Response: SELECT transfer_window FROM table_name_97 WHERE moving_to = "panionios"</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 event has european championships as the tournament, with 2006 as the year? ### Context: CREATE TABLE table_name_61 (event VARCHAR, tournament VARCHAR, year VARCHAR) ### Response: ### Response: SELECT event FROM table_name_61 WHERE tournament = "european championships" AND year = 2006</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 years at the club of the player with 2 goals and was born on 23 July 1910? ### Context: CREATE TABLE table_name_63 (years_at_club VARCHAR, goals VARCHAR, date_of_birth VARCHAR) ### Response: ### Response: SELECT years_at_club FROM table_name_63 WHERE goals = 2 AND date_of_birth = "23 july 1910"</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 home team when the tie is 11? ### Context: CREATE TABLE table_name_40 (home_team VARCHAR, tie_no VARCHAR) ### Response: ### Response: SELECT home_team FROM table_name_40 WHERE tie_no = "11"</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 Position has a Level of tier 3 and a Season smaller than 1999? ### Context: CREATE TABLE table_name_38 (position VARCHAR, level VARCHAR, season VARCHAR) ### Response: ### Response: SELECT position FROM table_name_38 WHERE level = "tier 3" AND season < 1999</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 Polish Cup, when Position is "Midfielder", when Player is "Miroslav Radović", and when Ekstraklasa is less than 1? ### Context: CREATE TABLE table_name_47 (polish_cup INTEGER, ekstraklasa VARCHAR, position VARCHAR, player VARCHAR) ### Response: ### Response: SELECT MIN(polish_cup) FROM table_name_47 WHERE position = "midfielder" AND player = "miroslav radović" AND ekstraklasa < 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: How many prizes were available when Jenny Shin became the champion? ### Context: CREATE TABLE table_15315276_1 (purse__ VARCHAR, champion VARCHAR) ### Response: ### Response: SELECT COUNT(purse__) AS $_ FROM table_15315276_1 WHERE champion = "Jenny Shin"</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 incumbent Milton H. West? ### Context: CREATE TABLE table_1342218_43 (result VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT result FROM table_1342218_43 WHERE incumbent = "Milton H. West"</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 Score points has a Rank points of defending champion? ### Context: CREATE TABLE table_name_80 (score_points VARCHAR, rank_points VARCHAR) ### Response: ### Response: SELECT score_points FROM table_name_80 WHERE rank_points = "defending champion"</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 English has Dutch of maken? ### Context: CREATE TABLE table_name_37 (english VARCHAR, dutch VARCHAR) ### Response: ### Response: SELECT english FROM table_name_37 WHERE dutch = "maken"</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 club has a try bonus of 9 and 43 tries against? ### Context: CREATE TABLE table_name_38 (club VARCHAR, tries_against VARCHAR, try_bonus VARCHAR) ### Response: ### Response: SELECT club FROM table_name_38 WHERE tries_against = "43" AND try_bonus = "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 SANSKRT has a CHINESE of 摩拏羅 / mónáluó? ### Context: CREATE TABLE table_name_76 (sanskrt VARCHAR, chinese VARCHAR) ### Response: ### Response: SELECT sanskrt FROM table_name_76 WHERE chinese = "摩拏羅 / mónáluó"</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 tries for does waunarlwydd rfc have ? ### Context: CREATE TABLE table_name_2 (tries_for VARCHAR, club VARCHAR) ### Response: ### Response: SELECT tries_for FROM table_name_2 WHERE club = "waunarlwydd rfc"</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 result of the game on May 14? ### Context: CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR) ### Response: ### Response: SELECT result FROM table_name_49 WHERE date = "may 14"</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 points when the ranking is 1st? ### Context: CREATE TABLE table_name_60 (points INTEGER, rank VARCHAR) ### Response: ### Response: SELECT MIN(points) FROM table_name_60 WHERE rank = "1st"</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 associated with Bronzes over 35? ### Context: CREATE TABLE table_name_15 (total VARCHAR, bronze INTEGER) ### Response: ### Response: SELECT total FROM table_name_15 WHERE bronze > 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 platform sold 11.18 million units? ### Context: CREATE TABLE table_18590048_1 (platform VARCHAR, units_sold__in_millions_ VARCHAR) ### Response: ### Response: SELECT platform FROM table_18590048_1 WHERE units_sold__in_millions_ = "11.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 is Call Sign, when City of License is Brownfield, Texas? ### Context: CREATE TABLE table_name_51 (call_sign VARCHAR, city_of_license VARCHAR) ### Response: ### Response: SELECT call_sign FROM table_name_51 WHERE city_of_license = "brownfield, texas"</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 team that has a High rebounds of popeye jones (14), and when the Record was 16-28? ### Context: CREATE TABLE table_name_86 (team VARCHAR, high_rebounds VARCHAR, record VARCHAR) ### Response: ### Response: SELECT team FROM table_name_86 WHERE high_rebounds = "popeye jones (14)" AND record = "16-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: What is the total number of votes Sahlene with a place below 1 has? ### Context: CREATE TABLE table_name_4 (votes VARCHAR, artist VARCHAR, place VARCHAR) ### Response: ### Response: SELECT COUNT(votes) FROM table_name_4 WHERE artist = "sahlene" AND place > 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 sum of Overall, when Pick is greater than 5, when Round is less than 11, and when Name is "Tom Barrington"? ### Context: CREATE TABLE table_name_69 (overall INTEGER, name VARCHAR, pick VARCHAR, round VARCHAR) ### Response: ### Response: SELECT SUM(overall) FROM table_name_69 WHERE pick > 5 AND round < 11 AND name = "tom barrington"</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 grid for the +2.2 secs time/retired? ### Context: CREATE TABLE table_name_44 (grid INTEGER, time_retired VARCHAR) ### Response: ### Response: SELECT AVG(grid) FROM table_name_44 WHERE time_retired = "+2.2 secs"</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 when the Yugoslavia number of silver won is more than 1? ### Context: CREATE TABLE table_name_32 (total INTEGER, silver VARCHAR, nation VARCHAR) ### Response: ### Response: SELECT MAX(total) FROM table_name_32 WHERE silver > 1 AND nation = "yugoslavia"</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 Score, when Date is "2000-05-23"? ### Context: CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_name_93 WHERE date = "2000-05-23"</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 record has loss as the res., 1 for the round, and akira maeda as the opponent? ### Context: CREATE TABLE table_name_9 (record VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR) ### Response: ### Response: SELECT record FROM table_name_9 WHERE res = "loss" AND round = "1" AND opponent = "akira maeda"</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 clubs had 556 points against? ### Context: CREATE TABLE table_name_75 (club VARCHAR, points_against VARCHAR) ### Response: ### Response: SELECT club FROM table_name_75 WHERE points_against = "556"</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 stadiums are not in country "Russia"? ### Context: CREATE TABLE stadium (country VARCHAR) ### Response: ### Response: SELECT COUNT(*) FROM stadium WHERE country <> 'Russia'</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 Ranking Round Rank for Russia with a Final Rank over 11? ### Context: CREATE TABLE table_name_3 (ranking_round_rank INTEGER, nation VARCHAR, final_rank VARCHAR) ### Response: ### Response: SELECT MAX(ranking_round_rank) FROM table_name_3 WHERE nation = "russia" AND final_rank > 11</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 played 44 games who averaged over 2.07 goals against? ### Context: CREATE TABLE table_name_88 (player VARCHAR, goals_against_average VARCHAR, games_played VARCHAR) ### Response: ### Response: SELECT player FROM table_name_88 WHERE goals_against_average > 2.07 AND games_played = 44</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 least Top-5 when 1 is the cuts made? ### Context: CREATE TABLE table_name_36 (top_5 INTEGER, cuts_made VARCHAR) ### Response: ### Response: SELECT MIN(top_5) FROM table_name_36 WHERE cuts_made = 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 most amount of ministries? ### Context: CREATE TABLE table_21422977_1 (ministries INTEGER) ### Response: ### Response: SELECT MAX(ministries) FROM table_21422977_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 team Sussex' highest score? ### Context: CREATE TABLE table_27268238_4 (highest_score VARCHAR, team VARCHAR) ### Response: ### Response: SELECT highest_score FROM table_27268238_4 WHERE team = "Sussex"</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 coach who had 215 losses? ### Context: CREATE TABLE table_name_33 (coach VARCHAR, losses VARCHAR) ### Response: ### Response: SELECT coach FROM table_name_33 WHERE losses = 215</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 against did the club with points have? ### Context: CREATE TABLE table_name_21 (Id VARCHAR) ### Response: ### Response: SELECT "points" AS _against FROM table_name_21 WHERE "points" = "points"</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 days were the Kansas City Chiefs the opposing team? ### Context: CREATE TABLE table_14563349_11 (date VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT COUNT(date) FROM table_14563349_11 WHERE opponent = "Kansas City Chiefs"</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 maxiumum for the first elected? ### Context: CREATE TABLE table_1342270_24 (first_elected INTEGER) ### Response: ### Response: SELECT MAX(first_elected) FROM table_1342270_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's the district with incumbent being richard j. welch ### Context: CREATE TABLE table_1342359_5 (district VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT district FROM table_1342359_5 WHERE incumbent = "Richard J. Welch"</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 format is catalogue 148615 in? ### Context: CREATE TABLE table_name_78 (format VARCHAR, catalogue VARCHAR) ### Response: ### Response: SELECT format FROM table_name_78 WHERE catalogue = "148615"</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 round did the bout against Jonatas Novaes end in? ### Context: CREATE TABLE table_name_36 (round VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT round FROM table_name_36 WHERE opponent = "jonatas novaes"</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 winning score of the Buy.com Siouxland Open? ### Context: CREATE TABLE table_name_57 (winning_score VARCHAR, tournament VARCHAR) ### Response: ### Response: SELECT winning_score FROM table_name_57 WHERE tournament = "buy.com siouxland open"</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 accreditation does Hollins University have? ### Context: CREATE TABLE table_2076608_1 (accreditation VARCHAR, school VARCHAR) ### Response: ### Response: SELECT accreditation FROM table_2076608_1 WHERE school = "Hollins University"</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 10/20/1979*, who was the Opponent? ### Context: CREATE TABLE table_name_59 (opponent VARCHAR, date VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_59 WHERE date = "10/20/1979*"</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 number killed in incident #14? ### Context: CREATE TABLE table_name_48 (killed INTEGER, incident_no VARCHAR) ### Response: ### Response: SELECT MAX(killed) FROM table_name_48 WHERE incident_no = "14"</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 atacama's percentage of solar panels? ### Context: CREATE TABLE table_25042332_26 (solar_panel VARCHAR, region VARCHAR) ### Response: ### Response: SELECT solar_panel FROM table_25042332_26 WHERE region = "Atacama"</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 ICAO when the IATA is ist? ### Context: CREATE TABLE table_name_34 (icao VARCHAR, iata VARCHAR) ### Response: ### Response: SELECT icao FROM table_name_34 WHERE iata = "ist"</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 party won with a margin of 105731? ### Context: CREATE TABLE table_22756549_1 (party VARCHAR, margin VARCHAR) ### Response: ### Response: SELECT party FROM table_22756549_1 WHERE margin = 105731</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 events took place in episode 12? ### Context: CREATE TABLE table_24051050_1 (events VARCHAR, episode VARCHAR) ### Response: ### Response: SELECT events FROM table_24051050_1 WHERE episode = 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: List all tracks bought by customer Daan Peeters. ### Context: CREATE TABLE invoices (id VARCHAR, customer_id VARCHAR); CREATE TABLE invoice_lines (track_id VARCHAR, invoice_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR) ### Response: ### Response: SELECT T1.name FROM tracks AS T1 JOIN invoice_lines AS T2 ON T1.id = T2.track_id JOIN invoices AS T3 ON T3.id = T2.invoice_id JOIN customers AS T4 ON T4.id = T3.customer_id WHERE T4.first_name = "Daan" AND T4.last_name = "Peeters"</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 distinct fate of missions that involve ships with nationality "United States" ### Context: CREATE TABLE mission (Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Ship_ID VARCHAR, Nationality VARCHAR) ### Response: ### Response: SELECT DISTINCT T1.Fate FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_ID WHERE T2.Nationality = "United States"</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: List the number of goals scored to equal 58. ### Context: CREATE TABLE table_18018214_2 (goals_conceded INTEGER, points VARCHAR) ### Response: ### Response: SELECT MIN(goals_conceded) FROM table_18018214_2 WHERE points = 58</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 nation won no bronze medals and a 1 medal total? ### Context: CREATE TABLE table_name_54 (nation VARCHAR, total VARCHAR, bronze VARCHAR) ### Response: ### Response: SELECT nation FROM table_name_54 WHERE total = 1 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: List the personal names and family names of all the students in alphabetical order of family name. ### Context: CREATE TABLE Students (personal_name VARCHAR, family_name VARCHAR) ### Response: ### Response: SELECT personal_name, family_name FROM Students ORDER BY family_name</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 week number with attendance of 44,132? ### Context: CREATE TABLE table_name_2 (week VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT COUNT(week) FROM table_name_2 WHERE attendance = 44 OFFSET 132</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 opening date has a capacity of 100? ### Context: CREATE TABLE table_name_53 (opening_date VARCHAR, capacity VARCHAR) ### Response: ### Response: SELECT opening_date FROM table_name_53 WHERE capacity = 100</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 Score, when Date is greater than 7, and when Game is "82"? ### Context: CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, game VARCHAR) ### Response: ### Response: SELECT score FROM table_name_29 WHERE date > 7 AND game = 82</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 14.85 kilometers squared is the land area what is the name? ### Context: CREATE TABLE table_189598_7 (name VARCHAR, land_area__km²_ VARCHAR) ### Response: ### Response: SELECT name FROM table_189598_7 WHERE land_area__km²_ = "14.85"</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 venue did group g play at on Mar 8, 1998? ### Context: CREATE TABLE table_name_42 (venue VARCHAR, stage VARCHAR, date VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_42 WHERE stage = "group g" AND date = "mar 8, 1998"</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 engine was used by Equipe Simca Gordini before 1956 with less than 4 points? ### Context: CREATE TABLE table_name_15 (engine VARCHAR, entrant VARCHAR, year VARCHAR, points VARCHAR) ### Response: ### Response: SELECT engine FROM table_name_15 WHERE year < 1956 AND points < 4 AND entrant = "equipe simca gordini"</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 away teams score at Glenferrie Oval? ### Context: CREATE TABLE table_name_92 (away_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT away_team AS score FROM table_name_92 WHERE venue = "glenferrie 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 player matched up with 9 ### Context: CREATE TABLE table_name_78 (player VARCHAR, matches VARCHAR) ### Response: ### Response: SELECT player FROM table_name_78 WHERE matches = "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 is the area km² for a population of 99,685 (2008)? ### Context: CREATE TABLE table_name_99 (area_km² VARCHAR, population VARCHAR) ### Response: ### Response: SELECT area_km² FROM table_name_99 WHERE population = "99,685 (2008)"</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 ist he matches where the player is ms dhoni? ### Context: CREATE TABLE table_24039597_26 (matches VARCHAR, player VARCHAR) ### Response: ### Response: SELECT matches FROM table_24039597_26 WHERE player = "MS Dhoni"</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 details and star ratings of the 3 least expensive hotels. ### Context: CREATE TABLE HOTELS (other_hotel_details VARCHAR, star_rating_code VARCHAR, price_range VARCHAR) ### Response: ### Response: SELECT other_hotel_details, star_rating_code FROM HOTELS ORDER BY price_range LIMIT 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: Which Venue has a crowd larger than 25,000? ### Context: CREATE TABLE table_name_83 (away_team VARCHAR, crowd INTEGER) ### Response: ### Response: SELECT away_team FROM table_name_83 WHERE crowd > 25 OFFSET 000</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 day was wayne brady performer 2, ryan stiles performer 4, and an episode number greater than 5? ### Context: CREATE TABLE table_name_78 (date VARCHAR, performer_2 VARCHAR, performer_4 VARCHAR, episode VARCHAR) ### Response: ### Response: SELECT date FROM table_name_78 WHERE performer_4 = "ryan stiles" AND episode > 5 AND performer_2 = "wayne brady"</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 no. 5 when Lena Claudisabel is no. 1 and Lena Sylvie is no. 2? ### Context: CREATE TABLE table_name_29 (no5 VARCHAR, no1 VARCHAR, no2 VARCHAR) ### Response: ### Response: SELECT no5 FROM table_name_29 WHERE no1 = "lena claudisabel" AND no2 = "lena sylvie"</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 when the Tie no is replay, and the away team is York City? ### Context: CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT score FROM table_name_43 WHERE tie_no = "replay" AND away_team = "york 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 most recent year gardnar mulloy played as a partner and score was 12–10, 8–10, 12–10, 6–2? ### Context: CREATE TABLE table_name_29 (year INTEGER, partner VARCHAR, score VARCHAR) ### Response: ### Response: SELECT MAX(year) FROM table_name_29 WHERE partner = "gardnar mulloy" AND score = "12–10, 8–10, 12–10, 6–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: Name the new entries this round for third round ### Context: CREATE TABLE table_19089486_1 (new_entries_this_round VARCHAR, round VARCHAR) ### Response: ### Response: SELECT new_entries_this_round FROM table_19089486_1 WHERE round = "Third round"</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 Goals conceded when there were more than 4 losses, less than 5 draws, and more than 9 wins? ### Context: CREATE TABLE table_name_47 (goals_conceded VARCHAR, wins VARCHAR, draws VARCHAR, loses VARCHAR) ### Response: ### Response: SELECT COUNT(goals_conceded) FROM table_name_47 WHERE draws < 5 AND loses > 4 AND wins > 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 saves were in the Georgia game, versus the Bulldogs, with a score of 7-6? ### Context: CREATE TABLE table_18025024_7 (save VARCHAR, score VARCHAR) ### Response: ### Response: SELECT save FROM table_18025024_7 WHERE score = "7-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 score for the game that is less than 4 and a high points of williams (28)? ### Context: CREATE TABLE table_name_40 (score VARCHAR, game VARCHAR, high_points VARCHAR) ### Response: ### Response: SELECT score FROM table_name_40 WHERE game < 4 AND high_points = "williams (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: Which Wednesday has a Sunday of གཟའ་ཉི་མ།? ### Context: CREATE TABLE table_name_16 (wednesday VARCHAR, sunday VARCHAR) ### Response: ### Response: SELECT wednesday FROM table_name_16 WHERE sunday = "གཟའ་ཉི་མ།"</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 class year was Vencie Glenn from? ### Context: CREATE TABLE table_22982552_9 (class_year INTEGER, player VARCHAR) ### Response: ### Response: SELECT MIN(class_year) FROM table_22982552_9 WHERE player = "Vencie Glenn"</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 built when s.r. number is less than 2033, lb&sc number is less than 18, notes is i2 and withdrawal is cannot handle non-empty timestamp argument! 1935? ### Context: CREATE TABLE table_name_48 (built VARCHAR, withdrawal VARCHAR, notes VARCHAR, sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR) ### Response: ### Response: SELECT built FROM table_name_48 WHERE sr_number < 2033 AND lb & sc_number < 18 AND notes = "i2" AND withdrawal = "cannot handle non-empty timestamp argument! 1935"</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 attended the game that was a Loss of k. gross (1-1)? ### Context: CREATE TABLE table_name_68 (attendance INTEGER, loss VARCHAR) ### Response: ### Response: SELECT MAX(attendance) FROM table_name_68 WHERE loss = "k. gross (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 was the total number of weeks on peak for the Ireland Albums Top 75 chart? ### Context: CREATE TABLE table_1160304_2 (weeks_on_peak VARCHAR, chart VARCHAR) ### Response: ### Response: SELECT COUNT(weeks_on_peak) FROM table_1160304_2 WHERE chart = "Ireland Albums Top 75"</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 population, name and leader of the country with the largest area? ### Context: CREATE TABLE country (Name VARCHAR, population VARCHAR, HeadOfState VARCHAR, SurfaceArea VARCHAR) ### Response: ### Response: SELECT Name, population, HeadOfState FROM country ORDER BY SurfaceArea 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 soap opera when the duration is 18 years and the character is miley byrne? ### Context: CREATE TABLE table_name_4 (soap_opera VARCHAR, duration VARCHAR, character VARCHAR) ### Response: ### Response: SELECT soap_opera FROM table_name_4 WHERE duration = "18 years" AND character = "miley byrne"</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 first year she played in the french open? ### Context: CREATE TABLE table_1920271_2 (year INTEGER, championship VARCHAR) ### Response: ### Response: SELECT MIN(year) FROM table_1920271_2 WHERE championship = "French Open"</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 college that has an overall larger than 187 and a round smaller than 7 for the defensive end position. ### Context: CREATE TABLE table_name_46 (college VARCHAR, position VARCHAR, overall VARCHAR, round VARCHAR) ### Response: ### Response: SELECT college FROM table_name_46 WHERE overall > 187 AND round < 7 AND position = "defensive end"</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 qualification with more than 585 laps? ### Context: CREATE TABLE table_name_16 (qual VARCHAR, laps VARCHAR) ### Response: ### Response: SELECT qual FROM table_name_16 WHERE laps = 585</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 pregame host was on espn and had taylor twellman color commentating? ### Context: CREATE TABLE table_17516922_1 (pregame_host VARCHAR, network VARCHAR, color_commentator VARCHAR) ### Response: ### Response: SELECT pregame_host FROM table_17516922_1 WHERE network = "ESPN" AND color_commentator = "Taylor Twellman"</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 times was the incumbent mike capuano ### Context: CREATE TABLE table_1341395_22 (result VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT COUNT(result) FROM table_1341395_22 WHERE incumbent = "Mike Capuano"</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 elevator when elevated is May 16, 1288, and cardinalatial title shows Deacon of S. Adriano? ### Context: CREATE TABLE table_name_21 (elevator VARCHAR, elevated VARCHAR, cardinalatial_title VARCHAR) ### Response: ### Response: SELECT elevator FROM table_name_21 WHERE elevated = "may 16, 1288" AND cardinalatial_title = "deacon of s. adriano"</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 nominative has mis as the dative? ### Context: CREATE TABLE table_name_91 (nominative VARCHAR, dative VARCHAR) ### Response: ### Response: SELECT nominative FROM table_name_91 WHERE dative = "mis"</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 points for count for the club with 41 points and 8 won games? ### Context: CREATE TABLE table_12886178_4 (points_for VARCHAR, points VARCHAR, won VARCHAR) ### Response: ### Response: SELECT points_for FROM table_12886178_4 WHERE points = "41" AND won = "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: What is the Outcome of the jounieh tournament? ### Context: CREATE TABLE table_name_73 (outcome VARCHAR, tournament VARCHAR) ### Response: ### Response: SELECT outcome FROM table_name_73 WHERE tournament = "jounieh"</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 country when the base is ljubljana? ### Context: CREATE TABLE table_name_67 (country VARCHAR, base VARCHAR) ### Response: ### Response: SELECT country FROM table_name_67 WHERE base = "ljubljana"</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 points with a Team with boston? ### Context: CREATE TABLE table_name_95 (high_points VARCHAR, team VARCHAR) ### Response: ### Response: SELECT high_points FROM table_name_95 WHERE team = "boston"</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 school with the location of alexandria? ### Context: CREATE TABLE table_name_58 (school VARCHAR, location VARCHAR) ### Response: ### Response: SELECT school FROM table_name_58 WHERE location = "alexandria"</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 Time of Driver Jan Heylen (r)? ### Context: CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR) ### Response: ### Response: SELECT time_retired FROM table_name_44 WHERE driver = "jan heylen (r)"</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 title of the episode with the original air date October 21, 1998? ### Context: CREATE TABLE table_2618152_1 (title VARCHAR, original_air_date VARCHAR) ### Response: ### Response: SELECT title FROM table_2618152_1 WHERE original_air_date = "October 21, 1998"</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 incumbent when the elected year is 2004, the status is re-elected and the party is republican? ### Context: CREATE TABLE table_26416704_1 (incumbent VARCHAR, party VARCHAR, elected VARCHAR, status VARCHAR) ### Response: ### Response: SELECT incumbent FROM table_26416704_1 WHERE elected = "2004" AND status = "Re-elected" AND party = "Republican"</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 Orangemen score in game 1? ### Context: CREATE TABLE table_23346983_1 (orangemen_points INTEGER, game VARCHAR) ### Response: ### Response: SELECT MAX(orangemen_points) FROM table_23346983_1 WHERE game = 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 lowest pick when the School is Stanford University? ### Context: CREATE TABLE table_name_96 (pick INTEGER, school VARCHAR) ### Response: ### Response: SELECT MIN(pick) FROM table_name_96 WHERE school = "stanford university"</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 club has a play of 22, and losing bonus of 7? ### Context: CREATE TABLE table_name_38 (club VARCHAR, played VARCHAR, losing_bonus VARCHAR) ### Response: ### Response: SELECT club FROM table_name_38 WHERE played = "22" AND losing_bonus = "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 latest season where Al Ahly is the runners-up? ### Context: CREATE TABLE table_name_94 (season INTEGER, runners_up VARCHAR) ### Response: ### Response: SELECT MAX(season) FROM table_name_94 WHERE runners_up = "al ahly"</s>