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: List the id of students who attended some courses? ### Context: CREATE TABLE student_course_attendance (student_id VARCHAR) ### Response: ### Response: 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: What's the chassis code for the 280s model? ### Context: CREATE TABLE table_name_17 (chassis_code VARCHAR, model VARCHAR) ### Response: ### Response: SELECT chassis_code FROM table_name_17 WHERE model = "280s"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What country has the Sky Calcio 2 tv service? ### Context: CREATE TABLE table_15887683_4 (country VARCHAR, television_service VARCHAR) ### Response: ### Response: SELECT country FROM table_15887683_4 WHERE television_service = "Sky Calcio 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 discipline for 1561 fis points ### Context: CREATE TABLE table_30073089_2 (discipline VARCHAR, fis_points VARCHAR) ### Response: ### Response: SELECT discipline FROM table_30073089_2 WHERE fis_points = 1561</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game against Orlando? ### Context: CREATE TABLE table_name_57 (game INTEGER, team VARCHAR) ### Response: ### Response: SELECT MIN(game) FROM table_name_57 WHERE team = "orlando"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 conductors are there? ### Context: CREATE TABLE conductor (Id VARCHAR) ### Response: ### Response: SELECT COUNT(*) FROM conductor</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tonnage has a Date of 26 september 1940, and a Ship Name of ashantian? ### Context: CREATE TABLE table_name_84 (tonnage___grt__ INTEGER, date VARCHAR, ship_name VARCHAR) ### Response: ### Response: SELECT MIN(tonnage___grt__) FROM table_name_84 WHERE date = "26 september 1940" AND ship_name = "ashantian"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 season # for the episode with air date february 2, 1970? ### Context: CREATE TABLE table_25800134_14 (season__number INTEGER, airdate VARCHAR) ### Response: ### Response: SELECT MAX(season__number) FROM table_25800134_14 WHERE airdate = "February 2, 1970"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the highest drawn when played is more than 14? ### Context: CREATE TABLE table_name_79 (drawn INTEGER, played INTEGER) ### Response: ### Response: SELECT MAX(drawn) FROM table_name_79 WHERE played > 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: Where's the school that Mark Fletcher is the principal of? ### Context: CREATE TABLE table_1984697_53 (city___town VARCHAR, principal VARCHAR) ### Response: ### Response: SELECT city___town FROM table_1984697_53 WHERE principal = "Mark Fletcher"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What position does the player from Oklahoma who was drafted in round 7 play? ### Context: CREATE TABLE table_name_95 (position VARCHAR, round VARCHAR, college VARCHAR) ### Response: ### Response: SELECT position FROM table_name_95 WHERE round = 7 AND college = "oklahoma"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Bronze has a Nation of austria, and a Total larger than 6? ### Context: CREATE TABLE table_name_21 (bronze INTEGER, nation VARCHAR, total VARCHAR) ### Response: ### Response: SELECT MAX(bronze) FROM table_name_21 WHERE nation = "austria" AND total > 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 team has the most wins with at least 18 goals and less than 5 losses? ### Context: CREATE TABLE table_name_85 (wins INTEGER, goals_for VARCHAR, losses VARCHAR) ### Response: ### Response: SELECT MAX(wins) FROM table_name_85 WHERE goals_for = 18 AND losses < 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 average Entre Ríos Municipality with less than 9 Pojo Municipalities? ### Context: CREATE TABLE table_name_99 (entre_ríos_municipality INTEGER, pojo_municipality INTEGER) ### Response: ### Response: SELECT AVG(entre_ríos_municipality) FROM table_name_99 WHERE pojo_municipality < 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 home team has june 22 as the date? ### Context: CREATE TABLE table_name_87 (home_team VARCHAR, date VARCHAR) ### Response: ### Response: SELECT home_team FROM table_name_87 WHERE date = "june 22"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highschool has senior (rs) for the year? ### Context: CREATE TABLE table_22496344_1 (high_school VARCHAR, year VARCHAR) ### Response: ### Response: SELECT high_school FROM table_22496344_1 WHERE year = "Senior (RS)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 College of the WR Player from SWC Conf? ### Context: CREATE TABLE table_name_70 (college VARCHAR, conf VARCHAR, pos VARCHAR) ### Response: ### Response: SELECT college FROM table_name_70 WHERE conf = "swc" AND pos = "wr"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rank final of 6? ### Context: CREATE TABLE table_name_90 (year VARCHAR, rank_final VARCHAR) ### Response: ### Response: SELECT year FROM table_name_90 WHERE rank_final = "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 was the average of againsts on 21/5/1997? ### Context: CREATE TABLE table_name_45 (against INTEGER, date VARCHAR) ### Response: ### Response: SELECT AVG(against) FROM table_name_45 WHERE date = "21/5/1997"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Top-25 when the events were less than 0? ### Context: CREATE TABLE table_name_23 (top_25 INTEGER, events INTEGER) ### Response: ### Response: SELECT SUM(top_25) FROM table_name_23 WHERE events < 0</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the host team on December 19? ### Context: CREATE TABLE table_name_4 (host_team VARCHAR, date VARCHAR) ### Response: ### Response: SELECT host_team FROM table_name_4 WHERE date = "december 19"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 SS when jim lefebvre was at 2nd, willie davis at CF, and don drysdale was the SP. ### Context: CREATE TABLE table_12142298_2 (shortstop VARCHAR, starting_pitcher VARCHAR, second_baseman VARCHAR, centerfielder VARCHAR) ### Response: ### Response: SELECT shortstop FROM table_12142298_2 WHERE second_baseman = "Jim Lefebvre" AND centerfielder = "Willie Davis" AND starting_pitcher = "Don Drysdale"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Away team score has a Venue of princes park? ### Context: CREATE TABLE table_name_7 (away_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT away_team AS score FROM table_name_7 WHERE venue = "princes park"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many were in attendance in a week lower than 5 with a Bye result? ### Context: CREATE TABLE table_name_69 (attendance VARCHAR, week VARCHAR, result VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_69 WHERE week < 5 AND result = "bye"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 transaction type and the number of transactions. ### Context: CREATE TABLE Financial_transactions (transaction_type VARCHAR) ### Response: ### Response: SELECT transaction_type, COUNT(*) FROM Financial_transactions GROUP BY transaction_type</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 livery has a status of in service as coaching stock? ### Context: CREATE TABLE table_name_74 (livery VARCHAR, status VARCHAR) ### Response: ### Response: SELECT livery FROM table_name_74 WHERE status = "in service as coaching stock"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 s wicket value associated with Shaun Young? ### Context: CREATE TABLE table_name_51 (s_wicket VARCHAR, player VARCHAR) ### Response: ### Response: SELECT s_wicket FROM table_name_51 WHERE player = "shaun young"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: David James Elliott directed which episode number within the series? ### Context: CREATE TABLE table_228973_11 (no_in_series VARCHAR, directed_by VARCHAR) ### Response: ### Response: SELECT no_in_series FROM table_228973_11 WHERE directed_by = "David James Elliott"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Date for Catalog of lp 5060? ### Context: CREATE TABLE table_name_65 (date VARCHAR, catalog VARCHAR) ### Response: ### Response: SELECT date FROM table_name_65 WHERE catalog = "lp 5060"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rider had a Speed of 108.347mph and Time of 1:02.40.93? ### Context: CREATE TABLE table_name_12 (rider VARCHAR, speed VARCHAR, time VARCHAR) ### Response: ### Response: SELECT rider FROM table_name_12 WHERE speed = "108.347mph" AND time = "1:02.40.93"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many draws are there when there are 11 wins, and more than 7 losses? ### Context: CREATE TABLE table_name_92 (draws INTEGER, wins VARCHAR, losses VARCHAR) ### Response: ### Response: SELECT SUM(draws) FROM table_name_92 WHERE wins = 11 AND losses > 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 title did Bill Foster direct ? ### Context: CREATE TABLE table_25276528_2 (title VARCHAR, directed_by VARCHAR) ### Response: ### Response: SELECT title FROM table_25276528_2 WHERE directed_by = "Bill Foster"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Term Start date of the Progressive Party Prime Minister? ### Context: CREATE TABLE table_name_45 (term_start VARCHAR, political_party VARCHAR) ### Response: ### Response: SELECT term_start FROM table_name_45 WHERE political_party = "progressive party"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round number when the opponent was Wrexham, and the venue shows as Away? ### Context: CREATE TABLE table_name_19 (round VARCHAR, opponent VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT COUNT(round) FROM table_name_19 WHERE opponent = "wrexham" AND venue = "away"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is where the horse parkmore ed is? ### Context: CREATE TABLE table_18666752_3 (nation VARCHAR, horse VARCHAR) ### Response: ### Response: SELECT nation FROM table_18666752_3 WHERE horse = "Parkmore Ed"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 low and high estimates of film markets? ### Context: CREATE TABLE film_market_estimation (Low_Estimate VARCHAR, High_Estimate VARCHAR) ### Response: ### Response: SELECT Low_Estimate, High_Estimate FROM film_market_estimation</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average rating star for each movie that are not reviewed by Brittany Harris. ### Context: CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Rating (mID VARCHAR, stars INTEGER); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR) ### Response: ### Response: SELECT mID, AVG(stars) FROM Rating WHERE NOT mID IN (SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T2.name = "Brittany Harris") GROUP BY mID</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FA Cup when the league cup is 1, and the total is more than 23? ### Context: CREATE TABLE table_name_16 (fa_cup INTEGER, league_cup VARCHAR, total VARCHAR) ### Response: ### Response: SELECT MIN(fa_cup) FROM table_name_16 WHERE league_cup = 1 AND total > 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: How many votes did candice sjostrom receive? ### Context: CREATE TABLE table_name_94 (popular_votes INTEGER, candidate VARCHAR) ### Response: ### Response: SELECT AVG(popular_votes) FROM table_name_94 WHERE candidate = "candice sjostrom"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the hometown of trinity high school? ### Context: CREATE TABLE table_11677691_7 (hometown VARCHAR, school VARCHAR) ### Response: ### Response: SELECT hometown FROM table_11677691_7 WHERE school = "Trinity High school"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What year did the event in Hiroshima take place? ### Context: CREATE TABLE table_name_70 (year VARCHAR, location VARCHAR) ### Response: ### Response: SELECT COUNT(year) FROM table_name_70 WHERE location = "hiroshima"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with a school that is ball state? ### Context: CREATE TABLE table_name_19 (week VARCHAR, school VARCHAR) ### Response: ### Response: SELECT week FROM table_name_19 WHERE school = "ball state"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 4th, great lakes is the regular season what is the league? ### Context: CREATE TABLE table_1939235_1 (league VARCHAR, regular_season VARCHAR) ### Response: ### Response: SELECT league FROM table_1939235_1 WHERE regular_season = "4th, Great Lakes"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 people went to the game that had 17-13? ### Context: CREATE TABLE table_name_39 (attendance INTEGER, score VARCHAR) ### Response: ### Response: SELECT SUM(attendance) FROM table_name_39 WHERE score = "17-13"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: who has the high points on june 16? ### Context: CREATE TABLE table_name_53 (high_points VARCHAR, date VARCHAR) ### Response: ### Response: SELECT high_points FROM table_name_53 WHERE date = "june 16"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gt winning car for #88 team mitsubishi 88 mitsubishi starion ### Context: CREATE TABLE table_27965906_2 (gt_winning_car VARCHAR, a_winning_car VARCHAR) ### Response: ### Response: SELECT gt_winning_car FROM table_27965906_2 WHERE a_winning_car = "#88 Team Mitsubishi 88 Mitsubishi Starion"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is located in Leicester? ### Context: CREATE TABLE table_name_36 (team VARCHAR, location VARCHAR) ### Response: ### Response: SELECT team FROM table_name_36 WHERE location = "leicester"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Free polite has a Genitive 3 of *n(i)-ami? ### Context: CREATE TABLE table_name_40 (free VARCHAR, genitive_3 VARCHAR) ### Response: ### Response: SELECT free AS polite FROM table_name_40 WHERE genitive_3 = "*n(i)-ami"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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, minimum, and maximum age of all singers from France? ### Context: CREATE TABLE singer (age INTEGER, country VARCHAR) ### Response: ### Response: SELECT AVG(age), MIN(age), MAX(age) FROM singer WHERE country = 'France'</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 player with pick 19? ### Context: CREATE TABLE table_name_87 (player VARCHAR, pick VARCHAR) ### Response: ### Response: SELECT player FROM table_name_87 WHERE pick = "19"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 record of the game with 35 points and pittsburgh as the home team? ### Context: CREATE TABLE table_name_77 (record VARCHAR, home VARCHAR, points VARCHAR) ### Response: ### Response: SELECT record FROM table_name_77 WHERE home = "pittsburgh" AND points = 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 is the catalog number of Alfa records? ### Context: CREATE TABLE table_name_74 (catalog VARCHAR, label VARCHAR) ### Response: ### Response: SELECT catalog FROM table_name_74 WHERE label = "alfa records"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in the lotus 44 f2 Chassis? ### Context: CREATE TABLE table_name_27 (engine VARCHAR, chassis VARCHAR) ### Response: ### Response: SELECT engine FROM table_name_27 WHERE chassis = "lotus 44 f2"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 area of askøy, with a Municipal code less than 1247? ### Context: CREATE TABLE table_name_34 (area INTEGER, name VARCHAR, municipal_code VARCHAR) ### Response: ### Response: SELECT SUM(area) FROM table_name_34 WHERE name = "askøy" AND municipal_code < 1247</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the opponent at memorial stadium? ### Context: CREATE TABLE table_name_25 (opponent VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_25 WHERE venue = "memorial stadium"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the game on January 18? ### Context: CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_name_85 WHERE date = "january 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: Clubs involved is 8, what number would you find from winners from previous round? ### Context: CREATE TABLE table_1281200_1 (winners_from_previous_round VARCHAR, clubs_involved VARCHAR) ### Response: ### Response: SELECT winners_from_previous_round FROM table_1281200_1 WHERE clubs_involved = 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: Tell me the host for rtl-tvi ### Context: CREATE TABLE table_name_6 (host VARCHAR, network VARCHAR) ### Response: ### Response: SELECT host FROM table_name_6 WHERE network = "rtl-tvi"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 series 3 with more than 4 seats? ### Context: CREATE TABLE table_name_77 (series_3 VARCHAR, seat INTEGER) ### Response: ### Response: SELECT series_3 FROM table_name_77 WHERE seat > 4</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: WHAT IS THE GREGORIAN CALENDAR FOR AQUARIUS? ### Context: CREATE TABLE table_name_77 (gregorian_calendar VARCHAR, sign_of_zodiac VARCHAR) ### Response: ### Response: SELECT gregorian_calendar FROM table_name_77 WHERE sign_of_zodiac = "aquarius"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 constructor has 10-12 rounds and a M7A chassis? ### Context: CREATE TABLE table_name_40 (constructor VARCHAR, rounds VARCHAR, chassis VARCHAR) ### Response: ### Response: SELECT constructor FROM table_name_40 WHERE rounds = "10-12" AND chassis = "m7a"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 outgoing manager for mutual consent and position 16th ### Context: CREATE TABLE table_27225944_3 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR) ### Response: ### Response: SELECT outgoing_manager FROM table_27225944_3 WHERE manner_of_departure = "Mutual consent" AND position_in_table = "16th"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the place and date that the Apartments area was damaged? ### Context: CREATE TABLE table_23014685_1 (place_ VARCHAR, _date VARCHAR, area_damaged VARCHAR) ### Response: ### Response: SELECT place_ & _date FROM table_23014685_1 WHERE area_damaged = "Apartments area"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 an IATA of gzt? ### Context: CREATE TABLE table_name_70 (country VARCHAR, iata VARCHAR) ### Response: ### Response: SELECT country FROM table_name_70 WHERE iata = "gzt"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 least europa league ### Context: CREATE TABLE table (europa_league INTEGER) ### Response: ### Response: SELECT MIN(europa_league) FROM table</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 act's album has a name of All That You Can't Leave Behind? ### Context: CREATE TABLE table_name_58 (pop_act VARCHAR, album VARCHAR) ### Response: ### Response: SELECT pop_act FROM table_name_58 WHERE album = "all that you can't leave behind"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 incumbent for jacob spangler (dr) 67.1% jacob hay (f) 32.9% ### Context: CREATE TABLE table_2668347_17 (incumbent VARCHAR, candidates VARCHAR) ### Response: ### Response: SELECT incumbent FROM table_2668347_17 WHERE candidates = "Jacob Spangler (DR) 67.1% Jacob Hay (F) 32.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 2007, when 2003 is 1R? ### Context: CREATE TABLE table_name_54 (Id VARCHAR) ### Response: ### Response: SELECT 2007 FROM table_name_54 WHERE 2003 = "1r"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the venue of the game on 20 November 2002? ### Context: CREATE TABLE table_name_33 (venue VARCHAR, date VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_33 WHERE date = "20 november 2002"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 225lb as weight? ### Context: CREATE TABLE table_20872722_1 (position VARCHAR, weight VARCHAR) ### Response: ### Response: SELECT position FROM table_20872722_1 WHERE weight = "225lb"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 exposures 53? ### Context: CREATE TABLE table_2583036_1 (camera VARCHAR, exposures VARCHAR) ### Response: ### Response: SELECT COUNT(camera) FROM table_2583036_1 WHERE exposures = 53</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 college/junior/club team of the defence player drafted by the New York Rangers? ### Context: CREATE TABLE table_name_43 (college_junior_club_team VARCHAR, nhl_team VARCHAR, position VARCHAR) ### Response: ### Response: SELECT college_junior_club_team FROM table_name_43 WHERE nhl_team = "new york rangers" AND position = "defence"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 races involve incumbent Pat Cannon? ### Context: CREATE TABLE table_1342256_10 (result VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT COUNT(result) FROM table_1342256_10 WHERE incumbent = "Pat Cannon"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 every high points for the Pistons team? ### Context: CREATE TABLE table_23248910_9 (high_points VARCHAR, team VARCHAR) ### Response: ### Response: SELECT high_points FROM table_23248910_9 WHERE team = "Pistons"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 are the advisors for students that live in a city with city code "BAL"? ### Context: CREATE TABLE STUDENT (Advisor VARCHAR, city_code VARCHAR) ### Response: ### Response: SELECT Advisor FROM STUDENT WHERE city_code = "BAL"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 qual when the rank was 2? ### Context: CREATE TABLE table_name_63 (qual VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT qual FROM table_name_63 WHERE rank = "2"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the full amount of averages when the sellouts are less than 14, the season is 2011-12, and attendance is less than 162,474? ### Context: CREATE TABLE table_name_73 (average VARCHAR, attendance VARCHAR, sellouts VARCHAR, season VARCHAR) ### Response: ### Response: SELECT COUNT(average) FROM table_name_73 WHERE sellouts < 14 AND season = "2011-12" AND attendance < 162 OFFSET 474</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2011 for 2012 of a and 2010 of 1r with 2008 of 2r ### Context: CREATE TABLE table_name_92 (Id VARCHAR) ### Response: ### Response: SELECT 2011 FROM table_name_92 WHERE 2012 = "a" AND 2010 = "1r" AND 2008 = "2r"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number is on the car that Geoffrey Bodine drives? ### Context: CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR) ### Response: ### Response: SELECT MIN(_number) FROM table_2182170_1 WHERE driver_s_ = "Geoffrey Bodine"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When was the Lagos tournament? ### Context: CREATE TABLE table_name_84 (date VARCHAR, tournament VARCHAR) ### Response: ### Response: SELECT date FROM table_name_84 WHERE tournament = "lagos"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 length for class of gts-2 and date of october 8 ### Context: CREATE TABLE table_name_27 (length VARCHAR, class VARCHAR, date VARCHAR) ### Response: ### Response: SELECT length FROM table_name_27 WHERE class = "gts-2" AND date = "october 8"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Show the document name and the document date for all documents on project with details 'Graph Database project'. ### Context: CREATE TABLE Documents (project_id VARCHAR); CREATE TABLE projects (project_id VARCHAR, project_details VARCHAR) ### Response: ### Response: SELECT document_name, document_date FROM Documents AS T1 JOIN projects AS T2 ON T1.project_id = T2.project_id WHERE T2.project_details = 'Graph Database project'</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 silver medals for nations with 5 total medals and more than 3 gold medals? ### Context: CREATE TABLE table_name_22 (silver VARCHAR, total VARCHAR, gold VARCHAR) ### Response: ### Response: SELECT COUNT(silver) FROM table_name_22 WHERE total = 5 AND gold > 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is gunfire victim Maria Cecilia Rosa with 6 years of Tenure Date of Death? ### Context: CREATE TABLE table_name_47 (date_of_death VARCHAR, name VARCHAR, cause_of_death VARCHAR, tenure VARCHAR) ### Response: ### Response: SELECT date_of_death FROM table_name_47 WHERE cause_of_death = "gunfire" AND tenure = "6 years" AND name = "maria cecilia rosa"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 people on average attended the game in week 14? ### Context: CREATE TABLE table_name_68 (attendance INTEGER, week VARCHAR) ### Response: ### Response: SELECT AVG(attendance) FROM table_name_68 WHERE week = 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: Which Constructor has the Winning Driver, Jim Clark and the Circuit, Syracuse? ### Context: CREATE TABLE table_name_6 (constructor VARCHAR, winning_driver VARCHAR, circuit VARCHAR) ### Response: ### Response: SELECT constructor FROM table_name_6 WHERE winning_driver = "jim clark" AND circuit = "syracuse"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Spanish voice actor does the same character as French voice actor Véronique Desmadryl? ### Context: CREATE TABLE table_name_4 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) ### Response: ### Response: SELECT spanish_voice_actor FROM table_name_4 WHERE french_voice_actor = "véronique desmadryl"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Bunky Henry of the United States scored higher than 67 and his To par was e, what was his place? ### Context: CREATE TABLE table_name_18 (place VARCHAR, player VARCHAR, to_par VARCHAR, score VARCHAR, country VARCHAR) ### Response: ### Response: SELECT place FROM table_name_18 WHERE score > 67 AND country = "united states" AND to_par = "e" AND player = "bunky henry"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Goal Difference for Postion 22? ### Context: CREATE TABLE table_name_61 (goal_difference VARCHAR, position VARCHAR) ### Response: ### Response: SELECT goal_difference FROM table_name_61 WHERE position = 22</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 amount of goals in the position after 8, 12 losses, and played less than 30 games? ### Context: CREATE TABLE table_name_71 (goals_for INTEGER, played VARCHAR, position VARCHAR, losses VARCHAR) ### Response: ### Response: SELECT MAX(goals_for) FROM table_name_71 WHERE position > 8 AND losses = 12 AND played < 30</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Where 19 seats were won, what was the minimum number of forfeited seats? ### Context: CREATE TABLE table_22582663_1 (forfeited_in_seats INTEGER, seats_won VARCHAR) ### Response: ### Response: SELECT MIN(forfeited_in_seats) FROM table_22582663_1 WHERE seats_won = 19</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 innings have an average under 6.33, strike rate under 71.43, balls faced over 36, and smaller than 19 runs scored? ### Context: CREATE TABLE table_name_35 (innings INTEGER, runs_scored VARCHAR, balls_faced VARCHAR, average VARCHAR, sr VARCHAR) ### Response: ### Response: SELECT SUM(innings) FROM table_name_35 WHERE average < 6.33 AND sr < 71.43 AND balls_faced > 36 AND runs_scored < 19</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: In what Year did Chernova come in 1st in Götzis, Austria? ### Context: CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR, position VARCHAR) ### Response: ### Response: SELECT SUM(year) FROM table_name_37 WHERE venue = "götzis, austria" 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: How many laps did ben spies do on the grid less than 7? ### Context: CREATE TABLE table_name_86 (laps VARCHAR, grid VARCHAR, rider VARCHAR) ### Response: ### Response: SELECT COUNT(laps) FROM table_name_86 WHERE grid < 7 AND rider = "ben spies"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Date, when Tie No is "Replay", and when Away Team is "Crystal Palace"? ### Context: CREATE TABLE table_name_85 (date VARCHAR, tie_no VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT date FROM table_name_85 WHERE tie_no = "replay" AND away_team = "crystal palace"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Tournament has a Margin of victory of 7 strokes ### Context: CREATE TABLE table_name_38 (tournament VARCHAR, margin_of_victory VARCHAR) ### Response: ### Response: SELECT tournament FROM table_name_38 WHERE margin_of_victory = "7 strokes"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on waca ground and scored 79 points? ### Context: CREATE TABLE table_name_43 (opponent VARCHAR, ground VARCHAR, score VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_43 WHERE ground = "waca ground" AND score = "79"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Left Office, when Inaugurate is "15 March 1930"? ### Context: CREATE TABLE table_name_1 (left_office VARCHAR, inaugurated VARCHAR) ### Response: ### Response: SELECT left_office FROM table_name_1 WHERE inaugurated = "15 march 1930"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year that has the Group, Logie Award, the Award, Most Outstanding Actor, and the Result, nominated? ### Context: CREATE TABLE table_name_79 (year INTEGER, result VARCHAR, group VARCHAR, award VARCHAR) ### Response: ### Response: SELECT AVG(year) FROM table_name_79 WHERE group = "logie award" AND award = "most outstanding actor" AND result = "nominated"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value for runs when the average is 42.36? ### Context: CREATE TABLE table_2985664_8 (runs INTEGER, average VARCHAR) ### Response: ### Response: SELECT MIN(runs) FROM table_2985664_8 WHERE average = "42.36"</s>
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
3
Edit dataset card