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: Who is the lead of the team from Lockerbie? ### Context: CREATE TABLE table_name_81 (lead VARCHAR, home VARCHAR) ### Response: ### Response: SELECT lead FROM table_name_81 WHERE home = "lockerbie"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for the Int. Adac-Preis Der Tourenwagen Von Sachsen-Anhalt? ### Context: CREATE TABLE table_name_92 (round VARCHAR, race VARCHAR) ### Response: ### Response: SELECT round FROM table_name_92 WHERE race = "int. adac-preis der tourenwagen von sachsen-anhalt"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score that has the Date of 05 dec? ### Context: CREATE TABLE table_name_28 (score VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_name_28 WHERE date = "05 dec"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 class of undine? ### Context: CREATE TABLE table_name_67 (year_made VARCHAR, class VARCHAR) ### Response: ### Response: SELECT year_made FROM table_name_67 WHERE class = "undine"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What college did Craig Zimmer go to? ### Context: CREATE TABLE table_10975034_5 (college VARCHAR, player VARCHAR) ### Response: ### Response: SELECT college FROM table_10975034_5 WHERE player = "Craig Zimmer"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 drawn with less than 2 lost? ### Context: CREATE TABLE table_name_36 (drawn INTEGER, lost INTEGER) ### Response: ### Response: SELECT MIN(drawn) FROM table_name_36 WHERE lost < 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's the Score for the Game of 75? ### Context: CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR) ### Response: ### Response: SELECT score FROM table_name_74 WHERE game = 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: Who was on the Socialist Labor ticket that had Arthur Levitt as the Liberal Ticket? ### Context: CREATE TABLE table_name_60 (socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR) ### Response: ### Response: SELECT socialist_labor_ticket FROM table_name_60 WHERE liberal_ticket = "arthur levitt"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for Leo Diegel? ### Context: CREATE TABLE table_name_63 (score VARCHAR, player VARCHAR) ### Response: ### Response: SELECT score FROM table_name_63 WHERE player = "leo diegel"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 owns CKSB-8-FM? ### Context: CREATE TABLE table_name_72 (owner VARCHAR, call_sign VARCHAR) ### Response: ### Response: SELECT owner FROM table_name_72 WHERE call_sign = "cksb-8-fm"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 all the playoffs for regular season is 1st, atlantic division ### Context: CREATE TABLE table_1046170_5 (playoffs VARCHAR, regular_season VARCHAR) ### Response: ### Response: SELECT playoffs FROM table_1046170_5 WHERE regular_season = "1st, Atlantic division"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for top-25 with events smaller than 42 in a U.S. Open with a top-10 smaller than 5? ### Context: CREATE TABLE table_name_5 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR, tournament VARCHAR) ### Response: ### Response: SELECT MIN(top_25) FROM table_name_5 WHERE events < 42 AND tournament = "u.s. open" AND top_10 < 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 team did the New York Rangers recruit a player from? ### Context: CREATE TABLE table_2886617_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR) ### Response: ### Response: SELECT college_junior_club_team FROM table_2886617_4 WHERE nhl_team = "New York Rangers"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 League Cup goals have a Scorer of ken houghton, and an FA Cup goals smaller than 0? ### Context: CREATE TABLE table_name_93 (league_cup_goals INTEGER, scorer VARCHAR, fa_cup_goals VARCHAR) ### Response: ### Response: SELECT MAX(league_cup_goals) FROM table_name_93 WHERE scorer = "ken houghton" AND fa_cup_goals < 0</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the lowest rank for red chillies entertainment for 2013 ### Context: CREATE TABLE table_name_99 (rank INTEGER, year VARCHAR, studio_s_ VARCHAR) ### Response: ### Response: SELECT MIN(rank) FROM table_name_99 WHERE year = 2013 AND studio_s_ = "red chillies entertainment"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When the assets are 2,550, what is the Market Value? ### Context: CREATE TABLE table_1682026_2 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) ### Response: ### Response: SELECT market_value__billion_$_ FROM table_1682026_2 WHERE assets__billion_$_ = "2,550"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Album has an Artist of various artists (compilation), and a Label of laface? ### Context: CREATE TABLE table_name_53 (album VARCHAR, artist VARCHAR, label VARCHAR) ### Response: ### Response: SELECT album FROM table_name_53 WHERE artist = "various artists (compilation)" AND label = "laface"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of jeff sluman? ### Context: CREATE TABLE table_name_76 (total INTEGER, player VARCHAR) ### Response: ### Response: SELECT AVG(total) FROM table_name_76 WHERE player = "jeff sluman"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most goals for 1972 – 1975, 1976 – 1982 ### Context: CREATE TABLE table_24565004_19 (goals¹ INTEGER, period VARCHAR) ### Response: ### Response: SELECT MAX(goals¹) FROM table_24565004_19 WHERE period = "1972 – 1975, 1976 – 1982"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Record that has the Game larger than 15, and the Opponent of edmonton oilers? ### Context: CREATE TABLE table_name_9 (record VARCHAR, game VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT record FROM table_name_9 WHERE game > 15 AND opponent = "edmonton oilers"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Pct value when state champions is less than 1, MRC Championships is 10, and co-champions are greater than 4? ### Context: CREATE TABLE table_name_51 (pct INTEGER, co_champions VARCHAR, state_champions VARCHAR, mrc_championships VARCHAR) ### Response: ### Response: SELECT AVG(pct) FROM table_name_51 WHERE state_champions < 1 AND mrc_championships = 10 AND co_champions > 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 1989 number when the 200 number is less than 52.8 in Arizona, New Mexico, and Utah ### Context: CREATE TABLE table_name_41 (location VARCHAR) ### Response: ### Response: SELECT SUM(1989) FROM table_name_41 WHERE 2000 < 52.8 AND location = "arizona, new mexico, and utah"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many points when John Vopni won a season before 1977? ### Context: CREATE TABLE table_name_58 (points VARCHAR, season VARCHAR, winner VARCHAR) ### Response: ### Response: SELECT points FROM table_name_58 WHERE season < 1977 AND winner = "john vopni"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party has a first elected of 1966, qld as the state, and donald milner cameron as the member? ### Context: CREATE TABLE table_name_25 (party VARCHAR, member VARCHAR, first_elected VARCHAR, state VARCHAR) ### Response: ### Response: SELECT party FROM table_name_25 WHERE first_elected = "1966" AND state = "qld" AND member = "donald milner cameron"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who were the opponents in the game that ended in a score of 116-106? ### Context: CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_64 WHERE score = "116-106"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 goals did the player from Ipswich town score? ### Context: CREATE TABLE table_28286776_12 (goal_s_ INTEGER, club_s_ VARCHAR) ### Response: ### Response: SELECT MIN(goal_s_) FROM table_28286776_12 WHERE club_s_ = "Ipswich Town"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FC match has a total of 24? ### Context: CREATE TABLE table_name_18 (fc_matches VARCHAR, total VARCHAR) ### Response: ### Response: SELECT fc_matches FROM table_name_18 WHERE total = "24"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When was radek necas with less than 2.04 height born? ### Context: CREATE TABLE table_name_97 (year_born INTEGER, player VARCHAR, height VARCHAR) ### Response: ### Response: SELECT AVG(year_born) FROM table_name_97 WHERE player = "radek necas" AND height < 2.04</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 departments have M.Phil(Maths)? ### Context: CREATE TABLE table_17384764_1 (department VARCHAR, qualification VARCHAR) ### Response: ### Response: SELECT department FROM table_17384764_1 WHERE qualification = "M.Phil(Maths)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Home team score At Windy Hill? ### Context: CREATE TABLE table_name_48 (home_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT home_team AS score FROM table_name_48 WHERE venue = "windy hill"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 matches for year 2008 ### Context: CREATE TABLE table_15829930_5 (matches INTEGER, year VARCHAR) ### Response: ### Response: SELECT MIN(matches) FROM table_15829930_5 WHERE year = 2008</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Points have a Year larger than 1998, and Wins of 1? ### Context: CREATE TABLE table_name_79 (points INTEGER, year VARCHAR, wins VARCHAR) ### Response: ### Response: SELECT AVG(points) FROM table_name_79 WHERE year > 1998 AND wins = 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 name of the team from the Elverado Trico school in football? ### Context: CREATE TABLE table_18304058_2 (team_name VARCHAR, sports VARCHAR, schools VARCHAR) ### Response: ### Response: SELECT team_name FROM table_18304058_2 WHERE sports = "Football" AND schools = "Elverado Trico"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who is the director when the share is 11.8? ### Context: CREATE TABLE table_29574579_1 (directed_by VARCHAR, share___percentage_ VARCHAR) ### Response: ### Response: SELECT directed_by FROM table_29574579_1 WHERE share___percentage_ = "11.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: Which Pick has a Name of ed hickerson, and a Round smaller than 10? ### Context: CREATE TABLE table_name_56 (pick INTEGER, name VARCHAR, round VARCHAR) ### Response: ### Response: SELECT SUM(pick) FROM table_name_56 WHERE name = "ed hickerson" AND round < 10</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Find the description of the club "Pen and Paper Gaming". ### Context: CREATE TABLE club (clubdesc VARCHAR, clubname VARCHAR) ### Response: ### Response: SELECT clubdesc FROM club WHERE clubname = "Pen and Paper Gaming"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What player has a 147 total from Spain? ### Context: CREATE TABLE table_name_97 (player VARCHAR, total VARCHAR, country VARCHAR) ### Response: ### Response: SELECT player FROM table_name_97 WHERE total = 147 AND country = "spain"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What grid has 23 laps done by Josh Brookes? ### Context: CREATE TABLE table_name_1 (grid VARCHAR, laps VARCHAR, rider VARCHAR) ### Response: ### Response: SELECT grid FROM table_name_1 WHERE laps = 23 AND rider = "josh brookes"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 departure time when the arrival was 14.40? ### Context: CREATE TABLE table_18332845_2 (departure VARCHAR, arrival VARCHAR) ### Response: ### Response: SELECT departure FROM table_18332845_2 WHERE arrival = "14.40"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the country of player dale douglass, who has a t8 place? ### Context: CREATE TABLE table_name_75 (country VARCHAR, place VARCHAR, player VARCHAR) ### Response: ### Response: SELECT country FROM table_name_75 WHERE place = "t8" AND player = "dale douglass"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 listed for the Nickname of Storm? ### Context: CREATE TABLE table_name_74 (name VARCHAR, nickname VARCHAR) ### Response: ### Response: SELECT name FROM table_name_74 WHERE nickname = "storm"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 chinese name 盧奕基 how many in total is the govt salary? ### Context: CREATE TABLE table_17964087_2 (govt_salary VARCHAR, chinese_name VARCHAR) ### Response: ### Response: SELECT COUNT(govt_salary) FROM table_17964087_2 WHERE chinese_name = "盧奕基"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What's the highest number of silver for 9 bronze and less than 27 total? ### Context: CREATE TABLE table_name_43 (silver INTEGER, bronze VARCHAR, total VARCHAR) ### Response: ### Response: SELECT MAX(silver) FROM table_name_43 WHERE bronze = 9 AND total < 27</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the attendance at the game that resulted in w 24-20? ### Context: CREATE TABLE table_13258806_2 (attendance VARCHAR, result VARCHAR) ### Response: ### Response: SELECT attendance FROM table_13258806_2 WHERE result = "W 24-20"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 students in Fall 09 from the state that had 3940 in Fall 07? ### Context: CREATE TABLE table_15055594_6 (fall_09 INTEGER, fall_07 VARCHAR) ### Response: ### Response: SELECT MAX(fall_09) FROM table_15055594_6 WHERE fall_07 = 3940</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 averages had a swimsuit number of 8.42 and an evening gown number that was less than 8.71? ### Context: CREATE TABLE table_name_96 (average INTEGER, swimsuit VARCHAR, evening_gown VARCHAR) ### Response: ### Response: SELECT SUM(average) FROM table_name_96 WHERE swimsuit = 8.42 AND evening_gown < 8.71</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 manner of departure when the date of vacancy is 28 september 2010? ### Context: CREATE TABLE table_27683516_3 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) ### Response: ### Response: SELECT manner_of_departure FROM table_27683516_3 WHERE date_of_vacancy = "28 September 2010"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 shows 4 points? ### Context: CREATE TABLE table_name_65 (year VARCHAR, points VARCHAR) ### Response: ### Response: SELECT year FROM table_name_65 WHERE points = 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: Which Opponents in Final has a Date of september 16, 1990? ### Context: CREATE TABLE table_name_25 (opponents_in_final VARCHAR, date VARCHAR) ### Response: ### Response: SELECT opponents_in_final FROM table_name_25 WHERE date = "september 16, 1990"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the game when Police S.A. was the opponent? ### Context: CREATE TABLE table_name_78 (location VARCHAR, opponent_team VARCHAR) ### Response: ### Response: SELECT location FROM table_name_78 WHERE opponent_team = "police s.a."</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 days have a stage of ss11? ### Context: CREATE TABLE table_21536557_2 (day VARCHAR, stage VARCHAR) ### Response: ### Response: SELECT day FROM table_21536557_2 WHERE stage = "SS11"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the result for the match against Wataru Sakata? ### Context: CREATE TABLE table_name_55 (res VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT res FROM table_name_55 WHERE opponent = "wataru sakata"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 developer of Resident Evil 4? ### Context: CREATE TABLE table_name_4 (developer_s_ VARCHAR, game VARCHAR) ### Response: ### Response: SELECT developer_s_ FROM table_name_4 WHERE game = "resident evil 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 was the result for 10/04/1947? ### Context: CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR) ### Response: ### Response: SELECT result FROM table_name_75 WHERE date = "10/04/1947"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 manufacturer with grid of 11 ### Context: CREATE TABLE table_name_43 (manufacturer VARCHAR, grid VARCHAR) ### Response: ### Response: SELECT manufacturer FROM table_name_43 WHERE grid = 11</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which team played on April 9? ### Context: CREATE TABLE table_27744976_11 (team VARCHAR, date VARCHAR) ### Response: ### Response: SELECT team FROM table_27744976_11 WHERE date = "April 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: Name the Finish which has a Total of 287? ### Context: CREATE TABLE table_name_20 (finish VARCHAR, total VARCHAR) ### Response: ### Response: SELECT finish FROM table_name_20 WHERE total = 287</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph? ### Context: CREATE TABLE table_14209455_1 (fri_30_may VARCHAR, mon_26_may VARCHAR) ### Response: ### Response: SELECT fri_30_may FROM table_14209455_1 WHERE mon_26_may = "19' 02.890 118.847mph"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 directed the title written by cherry chevapravatdumrong? ### Context: CREATE TABLE table_22269839_1 (directed_by VARCHAR, written_by VARCHAR) ### Response: ### Response: SELECT directed_by FROM table_22269839_1 WHERE written_by = "Cherry Chevapravatdumrong"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Try Diff, when Points Against is 213? ### Context: CREATE TABLE table_name_42 (try_diff VARCHAR, points_against VARCHAR) ### Response: ### Response: SELECT try_diff FROM table_name_42 WHERE points_against = "213"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was played on October 1, 2006? ### Context: CREATE TABLE table_name_7 (tournament VARCHAR, date VARCHAR) ### Response: ### Response: SELECT tournament FROM table_name_7 WHERE date = "october 1, 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's the loss of who has a Save of Miguel Saladin and played against Chinatrust Whales? ### Context: CREATE TABLE table_name_56 (loss VARCHAR, opponent VARCHAR, save VARCHAR) ### Response: ### Response: SELECT loss FROM table_name_56 WHERE opponent = "chinatrust whales" AND save = "miguel saladin"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 nationality of the player Tom Boswell? ### Context: CREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR) ### Response: ### Response: SELECT nationality FROM table_name_74 WHERE player = "tom boswell"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 segment D for umbrellas ### Context: CREATE TABLE table_name_60 (segment_d VARCHAR, segment_a VARCHAR) ### Response: ### Response: SELECT segment_d FROM table_name_60 WHERE segment_a = "umbrellas"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 competition on 25/08/07? ### Context: CREATE TABLE table_name_52 (competition VARCHAR, date VARCHAR) ### Response: ### Response: SELECT competition FROM table_name_52 WHERE date = "25/08/07"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 grid for the driver who earned 14 points? ### Context: CREATE TABLE table_17304504_1 (grid VARCHAR, points VARCHAR) ### Response: ### Response: SELECT grid FROM table_17304504_1 WHERE points = "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 was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7. ### Context: CREATE TABLE table_name_5 (rank INTEGER, name VARCHAR, appearances VARCHAR) ### Response: ### Response: SELECT SUM(rank) FROM table_name_5 WHERE name = "fernando cavenaghi" AND appearances < 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: How much Overall has a Pick # smaller than 20, and a Round smaller than 6? ### Context: CREATE TABLE table_name_13 (overall INTEGER, pick__number VARCHAR, round VARCHAR) ### Response: ### Response: SELECT SUM(overall) FROM table_name_13 WHERE pick__number < 20 AND round < 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's the title of the episode seen by 3.8 million people in the US? ### Context: CREATE TABLE table_20046379_3 (title VARCHAR, us_viewers__millions_ VARCHAR) ### Response: ### Response: SELECT title FROM table_20046379_3 WHERE us_viewers__millions_ = "3.8"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the winning span of the name martin kaymer? ### Context: CREATE TABLE table_1953516_1 (winning_span VARCHAR, name VARCHAR) ### Response: ### Response: SELECT winning_span FROM table_1953516_1 WHERE name = "Martin Kaymer"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 saint-andré's population? ### Context: CREATE TABLE table_name_62 (population VARCHAR, official_name VARCHAR) ### Response: ### Response: SELECT population FROM table_name_62 WHERE official_name = "saint-andré"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What nation has more than 0 silver medals and is ranked 1? ### Context: CREATE TABLE table_name_27 (nation VARCHAR, silver VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT nation FROM table_name_27 WHERE silver > 0 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 the Date of Tie no 21? ### Context: CREATE TABLE table_name_13 (date VARCHAR, tie_no VARCHAR) ### Response: ### Response: SELECT date FROM table_name_13 WHERE tie_no = "21"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: For the team whose shirt sponsor is Krombacher, who is the team captain? ### Context: CREATE TABLE table_name_12 (team VARCHAR, shirt_sponsor VARCHAR) ### Response: ### Response: SELECT team AS Captain FROM table_name_12 WHERE shirt_sponsor = "krombacher"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0? ### Context: CREATE TABLE table_name_9 (uefa_champions_league INTEGER, la_liga VARCHAR, copa_del_rey VARCHAR) ### Response: ### Response: SELECT MIN(uefa_champions_league) FROM table_name_9 WHERE la_liga = 17 AND copa_del_rey > 0</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many bronzes have a Total of 9? ### Context: CREATE TABLE table_name_68 (bronze INTEGER, total VARCHAR) ### Response: ### Response: SELECT SUM(bronze) FROM table_name_68 WHERE total = 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 total average for McCain% of 55.0% and Obama# higher than 3,487? ### Context: CREATE TABLE table_name_52 (total INTEGER, mccain_percentage VARCHAR, obama_number VARCHAR) ### Response: ### Response: SELECT AVG(total) FROM table_name_52 WHERE mccain_percentage = "55.0%" AND obama_number > 3 OFFSET 487</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Silver with a Bronze that is larger than 0 with a Gold smaller than 0? ### Context: CREATE TABLE table_name_26 (silver INTEGER, bronze VARCHAR, gold VARCHAR) ### Response: ### Response: SELECT SUM(silver) FROM table_name_26 WHERE bronze > 0 AND gold < 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: Name the number of points for october 11 ### Context: CREATE TABLE table_15607589_2 (points_for INTEGER, date VARCHAR) ### Response: ### Response: SELECT MAX(points_for) FROM table_15607589_2 WHERE date = "October 11"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the average week for the gaime against the philadelphia eagles with less than 31,066 in attendance? ### Context: CREATE TABLE table_name_14 (week INTEGER, opponent VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT AVG(week) FROM table_name_14 WHERE opponent = "philadelphia eagles" AND attendance < 31 OFFSET 066</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 To par for United States golfer fred couples? ### Context: CREATE TABLE table_name_17 (to_par VARCHAR, country VARCHAR, player VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_17 WHERE country = "united states" AND player = "fred couples"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What's the total of rank number 6 with more than 2 silver? ### Context: CREATE TABLE table_name_71 (total INTEGER, rank VARCHAR, silver VARCHAR) ### Response: ### Response: SELECT MAX(total) FROM table_name_71 WHERE rank = "6" AND silver > 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: Where is the audition city when the venue is upi convention center? ### Context: CREATE TABLE table_28793672_1 (audition_city VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT audition_city FROM table_28793672_1 WHERE venue = "UPI Convention Center"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many Points a February smaller than 1 have? ### Context: CREATE TABLE table_name_5 (points INTEGER, february INTEGER) ### Response: ### Response: SELECT MIN(points) FROM table_name_5 WHERE february < 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 time of December 15, 2010? ### Context: CREATE TABLE table_name_3 (time VARCHAR, date VARCHAR) ### Response: ### Response: SELECT time FROM table_name_3 WHERE date = "december 15, 2010"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 city whose first season was in 1996? ### Context: CREATE TABLE table_name_32 (city VARCHAR, first_season VARCHAR) ### Response: ### Response: SELECT city FROM table_name_32 WHERE first_season = 1996</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 value for Solo, when the value of Sacks is 2, and when the Team is New York Jets? ### Context: CREATE TABLE table_name_45 (solo VARCHAR, sacks VARCHAR, team VARCHAR) ### Response: ### Response: SELECT COUNT(solo) FROM table_name_45 WHERE sacks = 2 AND team = "new york jets"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Wins, when Draws is less than 5, when Goals is greater than 49, and when Played is greater than 30? ### Context: CREATE TABLE table_name_93 (wins VARCHAR, played VARCHAR, draws VARCHAR, goals_against VARCHAR) ### Response: ### Response: SELECT COUNT(wins) FROM table_name_93 WHERE draws < 5 AND goals_against > 49 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 does the network Star Cricket originate? ### Context: CREATE TABLE table_name_25 (origin_of_programming VARCHAR, genre VARCHAR, network VARCHAR) ### Response: ### Response: SELECT origin_of_programming FROM table_name_25 WHERE genre = "cricket" AND network = "star cricket"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who is the prime minister that had a term that ended on 5 March 1930? ### Context: CREATE TABLE table_name_53 (name VARCHAR, term_end VARCHAR) ### Response: ### Response: SELECT name FROM table_name_53 WHERE term_end = "5 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: Which player debuted before 1943, played for the club in 1942, played less than 12 games, and scored less than 11 goals? ### Context: CREATE TABLE table_name_27 (player VARCHAR, years_at_club VARCHAR, goals VARCHAR, debut_year VARCHAR, games VARCHAR) ### Response: ### Response: SELECT player FROM table_name_27 WHERE debut_year < 1943 AND games < 12 AND goals < 11 AND years_at_club = "1942"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 segment C are there in the episode where segment D is bicycle tires? ### Context: CREATE TABLE table_15187735_20 (segment_c VARCHAR, segment_d VARCHAR) ### Response: ### Response: SELECT COUNT(segment_c) FROM table_15187735_20 WHERE segment_d = "Bicycle Tires"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Saint-Jacques has what as the area km 2? ### Context: CREATE TABLE table_name_73 (area_km_2 VARCHAR, official_name VARCHAR) ### Response: ### Response: SELECT area_km_2 FROM table_name_73 WHERE official_name = "saint-jacques"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mountain range contains Sierra Blanca Peak? ### Context: CREATE TABLE table_name_68 (mountain_range VARCHAR, mountain_peak VARCHAR) ### Response: ### Response: SELECT mountain_range FROM table_name_68 WHERE mountain_peak = "sierra blanca peak"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 previous conference for the team with the Governors as their mascot that joined the Indiana Lake Shore conference? ### Context: CREATE TABLE table_name_88 (previous_conference VARCHAR, conference_joined VARCHAR, mascot VARCHAR) ### Response: ### Response: SELECT previous_conference FROM table_name_88 WHERE conference_joined = "indiana lake shore" AND mascot = "governors"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 type of institution in Kent State University? ### Context: CREATE TABLE table_261946_3 (type VARCHAR, location__all_in_ohio_ VARCHAR) ### Response: ### Response: SELECT type FROM table_261946_3 WHERE location__all_in_ohio_ = "Kent"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Birthplace, when Ring Name is Masunoyama Tomoharu? ### Context: CREATE TABLE table_name_70 (birthplace VARCHAR, ring_name VARCHAR) ### Response: ### Response: SELECT birthplace FROM table_name_70 WHERE ring_name = "masunoyama tomoharu"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the maximum number in the season wher the us viewers is 2.59? ### Context: CREATE TABLE table_20726262_4 (no_in_season INTEGER, usviewers__million_ VARCHAR) ### Response: ### Response: SELECT MAX(no_in_season) FROM table_20726262_4 WHERE usviewers__million_ = "2.59"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 expects their project completion in 2017? ### Context: CREATE TABLE table_name_93 (city VARCHAR, expected_completion VARCHAR) ### Response: ### Response: SELECT city FROM table_name_93 WHERE expected_completion = "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 is the Outcome when the partner was kristof vliegen? ### Context: CREATE TABLE table_name_20 (outcome VARCHAR, partner VARCHAR) ### Response: ### Response: SELECT outcome FROM table_name_20 WHERE partner = "kristof vliegen"</s>