text
stringlengths
371
1.02k
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What's the release date for the processor spec number SLBEQ(d0)? ### Input: CREATE TABLE table_name_29 (release_date VARCHAR, sspec_number VARCHAR) ### Response:[/INST]SELECT release_date FROM table_name_29 WHERE sspec_number = "slbeq(d0)"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the HDTV status of the r-light television service? ### Input: CREATE TABLE table_name_12 (hdtv VARCHAR, television_service VARCHAR) ### Response:[/INST]SELECT hdtv FROM table_name_12 WHERE television_service = "r-light"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the size of the biggest crowd for a game where Fitzroy was the away team? ### Input: CREATE TABLE table_name_29 (crowd INTEGER, away_team VARCHAR) ### Response:[/INST]SELECT MAX(crowd) FROM table_name_29 WHERE away_team = "fitzroy"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What's the D ERP in San Martin Texmelucan, Puebla? ### Input: CREATE TABLE table_name_12 (d_erp VARCHAR, city_of_license VARCHAR) ### Response:[/INST]SELECT d_erp FROM table_name_12 WHERE city_of_license = "san martin texmelucan, puebla"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Who wrote the teleplay for the episode directed by Tim Robbins? ### Input: CREATE TABLE table_26914076_4 (teleplay_by VARCHAR, directed_by VARCHAR) ### Response:[/INST]SELECT teleplay_by FROM table_26914076_4 WHERE directed_by = "Tim Robbins"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Where did the away team have round 2? ### Input: CREATE TABLE table_name_71 (venue VARCHAR, away_team VARCHAR) ### Response:[/INST]SELECT venue FROM table_name_71 WHERE away_team = "round 2"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which engineers have never visited to maintain the assets? List the engineer first name and last name. ### Input: CREATE TABLE Engineer_Visits (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR); CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR) ### Response:[/INST]SELECT first_name, last_name FROM Maintenance_Engineers WHERE NOT engineer_id IN (SELECT engineer_id FROM Engineer_Visits)</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: what is the score when the partner is alexandra fusai? ### Input: CREATE TABLE table_name_67 (score VARCHAR, partner VARCHAR) ### Response:[/INST]SELECT score FROM table_name_67 WHERE partner = "alexandra fusai"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What venue did melbourne play at as the away team? ### Input: CREATE TABLE table_name_52 (venue VARCHAR, away_team VARCHAR) ### Response:[/INST]SELECT venue FROM table_name_52 WHERE away_team = "melbourne"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What's the Ikavian translation of the Ijekavian word lijep? ### Input: CREATE TABLE table_27730_9 (ikavian VARCHAR, ijekavian VARCHAR) ### Response:[/INST]SELECT ikavian FROM table_27730_9 WHERE ijekavian = "lijep"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which Color commentator has a Channel of fsn new england, and a Year of 2004-05? ### Input: CREATE TABLE table_name_41 (color_commentator_s_ VARCHAR, channel VARCHAR, year VARCHAR) ### Response:[/INST]SELECT color_commentator_s_ FROM table_name_41 WHERE channel = "fsn new england" AND year = "2004-05"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: which attendance has a Loss of drese (0-2)? ### Input: CREATE TABLE table_name_24 (attendance VARCHAR, loss VARCHAR) ### Response:[/INST]SELECT attendance FROM table_name_24 WHERE loss = "drese (0-2)"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which Condition has a Bleeding time of unaffected and a Prothrombin time of prolonged? ### Input: CREATE TABLE table_name_75 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR) ### Response:[/INST]SELECT condition FROM table_name_75 WHERE bleeding_time = "unaffected" AND prothrombin_time = "prolonged"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the 2012 population for the state whose capital is Santa Fe? ### Input: CREATE TABLE table_name_61 (population_est__2012_ VARCHAR, capital VARCHAR) ### Response:[/INST]SELECT population_est__2012_ FROM table_name_61 WHERE capital = "santa fe"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: what is the rank when silver is 0, bronze is more than 1 and the total is more than 3? ### Input: CREATE TABLE table_name_32 (rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) ### Response:[/INST]SELECT rank FROM table_name_32 WHERE silver = 0 AND bronze > 1 AND total > 3</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Who was the away team when Queensland Roar was the home team in the round less than 3? ### Input: CREATE TABLE table_name_80 (away_team VARCHAR, round VARCHAR, home_team VARCHAR) ### Response:[/INST]SELECT away_team FROM table_name_80 WHERE round < 3 AND home_team = "queensland roar"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What was the longitude of the township with a latitude of 48.075823? ### Input: CREATE TABLE table_18600760_3 (longitude VARCHAR, latitude VARCHAR) ### Response:[/INST]SELECT longitude FROM table_18600760_3 WHERE latitude = "48.075823"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the total number of silvers associated with 3 bronzes, a total over 6, and a rank of 3? ### Input: CREATE TABLE table_name_11 (silver VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR) ### Response:[/INST]SELECT COUNT(silver) FROM table_name_11 WHERE bronze = "3" AND rank = "3" AND total > 6</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: When has Score of 4–5 and quebec nordiques as Visitor? ### Input: CREATE TABLE table_name_92 (date VARCHAR, score VARCHAR, visitor VARCHAR) ### Response:[/INST]SELECT date FROM table_name_92 WHERE score = "4–5" AND visitor = "quebec nordiques"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Decision of parent, and a Home of philadelphia, and a Record of 20–16–7 is on what date? ### Input: CREATE TABLE table_name_23 (date VARCHAR, record VARCHAR, decision VARCHAR, home VARCHAR) ### Response:[/INST]SELECT date FROM table_name_23 WHERE decision = "parent" AND home = "philadelphia" AND record = "20–16–7"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: what's the mole with winner being frédérique huydts ### Input: CREATE TABLE table_13036251_1 (the_mole VARCHAR, winner VARCHAR) ### Response:[/INST]SELECT the_mole FROM table_13036251_1 WHERE winner = "Frédérique Huydts"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the preliminaries of the contestant with a swimsuit less than 8.948 and an interview of 8.997? ### Input: CREATE TABLE table_name_99 (preliminaries VARCHAR, swimsuit VARCHAR, interview VARCHAR) ### Response:[/INST]SELECT preliminaries FROM table_name_99 WHERE swimsuit < 8.948 AND interview = 8.997</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: I want the average for evening gown of 7.52 and swimsuit larger than 7.78 ### Input: CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR) ### Response:[/INST]SELECT AVG(average) FROM table_name_54 WHERE evening_gown = 7.52 AND swimsuit > 7.78</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: In Tie #19, what was the name of the away team? ### Input: CREATE TABLE table_name_27 (away_team VARCHAR, tie_no VARCHAR) ### Response:[/INST]SELECT away_team FROM table_name_27 WHERE tie_no = "19"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Who was the opponent on the date of November 29, 1970 and the attendance was less than 31,427? ### Input: CREATE TABLE table_name_41 (week INTEGER, date VARCHAR, attendance VARCHAR) ### Response:[/INST]SELECT AVG(week) FROM table_name_41 WHERE date = "november 29, 1970" AND attendance < 31 OFFSET 427</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which Laps have a Time/Retired of + 4 laps, and a Grid larger than 18? ### Input: CREATE TABLE table_name_72 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) ### Response:[/INST]SELECT AVG(laps) FROM table_name_72 WHERE time_retired = "+ 4 laps" AND grid > 18</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: who was the winner in 2003? ### Input: CREATE TABLE table_name_53 (winner VARCHAR, year VARCHAR) ### Response:[/INST]SELECT winner FROM table_name_53 WHERE year = "2003"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Who remixed a music video in 1985? ### Input: CREATE TABLE table_name_22 (remixed_by VARCHAR, year VARCHAR, version VARCHAR) ### Response:[/INST]SELECT remixed_by FROM table_name_22 WHERE year = 1985 AND version = "music video"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the lowest win% in the 1999-2013 season? ### Input: CREATE TABLE table_name_66 (win__percentage INTEGER, season VARCHAR) ### Response:[/INST]SELECT MIN(win__percentage) FROM table_name_66 WHERE season = "1999-2013"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Name the number of game 2-6 ### Input: CREATE TABLE table_27537870_5 (game VARCHAR, score VARCHAR) ### Response:[/INST]SELECT COUNT(game) FROM table_27537870_5 WHERE score = "2-6"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the To par for Robert Allenby from Australia ### Input: CREATE TABLE table_name_6 (to_par VARCHAR, country VARCHAR, player VARCHAR) ### Response:[/INST]SELECT to_par FROM table_name_6 WHERE country = "australia" AND player = "robert allenby"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which Home team has a Venue of arden street oval? ### Input: CREATE TABLE table_name_64 (home_team VARCHAR, venue VARCHAR) ### Response:[/INST]SELECT home_team FROM table_name_64 WHERE venue = "arden street oval"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: How many were the US viewers (in millions) of the episode that was written by Gordon C. Lonsdale? ### Input: CREATE TABLE table_26826304_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) ### Response:[/INST]SELECT us_viewers__millions_ FROM table_26826304_1 WHERE directed_by = "Gordon C. Lonsdale"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Name the opponent for game 5 ### Input: CREATE TABLE table_name_25 (opponent VARCHAR, game VARCHAR) ### Response:[/INST]SELECT opponent FROM table_name_25 WHERE game = 5</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: In the Georgia 6 district, what is the elected party? ### Input: CREATE TABLE table_1341663_11 (party VARCHAR, district VARCHAR) ### Response:[/INST]SELECT party FROM table_1341663_11 WHERE district = "Georgia 6"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which Position has a Round smaller than 14, and a College of illinois? ### Input: CREATE TABLE table_name_88 (position VARCHAR, round VARCHAR, college VARCHAR) ### Response:[/INST]SELECT position FROM table_name_88 WHERE round < 14 AND college = "illinois"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What district is bill thomas from? ### Input: CREATE TABLE table_1341453_7 (district VARCHAR, incumbent VARCHAR) ### Response:[/INST]SELECT district FROM table_1341453_7 WHERE incumbent = "Bill Thomas"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the try bonus for Ruthin RFC? ### Input: CREATE TABLE table_14058433_3 (try_bonus VARCHAR, club VARCHAR) ### Response:[/INST]SELECT try_bonus FROM table_14058433_3 WHERE club = "Ruthin RFC"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which Total has an olympic bronze medalist? ### Input: CREATE TABLE table_name_27 (total VARCHAR, rank_points VARCHAR) ### Response:[/INST]SELECT total FROM table_name_27 WHERE rank_points = "olympic bronze medalist"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What was the name of the episode that had 14.52 viewers? ### Input: CREATE TABLE table_22904707_1 (title VARCHAR, us_viewers__million_ VARCHAR) ### Response:[/INST]SELECT title FROM table_22904707_1 WHERE us_viewers__million_ = "14.52"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: when was the destroyer launched when it was laid down on 14 august 1942? ### Input: CREATE TABLE table_name_91 (launched VARCHAR, laid_down VARCHAR) ### Response:[/INST]SELECT launched FROM table_name_91 WHERE laid_down = "14 august 1942"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What was the match that happened in Bishop's Stortford? ### Input: CREATE TABLE table_name_91 (match VARCHAR, opponent VARCHAR) ### Response:[/INST]SELECT match FROM table_name_91 WHERE opponent = "bishop's stortford"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Name the qual with start of totals ### Input: CREATE TABLE table_name_61 (qual VARCHAR, start VARCHAR) ### Response:[/INST]SELECT qual FROM table_name_61 WHERE start = "totals"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What are average launches with 0 failures, rocket of Soyuz, and less than 12 successes? ### Input: CREATE TABLE table_name_3 (launches INTEGER, successes VARCHAR, failures VARCHAR, rocket VARCHAR) ### Response:[/INST]SELECT AVG(launches) FROM table_name_3 WHERE failures = 0 AND rocket = "soyuz" AND successes < 12</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the Prize amount of Winner Dominik Nitsche? ### Input: CREATE TABLE table_name_15 (prize VARCHAR, winner VARCHAR) ### Response:[/INST]SELECT prize FROM table_name_15 WHERE winner = "dominik nitsche"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What was the NFL Recap of the game held on December 24, 2005? ### Input: CREATE TABLE table_name_70 (nfl_recap VARCHAR, date VARCHAR) ### Response:[/INST]SELECT nfl_recap FROM table_name_70 WHERE date = "december 24, 2005"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Name the 1811 for 1801 of 1801 ### Input: CREATE TABLE table_name_47 (Id VARCHAR) ### Response:[/INST]SELECT 1811 FROM table_name_47 WHERE "1801" = "1801"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is Case Suffix (Case), when English Meaning is "to Georgia, in Georgia"? ### Input: CREATE TABLE table_name_54 (case_suffix__case_ VARCHAR, english_meaning VARCHAR) ### Response:[/INST]SELECT case_suffix__case_ FROM table_name_54 WHERE english_meaning = "to georgia, in georgia"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What was Arnold Palmer's score in the tournamnet? ### Input: CREATE TABLE table_name_5 (score VARCHAR, player VARCHAR) ### Response:[/INST]SELECT score FROM table_name_5 WHERE player = "arnold palmer"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What day is richmond the away side? ### Input: CREATE TABLE table_name_71 (date VARCHAR, away_team VARCHAR) ### Response:[/INST]SELECT date FROM table_name_71 WHERE away_team = "richmond"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which rounds were held on August 9? ### Input: CREATE TABLE table_10725629_2 (rnd VARCHAR, date VARCHAR) ### Response:[/INST]SELECT rnd FROM table_10725629_2 WHERE date = "August 9"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What was the 1st leg when team 2 was nov milenium? ### Input: CREATE TABLE table_name_7 (team_2 VARCHAR) ### Response:[/INST]SELECT 1 AS st_leg FROM table_name_7 WHERE team_2 = "nov milenium"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the division in the season with 13 tms and pos smaller than 8? ### Input: CREATE TABLE table_name_36 (division VARCHAR, tms VARCHAR, pos VARCHAR) ### Response:[/INST]SELECT COUNT(division) FROM table_name_36 WHERE tms = 13 AND pos < 8</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What was the latest year for the film Gaon Ki Ganga? ### Input: CREATE TABLE table_name_95 (year INTEGER, film_name VARCHAR) ### Response:[/INST]SELECT MAX(year) FROM table_name_95 WHERE film_name = "gaon ki ganga"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What was the final result when the Mountaineers scored less than 13 and their opponents scored 26? ### Input: CREATE TABLE table_name_32 (result VARCHAR, points_for VARCHAR, points_against VARCHAR) ### Response:[/INST]SELECT result FROM table_name_32 WHERE points_for < 13 AND points_against = 26</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which Opponent has a Attendance of 7,034? ### Input: CREATE TABLE table_name_29 (opponent VARCHAR, attendance VARCHAR) ### Response:[/INST]SELECT opponent FROM table_name_29 WHERE attendance = "7,034"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Who is the republican Jon Huntsman that was administered June 19, 2008? ### Input: CREATE TABLE table_name_76 (republican VARCHAR, dates_administered VARCHAR) ### Response:[/INST]SELECT republican AS :_jon_huntsman FROM table_name_76 WHERE dates_administered = "june 19, 2008"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What was the film title that emma thompson was the actress nominated for best supporting actress? ### Input: CREATE TABLE table_name_81 (film_title_used_in_nomination VARCHAR, actor_actress VARCHAR, category VARCHAR) ### Response:[/INST]SELECT film_title_used_in_nomination FROM table_name_81 WHERE actor_actress = "emma thompson" AND category = "best supporting actress"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the Digital/analog signal with a Chipset based on with radeon 8500? ### Input: CREATE TABLE table_name_50 (digital_analog_signal VARCHAR, chipset_based_on VARCHAR) ### Response:[/INST]SELECT digital_analog_signal FROM table_name_50 WHERE chipset_based_on = "radeon 8500"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: How many products have the title "Jak 3"? ### Input: CREATE TABLE table_10875694_11 (product_no VARCHAR, title VARCHAR) ### Response:[/INST]SELECT COUNT(product_no) FROM table_10875694_11 WHERE title = "Jak 3"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the score of the tournament with younes el aynaoui as the opponent? ### Input: CREATE TABLE table_name_37 (score VARCHAR, opponent VARCHAR) ### Response:[/INST]SELECT score FROM table_name_37 WHERE opponent = "younes el aynaoui"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Who is the home captain at the Adelaide Oval? ### Input: CREATE TABLE table_name_14 (home_captain VARCHAR, venue VARCHAR) ### Response:[/INST]SELECT home_captain FROM table_name_14 WHERE venue = "adelaide oval"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: How many losses did Notre Dame have in 1904? ### Input: CREATE TABLE table_name_43 (losses INTEGER, years VARCHAR) ### Response:[/INST]SELECT AVG(losses) FROM table_name_43 WHERE years = "1904"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the tie number for Middlesbrough? ### Input: CREATE TABLE table_name_46 (tie_no VARCHAR, home_team VARCHAR) ### Response:[/INST]SELECT tie_no FROM table_name_46 WHERE home_team = "middlesbrough"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which competition had a year of 2010 with Snatch weight of 185kg? ### Input: CREATE TABLE table_name_23 (competition VARCHAR, year VARCHAR, snatch VARCHAR) ### Response:[/INST]SELECT competition FROM table_name_23 WHERE year = 2010 AND snatch = "185kg"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What was the score in game 6? ### Input: CREATE TABLE table_23248910_11 (score VARCHAR, game VARCHAR) ### Response:[/INST]SELECT score FROM table_23248910_11 WHERE game = 6</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Group by ships by flag, and return number of ships that have each flag. ### Input: CREATE TABLE ship (flag VARCHAR) ### Response:[/INST]SELECT COUNT(*), flag FROM ship GROUP BY flag</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the largest copa sudamericana number when the others number is less than 0? ### Input: CREATE TABLE table_name_80 (copa_sudamericana INTEGER, others INTEGER) ### Response:[/INST]SELECT MAX(copa_sudamericana) FROM table_name_80 WHERE others < 0</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What was the method of elimination in the chamber with a time of 24:02? ### Input: CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, time VARCHAR) ### Response:[/INST]SELECT method_of_elimination FROM table_24628683_2 WHERE time = "24:02"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What game site had a result at l 21–13? ### Input: CREATE TABLE table_name_27 (game_site VARCHAR, result VARCHAR) ### Response:[/INST]SELECT game_site FROM table_name_27 WHERE result = "l 21–13"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Name the cfl team for steven turner ### Input: CREATE TABLE table_25017530_5 (cfl_team VARCHAR, player VARCHAR) ### Response:[/INST]SELECT cfl_team FROM table_25017530_5 WHERE player = "Steven Turner"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the HDTV of the Music Content Channel? ### Input: CREATE TABLE table_name_60 (hdtv VARCHAR, content VARCHAR) ### Response:[/INST]SELECT hdtv FROM table_name_60 WHERE content = "music"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: How many ranks have an industry of health care? ### Input: CREATE TABLE table_name_42 (rank VARCHAR, primary_industry VARCHAR) ### Response:[/INST]SELECT COUNT(rank) FROM table_name_42 WHERE primary_industry = "health care"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the Accreditation Status, when the Product Name is LG RCS-e Client? ### Input: CREATE TABLE table_name_83 (accreditation_status VARCHAR, product_name VARCHAR) ### Response:[/INST]SELECT accreditation_status FROM table_name_83 WHERE product_name = "lg rcs-e client"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What are all the vicinity (km²) where profits magnificence (2007) is 2nd ### Input: CREATE TABLE table_255812_1 (area__km²_ VARCHAR, income_class__2007_ VARCHAR) ### Response:[/INST]SELECT area__km²_ FROM table_255812_1 WHERE income_class__2007_ = "2nd"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: How many base pairs are there in the tohamai strain? ### Input: CREATE TABLE table_name_90 (base_pairs VARCHAR, strain VARCHAR) ### Response:[/INST]SELECT base_pairs FROM table_name_90 WHERE strain = "tohamai"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Find the number of scientists involved for the projects that require more than 300 hours. ### Input: CREATE TABLE assignedto (project VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR, hours INTEGER) ### Response:[/INST]SELECT COUNT(*), T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code = T2.project WHERE T1.hours > 300 GROUP BY T1.name</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: How many different players does the Washington Redskins have? ### Input: CREATE TABLE table_27132791_3 (player VARCHAR, nfl_team VARCHAR) ### Response:[/INST]SELECT COUNT(player) FROM table_27132791_3 WHERE nfl_team = "Washington Redskins"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Why did the manager who departed on August 1, 2008 leave? ### Input: CREATE TABLE table_name_84 (reason_of_departure VARCHAR, date_outgoing VARCHAR) ### Response:[/INST]SELECT reason_of_departure FROM table_name_84 WHERE date_outgoing = "august 1, 2008"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What round did the fight against travis fulton last? ### Input: CREATE TABLE table_name_10 (round VARCHAR, opponent VARCHAR) ### Response:[/INST]SELECT round FROM table_name_10 WHERE opponent = "travis fulton"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What was the lowest against when the draw was at least 0? ### Input: CREATE TABLE table_name_16 (against INTEGER, draws INTEGER) ### Response:[/INST]SELECT MIN(against) FROM table_name_16 WHERE draws > 0</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: When episode 4 is the missing episode with recovered footage and the 032 is the story number what is the country/territory? ### Input: CREATE TABLE table_1889619_5 (country_territory VARCHAR, story_no VARCHAR, missing_episodes_with_recovered_footage VARCHAR) ### Response:[/INST]SELECT country_territory FROM table_1889619_5 WHERE story_no = "032" AND missing_episodes_with_recovered_footage = "Episode 4"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the year that the issue price (bu) is $26.95? ### Input: CREATE TABLE table_11916083_1 (year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR) ### Response:[/INST]SELECT year FROM table_11916083_1 WHERE issue_price__bu_[_clarification_needed_] = "$26.95"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: whatis hte station code where users are 130368? ### Input: CREATE TABLE table_14748457_1 (station__and_code_ VARCHAR, station_users_2008_9 VARCHAR) ### Response:[/INST]SELECT station__and_code_ FROM table_14748457_1 WHERE station_users_2008_9 = "130368"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which Score has a Country of england, and a Year larger than 1971? ### Input: CREATE TABLE table_name_77 (score VARCHAR, country VARCHAR, year VARCHAR) ### Response:[/INST]SELECT score FROM table_name_77 WHERE country = "england" AND year > 1971</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: name the civil parish for garryduff ### Input: CREATE TABLE table_30120664_1 (civil_parish VARCHAR, townland VARCHAR) ### Response:[/INST]SELECT civil_parish FROM table_30120664_1 WHERE townland = "Garryduff"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the CPU speed(s) of the New Plus type hardware? ### Input: CREATE TABLE table_name_74 (cpu_speed VARCHAR, type VARCHAR) ### Response:[/INST]SELECT cpu_speed FROM table_name_74 WHERE type = "new plus"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What were the wounded for complement of 46 off 656 men? ### Input: CREATE TABLE table_11793221_4 (wounded VARCHAR, complement VARCHAR) ### Response:[/INST]SELECT wounded FROM table_11793221_4 WHERE complement = "46 off 656 men"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Show the race class and number of races in each class. ### Input: CREATE TABLE race (CLASS VARCHAR) ### Response:[/INST]SELECT CLASS, COUNT(*) FROM race GROUP BY CLASS</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Show the name of each party and the corresponding number of delegates from that party. ### Input: CREATE TABLE election (Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR) ### Response:[/INST]SELECT T2.Party, COUNT(*) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T1.Party</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which Game has High assists of s. threatt (9)? ### Input: CREATE TABLE table_name_97 (game INTEGER, high_assists VARCHAR) ### Response:[/INST]SELECT MIN(game) FROM table_name_97 WHERE high_assists = "s. threatt (9)"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Who had the lowest Best time that also had a Qual 2 of 49.887? ### Input: CREATE TABLE table_name_13 (best INTEGER, qual_2 VARCHAR) ### Response:[/INST]SELECT MIN(best) FROM table_name_13 WHERE qual_2 = "49.887"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the highest number of matches with less than 2 draws that had an efficiency percent of 25%? ### Input: CREATE TABLE table_name_46 (matches INTEGER, draws VARCHAR, efficiency__percentage VARCHAR) ### Response:[/INST]SELECT MAX(matches) FROM table_name_46 WHERE draws < 2 AND efficiency__percentage = "25%"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 place? ### Input: CREATE TABLE table_name_98 (to_par VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR) ### Response:[/INST]SELECT to_par FROM table_name_98 WHERE score < 67 AND place = "t1" AND player = "tiger woods"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: How many subsidiaries are there of Postermobile Advertising Limited? ### Input: CREATE TABLE table_1756264_2 (subsidiaries INTEGER, company_name VARCHAR) ### Response:[/INST]SELECT MIN(subsidiaries) FROM table_1756264_2 WHERE company_name = "POSTERMOBILE ADVERTISING LIMITED"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What census ranking has an area greater than 578.28 km2? ### Input: CREATE TABLE table_name_17 (census_ranking VARCHAR, area_km_2 INTEGER) ### Response:[/INST]SELECT census_ranking FROM table_name_17 WHERE area_km_2 > 578.28</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the name of the episode written by Sheila Lawrence & Henry Alonso Myers? ### Input: CREATE TABLE table_12146637_1 (episode_title VARCHAR, writer_s_ VARCHAR) ### Response:[/INST]SELECT episode_title FROM table_12146637_1 WHERE writer_s_ = "Sheila Lawrence & Henry Alonso Myers"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: How many Losses have an NTFA Div 2 of perth, and Wins smaller than 10? ### Input: CREATE TABLE table_name_45 (losses VARCHAR, ntfa_div_2 VARCHAR, wins VARCHAR) ### Response:[/INST]SELECT COUNT(losses) FROM table_name_45 WHERE ntfa_div_2 = "perth" AND wins < 10</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: What is the Opponents in Final in the match with a Score in Final of 4–6, 1–6 played on Clay Surface? ### Input: CREATE TABLE table_name_48 (opponents_in_final VARCHAR, score_in_final VARCHAR, surface VARCHAR) ### Response:[/INST]SELECT opponents_in_final FROM table_name_48 WHERE score_in_final = "4–6, 1–6" AND surface = "clay"</s>
<s>[INST]<<SYS>>Below is an instruction that describes a SQL generation task, paired with an input that provides further context about the available table schemas. Write SQL code that appropriately answers the request.<</SYS>> ### Instruction: Which Local name has a Network of nova tv? ### Input: CREATE TABLE table_name_60 (local_name VARCHAR, network VARCHAR) ### Response:[/INST]SELECT local_name FROM table_name_60 WHERE network = "nova tv"</s>