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: Find the number of scientists who are not assigned to any project. ### Context: CREATE TABLE AssignedTo (ssn VARCHAR, scientist VARCHAR); CREATE TABLE scientists (ssn VARCHAR, scientist VARCHAR) ### Response: ### Response: SELECT COUNT(*) FROM scientists WHERE NOT ssn IN (SELECT scientist FROM AssignedTo)</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points against for the ystradgynlais rfc club? ### Context: CREATE TABLE table_name_58 (points_against VARCHAR, club VARCHAR) ### Response: ### Response: SELECT points_against FROM table_name_58 WHERE club = "ystradgynlais 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 earliest last year with a yr plyf less than 0? ### Context: CREATE TABLE table_name_97 (last_yr INTEGER, yr_plyf INTEGER) ### Response: ### Response: SELECT MIN(last_yr) FROM table_name_97 WHERE yr_plyf < 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 year was incumbent joe b. bates first elected? ### Context: CREATE TABLE table_1342233_17 (first_elected VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT first_elected FROM table_1342233_17 WHERE incumbent = "Joe B. Bates"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of record for 12 cowboys points ### Context: CREATE TABLE table_22815259_1 (record VARCHAR, cowboys_points VARCHAR) ### Response: ### Response: SELECT COUNT(record) FROM table_22815259_1 WHERE cowboys_points = 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: How many years as tallest building was the Tenth Presbyterian Church? ### Context: CREATE TABLE table_name_78 (years_as_tallest VARCHAR, name VARCHAR) ### Response: ### Response: SELECT years_as_tallest FROM table_name_78 WHERE name = "tenth presbyterian church"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the Outcome on 13 november 2006? ### Context: CREATE TABLE table_name_44 (outcome VARCHAR, date VARCHAR) ### Response: ### Response: SELECT outcome FROM table_name_44 WHERE date = "13 november 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 position for the player from the Alba Berlin club who is taller than 1.96 and whose ear born (Age) is july 23, 1985 (age28)? ### Context: CREATE TABLE table_name_77 (position VARCHAR, year_born__age_ VARCHAR, current_club VARCHAR, height VARCHAR) ### Response: ### Response: SELECT position FROM table_name_77 WHERE current_club = "alba berlin" AND height > 1.96 AND year_born__age_ = "july 23, 1985 (age28)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Name has an Average of 48.83? ### Context: CREATE TABLE table_name_47 (name VARCHAR, average VARCHAR) ### Response: ### Response: SELECT name FROM table_name_47 WHERE average = 48.83</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lost for span 2006- when conv is 0? ### Context: CREATE TABLE table_name_63 (lost VARCHAR, conv VARCHAR, span VARCHAR) ### Response: ### Response: SELECT lost FROM table_name_63 WHERE conv = "0" AND span = "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 sum of the area values for districts having density over 462 and websites of http://krishna.nic.in/? ### Context: CREATE TABLE table_name_19 (area__km²_ INTEGER, density___km²_ VARCHAR, official_website VARCHAR) ### Response: ### Response: SELECT SUM(area__km²_) FROM table_name_19 WHERE density___km²_ > 462 AND official_website = "http://krishna.nic.in/"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was from Great Britain in lanes under number 3? ### Context: CREATE TABLE table_name_1 (name VARCHAR, lane VARCHAR, nationality VARCHAR) ### Response: ### Response: SELECT name FROM table_name_1 WHERE lane < 3 AND nationality = "great britain"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 extra has world championships as the tournament, and 1st as the result? ### Context: CREATE TABLE table_name_2 (extra VARCHAR, tournament VARCHAR, result VARCHAR) ### Response: ### Response: SELECT extra FROM table_name_2 WHERE tournament = "world championships" AND result = "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 largest number of seats with more than 32 of a MCI make? ### Context: CREATE TABLE table_name_24 (number_of_seats INTEGER, make VARCHAR, quantity VARCHAR) ### Response: ### Response: SELECT MAX(number_of_seats) FROM table_name_24 WHERE make = "mci" AND quantity > 32</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which parish has an area of 750.51? ### Context: CREATE TABLE table_name_46 (official_name VARCHAR, area_km_2 VARCHAR) ### Response: ### Response: SELECT official_name FROM table_name_46 WHERE area_km_2 = 750.51</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Give me the times and numbers of all trains that go to Chennai, ordered by time. ### Context: CREATE TABLE train (TIME VARCHAR, train_number VARCHAR, destination VARCHAR) ### Response: ### Response: SELECT TIME, train_number FROM train WHERE destination = 'Chennai' ORDER BY TIME</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of silver medals for a nation with fewer than 1 total medals? ### Context: CREATE TABLE table_name_1 (silver INTEGER, total INTEGER) ### Response: ### Response: SELECT MIN(silver) FROM table_name_1 WHERE total < 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 surface type during the match with the score of 6–4, 7–6 (7-5)?? ### Context: CREATE TABLE table_name_54 (surface VARCHAR, score VARCHAR) ### Response: ### Response: SELECT surface FROM table_name_54 WHERE score = "6–4, 7–6 (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: On what dates did the draw at the Antigua Recreation Ground happen? ### Context: CREATE TABLE table_name_25 (date VARCHAR, result VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT date FROM table_name_25 WHERE result = "draw" AND venue = "antigua recreation ground"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Pete Conrad was on the Apollo 12 mission but also had what Lunar EVA dates? ### Context: CREATE TABLE table_name_27 (lunar_eva_dates VARCHAR, mission VARCHAR, name VARCHAR) ### Response: ### Response: SELECT lunar_eva_dates FROM table_name_27 WHERE mission = "apollo 12" AND name = "pete conrad"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 IATA for Gatwick airport? ### Context: CREATE TABLE table_name_79 (iata VARCHAR, airport VARCHAR) ### Response: ### Response: SELECT iata FROM table_name_79 WHERE airport = "gatwick airport"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Japanese title with an average rating of 11.6%? ### Context: CREATE TABLE table_18540104_1 (japanese_title VARCHAR, average_ratings VARCHAR) ### Response: ### Response: SELECT japanese_title FROM table_18540104_1 WHERE average_ratings = "11.6%"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the gloss for [χdəm] ### Context: CREATE TABLE table_name_69 (gloss VARCHAR, pronunciation VARCHAR) ### Response: ### Response: SELECT gloss FROM table_name_69 WHERE pronunciation = "[χdəm]"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of game 33? ### Context: CREATE TABLE table_15780049_6 (score VARCHAR, game VARCHAR) ### Response: ### Response: SELECT score FROM table_15780049_6 WHERE game = 33</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 River Plate? ### Context: CREATE TABLE table_17282875_3 (team__number2 VARCHAR, team__number1 VARCHAR) ### Response: ### Response: SELECT team__number2 FROM table_17282875_3 WHERE team__number1 = "River Plate"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total number of moto2/250cc when country is united states ### Context: CREATE TABLE table_2889810_2 (moto2_250cc VARCHAR, country VARCHAR) ### Response: ### Response: SELECT COUNT(moto2_250cc) FROM table_2889810_2 WHERE country = "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: Who was the opposing team during the game in Zagreb? ### Context: CREATE TABLE table_name_80 (opponent VARCHAR, city VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_80 WHERE city = "zagreb"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points, when Series is Queensland Formula Ford Championship, and when Position is 1st? ### Context: CREATE TABLE table_name_40 (points VARCHAR, series VARCHAR, position VARCHAR) ### Response: ### Response: SELECT points FROM table_name_40 WHERE series = "queensland formula ford championship" AND position = "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: Who was the Original West End Cast when the irst US Tour Cast was lael van keuren? ### Context: CREATE TABLE table_name_55 (original_west_end_cast VARCHAR, first_us_tour_cast VARCHAR) ### Response: ### Response: SELECT original_west_end_cast FROM table_name_55 WHERE first_us_tour_cast = "lael van keuren"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Home has an Opponent of brøndby? ### Context: CREATE TABLE table_name_15 (home VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT home FROM table_name_15 WHERE opponent = "brøndby"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 HP winning team when the EP winning team was Hans Zereis and the GM winning team was Charles Gibson? ### Context: CREATE TABLE table_29225103_2 (hp_winning_team VARCHAR, ep_winning_team VARCHAR, gm_winning_team VARCHAR) ### Response: ### Response: SELECT hp_winning_team FROM table_29225103_2 WHERE ep_winning_team = "Hans Zereis" AND gm_winning_team = "Charles Gibson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home team played against St Kilda? ### Context: CREATE TABLE table_name_68 (home_team VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT home_team FROM table_name_68 WHERE away_team = "st kilda"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 countries have had eruptions of growth episodes in 1986? ### Context: CREATE TABLE table_1081235_1 (country VARCHAR, last_eruption_or_growth_episode VARCHAR) ### Response: ### Response: SELECT country FROM table_1081235_1 WHERE last_eruption_or_growth_episode = "1986"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 win % when John Gartin is coach, the crew is varsity 8+, and the year is 2005? ### Context: CREATE TABLE table_name_78 (win__percentage INTEGER, year VARCHAR, coach VARCHAR, crew VARCHAR) ### Response: ### Response: SELECT SUM(win__percentage) FROM table_name_78 WHERE coach = "john gartin" AND crew = "varsity 8+" AND year = "2005"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 City has the Bahawalpur Stags Team? ### Context: CREATE TABLE table_name_98 (city VARCHAR, team VARCHAR) ### Response: ### Response: SELECT city FROM table_name_98 WHERE team = "bahawalpur stags"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of the students who are in the position of striker and got a yes tryout decision. ### Context: CREATE TABLE tryout (pID VARCHAR, decision VARCHAR, pPos VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR) ### Response: ### Response: SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes' AND T2.pPos = 'striker'</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Date has a Score of 2–3, a Time of 20:30, and a Set 3 of 16–25? ### Context: CREATE TABLE table_name_38 (date VARCHAR, set_3 VARCHAR, score VARCHAR, time VARCHAR) ### Response: ### Response: SELECT date FROM table_name_38 WHERE score = "2–3" AND time = "20:30" AND set_3 = "16–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 are the average amount purchased and value purchased for the supplier who supplies the most products. ### Context: CREATE TABLE Product_Suppliers (total_amount_purchased INTEGER, total_value_purchased INTEGER, supplier_id VARCHAR) ### Response: ### Response: SELECT AVG(total_amount_purchased), AVG(total_value_purchased) FROM Product_Suppliers WHERE supplier_id = (SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id ORDER BY COUNT(*) 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 was the official ITV1 HD rating in millions for the episode that had an official ITV1 rating of 8.98 million? ### Context: CREATE TABLE table_27319183_5 (official_itv1_hd_rating__millions_ VARCHAR, official_itv1_rating__millions_ VARCHAR) ### Response: ### Response: SELECT official_itv1_hd_rating__millions_ FROM table_27319183_5 WHERE official_itv1_rating__millions_ = "8.98"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 record for february 25 ### Context: CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) ### Response: ### Response: SELECT record FROM table_name_26 WHERE date = "february 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: How many households have a median family income of $60,400? ### Context: CREATE TABLE table_name_15 (number_of_households VARCHAR, median_family_income VARCHAR) ### Response: ### Response: SELECT number_of_households FROM table_name_15 WHERE median_family_income = "$60,400"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score of the game which featured the gold coast blaze as the away team and the adelaide 36ers as the home team? ### Context: CREATE TABLE table_name_16 (score VARCHAR, away_team VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT score FROM table_name_16 WHERE away_team = "gold coast blaze" AND home_team = "adelaide 36ers"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 result of goal 4? ### Context: CREATE TABLE table_name_11 (result VARCHAR, goal VARCHAR) ### Response: ### Response: SELECT result FROM table_name_11 WHERE goal = 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 got 59.578 for Qual 1? ### Context: CREATE TABLE table_name_79 (name VARCHAR, qual_1 VARCHAR) ### Response: ### Response: SELECT name FROM table_name_79 WHERE qual_1 = "59.578"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Whats the name of segment D in the episode where segment A is tequila ### Context: CREATE TABLE table_15187735_16 (segment_d VARCHAR, segment_a VARCHAR) ### Response: ### Response: SELECT segment_d FROM table_15187735_16 WHERE segment_a = "Tequila"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What year was the winning race time 1:55:13? ### Context: CREATE TABLE table_17801022_1 (year INTEGER, race_time VARCHAR) ### Response: ### Response: SELECT MAX(year) FROM table_17801022_1 WHERE race_time = "1:55: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: Which average Against has Points of 6, and a Played smaller than 9? ### Context: CREATE TABLE table_name_65 (against INTEGER, points VARCHAR, played VARCHAR) ### Response: ### Response: SELECT AVG(against) FROM table_name_65 WHERE points = 6 AND 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 country has is Len Mattiace in T10 place? ### Context: CREATE TABLE table_name_54 (country VARCHAR, place VARCHAR, player VARCHAR) ### Response: ### Response: SELECT country FROM table_name_54 WHERE place = "t10" AND player = "len mattiace"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the number of races associated with Team ASM and 0 poles? ### Context: CREATE TABLE table_name_19 (races VARCHAR, poles VARCHAR, team VARCHAR) ### Response: ### Response: SELECT races FROM table_name_19 WHERE poles = "0" AND team = "asm"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 University students and adults have minimum diameter of Sakigawa for female gender? ### Context: CREATE TABLE table_name_86 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, specification VARCHAR, gender VARCHAR) ### Response: ### Response: SELECT university_students_and_adults__18yrs + _ FROM table_name_86 WHERE specification = "minimum diameter of sakigawa" AND gender = "female"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Bronze, when Silver is greater than 0, when Gold is greater than 3, and when Rank is 1? ### Context: CREATE TABLE table_name_75 (bronze VARCHAR, rank VARCHAR, silver VARCHAR, gold VARCHAR) ### Response: ### Response: SELECT COUNT(bronze) FROM table_name_75 WHERE silver > 0 AND gold > 3 AND 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 is Year(s) Won, when Finish is "T31", and when Player is "Nick Price"? ### Context: CREATE TABLE table_name_65 (year_s__won VARCHAR, finish VARCHAR, player VARCHAR) ### Response: ### Response: SELECT year_s__won FROM table_name_65 WHERE finish = "t31" AND player = "nick price"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 declination with NGC number larger than 5750 ### Context: CREATE TABLE table_name_80 (declination___j2000__ VARCHAR, ngc_number INTEGER) ### Response: ### Response: SELECT declination___j2000__ FROM table_name_80 WHERE ngc_number > 5750</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Copa Libertadores 1999 result for team grêmio, who did not qualify for Copa Conmebol 1999? ### Context: CREATE TABLE table_name_23 (copa_libertadores_1999 VARCHAR, copa_conmebol_1999 VARCHAR, team VARCHAR) ### Response: ### Response: SELECT copa_libertadores_1999 FROM table_name_23 WHERE copa_conmebol_1999 = "did not qualify" AND team = "grêmio"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 champion of the Philips Open with a runner-up of Javier Sánchez? ### Context: CREATE TABLE table_name_3 (champion VARCHAR, name VARCHAR, runner_up VARCHAR) ### Response: ### Response: SELECT champion FROM table_name_3 WHERE name = "philips open" AND runner_up = "javier sánchez"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 year did enrolled Gambier members leave? ### Context: CREATE TABLE table_261946_3 (left INTEGER, location__all_in_ohio_ VARCHAR) ### Response: ### Response: SELECT MIN(left) FROM table_261946_3 WHERE location__all_in_ohio_ = "Gambier"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did NASA launch the wide field infrared explorer (wire)? ### Context: CREATE TABLE table_name_11 (launch_date VARCHAR, space_agency VARCHAR, name VARCHAR) ### Response: ### Response: SELECT launch_date FROM table_name_11 WHERE space_agency = "nasa" AND name = "wide field infrared explorer (wire)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 director of alt i alt ### Context: CREATE TABLE table_name_92 (director_s_ VARCHAR, film VARCHAR) ### Response: ### Response: SELECT director_s_ FROM table_name_92 WHERE film = "alt i alt"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Can you tell me the sum of Goals against that has the Goals for larger than 10, and the Position of 3, and the Wins smaller than 6? ### Context: CREATE TABLE table_name_14 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR, position VARCHAR) ### Response: ### Response: SELECT SUM(goals_against) FROM table_name_14 WHERE goals_for > 10 AND position = 3 AND wins < 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: The candidate with Riding of st. john's south—mount pearl is what gender? ### Context: CREATE TABLE table_name_3 (gender VARCHAR, riding VARCHAR) ### Response: ### Response: SELECT gender FROM table_name_3 WHERE riding = "st. john's south—mount pearl"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the 1967 Cleveland Browns season what is the total number of times they played the Minnesota Vikings and had an atttendance smaller than 68,431? ### Context: CREATE TABLE table_name_93 (week VARCHAR, opponent VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT COUNT(week) FROM table_name_93 WHERE opponent = "minnesota vikings" AND attendance < 68 OFFSET 431</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Set 1 has a Date of 24 may, and a Total of 57–75? ### Context: CREATE TABLE table_name_37 (set_1 VARCHAR, date VARCHAR, total VARCHAR) ### Response: ### Response: SELECT set_1 FROM table_name_37 WHERE date = "24 may" AND total = "57–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 is Position, when Year is less than 2000, and when Player is "Radek Dvorak Category:Articles with hCards"? ### Context: CREATE TABLE table_name_81 (position VARCHAR, year VARCHAR, player VARCHAR) ### Response: ### Response: SELECT position FROM table_name_81 WHERE year < 2000 AND player = "radek dvorak category:articles with hcards"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team is Per Gustafsson play for? ### Context: CREATE TABLE table_1013129_11 (college_junior_club_team VARCHAR, player VARCHAR) ### Response: ### Response: SELECT college_junior_club_team FROM table_1013129_11 WHERE player = "Per Gustafsson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 club career for players in positions of DF, fewer than 18 total goals, fewer than 129 league appearances, and more than 7 league goals? ### Context: CREATE TABLE table_name_65 (club_career VARCHAR, league_goals VARCHAR, league_apps VARCHAR, position VARCHAR, total_goals VARCHAR) ### Response: ### Response: SELECT club_career FROM table_name_65 WHERE position = "df" AND total_goals < 18 AND league_apps < 129 AND league_goals > 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: On what date was the Record 41–32–6? ### Context: CREATE TABLE table_name_95 (date VARCHAR, record VARCHAR) ### Response: ### Response: SELECT date FROM table_name_95 WHERE record = "41–32–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 school does Kerry Wood play for? ### Context: CREATE TABLE table_11677100_3 (school VARCHAR, player VARCHAR) ### Response: ### Response: SELECT school FROM table_11677100_3 WHERE player = "Kerry Wood"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Date has a Record of 6-6? ### Context: CREATE TABLE table_name_82 (date VARCHAR, record VARCHAR) ### Response: ### Response: SELECT date FROM table_name_82 WHERE record = "6-6"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the total number for 3 public ### Context: CREATE TABLE table_26375386_22 (total VARCHAR, public VARCHAR) ### Response: ### Response: SELECT COUNT(total) FROM table_26375386_22 WHERE public = 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What are the title and maximum price of each film? ### Context: CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE schedule (price INTEGER, film_id VARCHAR) ### Response: ### Response: SELECT T2.title, MAX(T1.price) FROM schedule AS T1 JOIN film AS T2 ON T1.film_id = T2.film_id GROUP BY T1.film_id</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 company plays on april 1? ### Context: CREATE TABLE table_27733258_11 (team VARCHAR, date VARCHAR) ### Response: ### Response: SELECT team FROM table_27733258_11 WHERE date = "April 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 highest weight of the position scrum half? ### Context: CREATE TABLE table_name_24 (weight__kg_ INTEGER, position VARCHAR) ### Response: ### Response: SELECT MAX(weight__kg_) FROM table_name_24 WHERE position = "scrum half"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sideline reporters worked alongside Frank Gifford and Dan Dierdorf? ### Context: CREATE TABLE table_name_17 (sideline_reporter_s_ VARCHAR, color_commentator_s_ VARCHAR) ### Response: ### Response: SELECT sideline_reporter_s_ FROM table_name_17 WHERE color_commentator_s_ = "frank gifford and dan dierdorf"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 year with finish of 12th and record of 23-36 ### Context: CREATE TABLE table_name_14 (year VARCHAR, finish VARCHAR, record VARCHAR) ### Response: ### Response: SELECT year FROM table_name_14 WHERE finish = "12th" AND record = "23-36"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 birth and age of Gabriel Quak Jun Yi with 3 caps? ### Context: CREATE TABLE table_name_57 (date_of_birth__age_ VARCHAR, caps VARCHAR, name VARCHAR) ### Response: ### Response: SELECT date_of_birth__age_ FROM table_name_57 WHERE caps = "3" AND name = "gabriel quak jun yi"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 every original language for book series Little House on the Prairie? ### Context: CREATE TABLE table_2512935_8 (original_language VARCHAR, book_series VARCHAR) ### Response: ### Response: SELECT original_language FROM table_2512935_8 WHERE book_series = "Little House on the Prairie"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Losses have an Against smaller than 1018, and Wins smaller than 14? ### Context: CREATE TABLE table_name_42 (losses INTEGER, against VARCHAR, wins VARCHAR) ### Response: ### Response: SELECT AVG(losses) FROM table_name_42 WHERE against < 1018 AND wins < 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 long value for the year with an average/game of 160.9? ### Context: CREATE TABLE table_name_17 (long VARCHAR, avg_g VARCHAR) ### Response: ### Response: SELECT long FROM table_name_17 WHERE avg_g = "160.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 name and building of the departments whose budget is more than the average budget? ### Context: CREATE TABLE department (dept_name VARCHAR, building VARCHAR, budget INTEGER) ### Response: ### Response: SELECT dept_name, building FROM department WHERE budget > (SELECT AVG(budget) FROM department)</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 jockey in group 1 at the 1400m distance at randwick? ### Context: CREATE TABLE table_20626467_1 (jockey VARCHAR, distance VARCHAR, class VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT jockey FROM table_20626467_1 WHERE class = "Group 1" AND venue = "Randwick" AND distance = "1400m"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 3rd component for bp azeo of 62.1 ### Context: CREATE TABLE table_name_49 (bp_azeo__˚c_ VARCHAR) ### Response: ### Response: SELECT 3 AS rd_component FROM table_name_49 WHERE bp_azeo__˚c_ = "62.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 report where the location is kyalami? ### Context: CREATE TABLE table_1140085_2 (report VARCHAR, location VARCHAR) ### Response: ### Response: SELECT report FROM table_1140085_2 WHERE location = "Kyalami"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: During November 3 where august 21-22 is august 21, 2017? ### Context: CREATE TABLE table_25287007_2 (november_3 VARCHAR, august_21_22 VARCHAR) ### Response: ### Response: SELECT november_3 FROM table_25287007_2 WHERE august_21_22 = "August 21, 2017"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name of the competition in 8th position? ### Context: CREATE TABLE table_name_98 (competition VARCHAR, position VARCHAR) ### Response: ### Response: SELECT competition FROM table_name_98 WHERE position = "8th"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time of elimination of the wrestlers with largest days held. ### Context: CREATE TABLE wrestler (Wrestler_ID VARCHAR, Days_held VARCHAR); CREATE TABLE elimination (Time VARCHAR, Wrestler_ID VARCHAR) ### Response: ### Response: SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID ORDER BY T2.Days_held 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: Find the student first and last names and grade points of all enrollments. ### Context: CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (Fname VARCHAR, LName VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint VARCHAR, lettergrade VARCHAR) ### Response: ### Response: SELECT T3.Fname, T3.LName, T2.gradepoint FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all allergy type with number of students affected. ### Context: CREATE TABLE Has_allergy (allergy VARCHAR); CREATE TABLE Allergy_type (allergytype VARCHAR, allergy VARCHAR) ### Response: ### Response: SELECT T2.allergytype, COUNT(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy = T2.allergy GROUP BY T2.allergytype</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 grid for driver of juan pablo montoya? ### Context: CREATE TABLE table_name_92 (grid INTEGER, driver VARCHAR) ### Response: ### Response: SELECT MIN(grid) FROM table_name_92 WHERE driver = "juan pablo montoya"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 id of students who never attends courses? ### Context: CREATE TABLE student_course_attendance (student_id VARCHAR); CREATE TABLE students (student_id VARCHAR) ### Response: ### Response: SELECT student_id FROM students WHERE NOT student_id IN (SELECT student_id FROM student_course_attendance)</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode is Sean's team made up of Krishnan Guru-Murthy and Vic Reeves? ### Context: CREATE TABLE table_23292220_3 (episode VARCHAR, seans_team VARCHAR) ### Response: ### Response: SELECT episode FROM table_23292220_3 WHERE seans_team = "Krishnan Guru-Murthy and Vic Reeves"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 D 43 √ with a D 49 √ with d 49 √? ### Context: CREATE TABLE table_name_64 (d_43_√ VARCHAR, d_49_√ VARCHAR) ### Response: ### Response: SELECT d_43_√ FROM table_name_64 WHERE d_49_√ = "d 49 √"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has a win-loss result of loss and an edition of 2012 Fed Cup Europe/Africa Group I? ### Context: CREATE TABLE table_22656187_9 (round VARCHAR, w_l VARCHAR, edition VARCHAR) ### Response: ### Response: SELECT round FROM table_22656187_9 WHERE w_l = "Loss" AND edition = "2012 Fed Cup Europe/Africa Group 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: Which position has more than 4 points, less than 12 tries, a squad number of more than 1, and where Ali Lauitiiti is a player? ### Context: CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR, squad_no VARCHAR, points VARCHAR, tries VARCHAR) ### Response: ### Response: SELECT position FROM table_name_58 WHERE points > 4 AND tries < 12 AND squad_no > 1 AND player = "ali lauitiiti"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 thomas löfkvist is the young rider classification and alessandro petacchi is the points classification who are the general classifications? ### Context: CREATE TABLE table_18733814_2 (general_classification VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR) ### Response: ### Response: SELECT general_classification FROM table_18733814_2 WHERE points_classification = "Alessandro Petacchi" AND young_rider_classification = "Thomas Löfkvist"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 weeks in the top-10 did Beats International have? ### Context: CREATE TABLE table_26400075_2 (weeks_in_top_10 VARCHAR, artist VARCHAR) ### Response: ### Response: SELECT weeks_in_top_10 FROM table_26400075_2 WHERE artist = "Beats International"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of first elected for thomas maxwell (j) 60.1% david woodcock (aj) 39.9% ### Context: CREATE TABLE table_2668243_17 (first_elected VARCHAR, candidates VARCHAR) ### Response: ### Response: SELECT COUNT(first_elected) FROM table_2668243_17 WHERE candidates = "Thomas Maxwell (J) 60.1% David Woodcock (AJ) 39.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 Venue with the Friendly Competition? ### Context: CREATE TABLE table_name_91 (venue VARCHAR, competition VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_91 WHERE competition = "friendly"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 driver had a year under 1905? ### Context: CREATE TABLE table_name_51 (driver VARCHAR, year INTEGER) ### Response: ### Response: SELECT driver FROM table_name_51 WHERE year < 1905</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What opponent played on 07-09-2012? ### Context: CREATE TABLE table_name_26 (opponent VARCHAR, date VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_26 WHERE date = "07-09-2012"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: If the points is 41, what is the season? ### Context: CREATE TABLE table_22998777_1 (season VARCHAR, points VARCHAR) ### Response: ### Response: SELECT season FROM table_22998777_1 WHERE points = "41"</s>