text_output
stringlengths
114
770
<s>[INST] <<SYS>> CREATE TABLE table_name_1 (team VARCHAR, circuit VARCHAR) <</SYS>> SELECT team FROM table_name_1 WHERE circuit = "phillip island grand prix circuit"[/INST] What is Team, when Circuit is Phillip Island Grand Prix Circuit?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_30 (result VARCHAR, venue VARCHAR) <</SYS>> SELECT result FROM table_name_30 WHERE venue = "queen's park oval"[/INST] What was the result of the game hosted at Queen's Park Oval?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_98 (injured VARCHAR, date VARCHAR) <</SYS>> SELECT injured FROM table_name_98 WHERE date = "09.15 sep. 15"[/INST] What is Injured, when Date is "09.15 Sep. 15"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_57 (manner_of_departure VARCHAR, team VARCHAR) <</SYS>> SELECT manner_of_departure FROM table_name_57 WHERE team = "motherwell"[/INST] What is Motherwell Team's manner of departure?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_29 (top_5 INTEGER, wins VARCHAR, top_25 VARCHAR, cuts_made VARCHAR) <</SYS>> SELECT MAX(top_5) FROM table_name_29 WHERE top_25 < 4 AND cuts_made > 3 AND wins < 0[/INST] what is the highest top-5 when the top-25 is less than 4, cuts made is more than 3 and wins is 0?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_20 (entrant VARCHAR, chassis VARCHAR) <</SYS>> SELECT entrant FROM table_name_20 WHERE chassis = "march cg891"[/INST] Which entrant had a chassis of March CG891?</s>
<s>[INST] <<SYS>> CREATE TABLE table_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR) <</SYS>> SELECT COUNT(motogp_winner) FROM table_26781017_1 WHERE circuit = "Catalunya"[/INST] How many MotoGP winners were there when the circuit was Catalunya?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_12 (samples_taken INTEGER, melamine_content_mg_kg_ VARCHAR, producer VARCHAR) <</SYS>> SELECT SUM(samples_taken) FROM table_name_12 WHERE melamine_content_mg_kg_ < 53.4 AND producer = "qingdao suncare nutritional technology"[/INST] How many samples taken from producer Qingdao Suncare Nutritional Technology with a melamine content less than 53.4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29679510_2 (week INTEGER) <</SYS>> SELECT MIN(week) FROM table_29679510_2[/INST] In what week was the first game played?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_87 (silver INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR) <</SYS>> SELECT AVG(silver) FROM table_name_87 WHERE bronze < 15 AND nation = "montenegro" AND total > 11[/INST] What is the average amount of silver medals Montenegro, who has less than 15 bronze and more than 11 total medals, has?</s>
<s>[INST] <<SYS>> CREATE TABLE BOOKINGS (Status_Code VARCHAR) <</SYS>> SELECT Status_Code FROM BOOKINGS GROUP BY Status_Code ORDER BY COUNT(*) DESC LIMIT 1[/INST] What is the most frequent status of bookings?</s>
<s>[INST] <<SYS>> CREATE TABLE table_28962227_1 (finale VARCHAR, runners_up VARCHAR) <</SYS>> SELECT finale FROM table_28962227_1 WHERE runners_up = "Holly Bell"[/INST] What is the date of the finale where Holly Bell was runner-up?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_14 (record VARCHAR, event VARCHAR) <</SYS>> SELECT record FROM table_name_14 WHERE event = "ufc 27"[/INST] What is the record during the event, UFC 27?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_55 (release_date VARCHAR, sspec_number VARCHAR) <</SYS>> SELECT release_date FROM table_name_55 WHERE sspec_number = "sr0pk(e1)"[/INST] Which Release date has a sSpec number of sr0pk(e1)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22871316_6 (high_points VARCHAR, date VARCHAR) <</SYS>> SELECT high_points FROM table_22871316_6 WHERE date = "December 2"[/INST] Who did the high points in the game played on December 2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_2 (label VARCHAR, region VARCHAR, catalog VARCHAR) <</SYS>> SELECT label FROM table_name_2 WHERE region = "us" AND catalog = "10008-2"[/INST] Tell me the label for US region and catalog of 10008-2</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_42 (place VARCHAR, score VARCHAR) <</SYS>> SELECT place FROM table_name_42 WHERE score = 68[/INST] In which area was there a score of 68?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_36 (name VARCHAR, direction VARCHAR, length__km_ VARCHAR) <</SYS>> SELECT name FROM table_name_36 WHERE direction = "toyohashi east" AND length__km_ = 24.7[/INST] What line is 24.7 km and head towards Toyohashi East?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29778616_1 (price VARCHAR, manufacturer VARCHAR) <</SYS>> SELECT price FROM table_29778616_1 WHERE manufacturer = "LETech"[/INST] What is the price for the manufacturer LETech?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29087004_3 (title VARCHAR, written_by VARCHAR) <</SYS>> SELECT title FROM table_29087004_3 WHERE written_by = "Eric Trueheart"[/INST] What are the titles of episodes written by Eric Trueheart?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22460085_1 (character VARCHAR, original_manchester_performer VARCHAR) <</SYS>> SELECT character FROM table_22460085_1 WHERE original_manchester_performer = "Lisa Davina Phillip"[/INST] What character did Lisa Davina Phillip portray?</s>
<s>[INST] <<SYS>> CREATE TABLE table_14876228_1 (losses VARCHAR, team VARCHAR) <</SYS>> SELECT losses FROM table_14876228_1 WHERE team = "General Caballero ZC"[/INST] Name the losses for general caballero zc</s>
<s>[INST] <<SYS>> CREATE TABLE Order_items (product_id VARCHAR, order_id VARCHAR) <</SYS>> SELECT product_id, COUNT(DISTINCT order_id) FROM Order_items GROUP BY product_id[/INST] Show the product ids and the number of unique orders containing each product.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (distance VARCHAR, stage VARCHAR) <</SYS>> SELECT distance FROM table_name_73 WHERE stage = "4"[/INST] What's the distance of the course of stage 4?</s>
<s>[INST] <<SYS>> CREATE TABLE customer (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE rental (staff_id VARCHAR, customer_id VARCHAR); CREATE TABLE staff (first_name VARCHAR, last_name VARCHAR, staff_id VARCHAR) <</SYS>> SELECT DISTINCT T1.first_name, T1.last_name FROM staff AS T1 JOIN rental AS T2 ON T1.staff_id = T2.staff_id JOIN customer AS T3 ON T2.customer_id = T3.customer_id WHERE T3.first_name = 'APRIL' AND T3.last_name = 'BURNS'[/INST] What is the full name of the staff member who has rented a film to a customer with the first name April and the last name Burns?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (division INTEGER, year VARCHAR, playoffs VARCHAR, open_cup VARCHAR) <</SYS>> SELECT MIN(division) FROM table_name_91 WHERE playoffs = "did not qualify" AND open_cup = "did not qualify" AND year = "2002"[/INST] What is the lowest division in the playoffs and did not qualify for the Open Cup in 2002?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2896329_1 (handicap VARCHAR, prize_money VARCHAR) <</SYS>> SELECT handicap FROM table_2896329_1 WHERE prize_money = "120s"[/INST] What was the handicap when the prize money was 120s?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_99 (year INTEGER, game VARCHAR) <</SYS>> SELECT MIN(year) FROM table_name_99 WHERE game = "the elder scrolls v: skyrim"[/INST] What is the lowest year for the game called The Elder Scrolls v: Skyrim?</s>
<s>[INST] <<SYS>> CREATE TABLE table_26708105_5 (common_name VARCHAR, accession_number VARCHAR) <</SYS>> SELECT COUNT(common_name) FROM table_26708105_5 WHERE accession_number = "XP_001843282"[/INST] How many times is the accession number xp_001843282?</s>
<s>[INST] <<SYS>> CREATE TABLE table_17322817_6 (location_attendance VARCHAR, game VARCHAR) <</SYS>> SELECT location_attendance FROM table_17322817_6 WHERE game = 20[/INST] Name the location attendance for 20</s>
<s>[INST] <<SYS>> CREATE TABLE table_2159571_1 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR) <</SYS>> SELECT reason_for_change FROM table_2159571_1 WHERE date_of_successors_formal_installation = "March 16, 1960"[/INST] What is every reason for change for the date of successors installation is March 16, 1960?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_80 (surface VARCHAR, date VARCHAR) <</SYS>> SELECT surface FROM table_name_80 WHERE date = "13 february 1994"[/INST] On what type of surface did they play on 13 February 1994?</s>
<s>[INST] <<SYS>> CREATE TABLE Invoices (Order_Quantity INTEGER, payment_method_code VARCHAR) <</SYS>> SELECT AVG(Order_Quantity) FROM Invoices WHERE payment_method_code = "MasterCard"[/INST] What is the average quantities ordered with payment method code "MasterCard" on invoices?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_32 (home_team VARCHAR, tie_no VARCHAR) <</SYS>> SELECT home_team FROM table_name_32 WHERE tie_no = "1"[/INST] What is the home team when the Tie no is 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2413292_1 (semifinal_matches VARCHAR, commercial_name VARCHAR) <</SYS>> SELECT semifinal_matches FROM table_2413292_1 WHERE commercial_name = "Buick WCT Finals"[/INST] Who played in the semi finals matches at the Buick WCT finals?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (title VARCHAR, length VARCHAR, producer_s_ VARCHAR) <</SYS>> SELECT title FROM table_name_91 WHERE length = "3:32" AND producer_s_ = "hadise açıkgöz, yves jongen"[/INST] Which Title has a Length of 3:32, and a Producer(s) of hadise açıkgöz, yves jongen?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_61 (grid INTEGER, time_retired VARCHAR) <</SYS>> SELECT SUM(grid) FROM table_name_61 WHERE time_retired = "1:46:42.3"[/INST] what is the grid when the time/retired is 1:46:42.3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_12828723_3 (tries_against VARCHAR, tries_for VARCHAR) <</SYS>> SELECT tries_against FROM table_12828723_3 WHERE tries_for = "47"[/INST] what's the tries against with tries for being 47</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (member VARCHAR, electorate VARCHAR) <</SYS>> SELECT member FROM table_name_16 WHERE electorate = "cook"[/INST] Which member has Cook as the electorate?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_63 (score INTEGER, event VARCHAR) <</SYS>> SELECT SUM(score) FROM table_name_63 WHERE event = "27 arrow match"[/INST] For the 27 arrow match event, what's the sum of all scores for that event?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1137718_2 (rd INTEGER, location VARCHAR) <</SYS>> SELECT MIN(rd) FROM table_1137718_2 WHERE location = "Hockenheimring"[/INST] Which rd. took place at Hockenheimring?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (date VARCHAR, final_score VARCHAR) <</SYS>> SELECT date FROM table_name_35 WHERE final_score = "7-23"[/INST] What game had the date was it with the final score of 7-23</s>
<s>[INST] <<SYS>> CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR) <</SYS>> SELECT MAX(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "British Columbia"[/INST] what is the most amount of cattle where they live in british columbia</s>
<s>[INST] <<SYS>> CREATE TABLE table_2266976_1 (manufacturer VARCHAR, race_time VARCHAR) <</SYS>> SELECT manufacturer FROM table_2266976_1 WHERE race_time = "2:30:28"[/INST] Who was the manufacturer in the year when the race lasted 2:30:28?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2668173_4 (candidates VARCHAR, incumbent VARCHAR) <</SYS>> SELECT candidates FROM table_2668173_4 WHERE incumbent = "Henry Logan"[/INST] Who were the candidates if the incumbent was Henry Logan?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_84 (silver INTEGER, total INTEGER) <</SYS>> SELECT SUM(silver) FROM table_name_84 WHERE total < 1[/INST] What is the sum of Silver, when Total is less than 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_86 (vctp VARCHAR, vcrt VARCHAR) <</SYS>> SELECT vctp FROM table_name_86 WHERE vcrt = "7.62mm (0.3in) fn mag 60-20 machine gun"[/INST] If there is a VCRT of 7.62mm (0.3in) fn mag 60-20 machine gun, what is the VCTP of that?</s>
<s>[INST] <<SYS>> CREATE TABLE table_14058433_4 (points_against VARCHAR, won VARCHAR) <</SYS>> SELECT points_against FROM table_14058433_4 WHERE won = "11"[/INST] what's the points against with won being 11</s>
<s>[INST] <<SYS>> CREATE TABLE table_23286223_5 (game VARCHAR, high_rebounds VARCHAR) <</SYS>> SELECT game FROM table_23286223_5 WHERE high_rebounds = "Carlos Boozer (8)"[/INST] What's the number of the game in which Carlos Boozer (8) did the high rebounds?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_6 (venue VARCHAR, away_team VARCHAR) <</SYS>> SELECT venue FROM table_name_6 WHERE away_team = "richmond"[/INST] Name the venue when the away team was richmond</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_78 (city VARCHAR, rank VARCHAR, carriers VARCHAR) <</SYS>> SELECT city FROM table_name_78 WHERE rank < 3 AND carriers = "jetblue airways"[/INST] What city had a rank before 3 and primary carrier JetBlue Airways?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_74 (bronze INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR, gold VARCHAR) <</SYS>> SELECT MAX(bronze) FROM table_name_74 WHERE silver = 1 AND gold = 0 AND rank = "11" AND total > 1[/INST] what is the bronze when silver is 1, gold is 0 the rank is 11 and the total is more than 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_15 (released INTEGER, pieces VARCHAR, number VARCHAR) <</SYS>> SELECT MIN(released) FROM table_name_15 WHERE pieces = 339 AND number < 7198[/INST] What was the earliest year with 339 pieces and a number smaller than 7198?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_83 (accreditation_status VARCHAR, product_name VARCHAR) <</SYS>> SELECT accreditation_status FROM table_name_83 WHERE product_name = "lg rcs-e client"[/INST] What is the Accreditation Status, when the Product Name is LG RCS-e Client?</s>
<s>[INST] <<SYS>> CREATE TABLE manufacturers (founder VARCHAR, name VARCHAR) <</SYS>> SELECT founder FROM manufacturers WHERE name LIKE 'S%'[/INST] Find the founder of the company whose name begins with the letter 'S'.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_19 (year INTEGER, issue_price__proof_ VARCHAR, artist VARCHAR) <</SYS>> SELECT AVG(year) FROM table_name_19 WHERE issue_price__proof_ = "$49.95" AND artist = "w.h.j. blakemore"[/INST] What's the average Year with an Issue Price (Proof) of $49.95, and Artist of W.H.J. Blakemore?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (tyre VARCHAR, rounds VARCHAR, driver VARCHAR) <</SYS>> SELECT tyre FROM table_name_91 WHERE rounds = "1" AND driver = "dave charlton"[/INST] What tyre has 1 round with Dave Charlton driving?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_54 (car INTEGER, player VARCHAR) <</SYS>> SELECT SUM(car) FROM table_name_54 WHERE player = "jeff smoker"[/INST] How many carries for jeff smoker?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_6 (shell__lb_ VARCHAR, time_to_ft__m__at_40°__seconds_ VARCHAR) <</SYS>> SELECT shell__lb_ FROM table_name_6 WHERE time_to_ft__m__at_40°__seconds_ = 12.6[/INST] What is the weight of the shell that reached its maximum height at 40° in 12.6 seconds?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_20 (type VARCHAR, name VARCHAR) <</SYS>> SELECT type FROM table_name_20 WHERE name = "gonzález"[/INST] What type is González?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_19 (opponents VARCHAR, result VARCHAR) <</SYS>> SELECT opponents FROM table_name_19 WHERE result = "d"[/INST] When the result is d, who are the opponents?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_8 (conference VARCHAR, season VARCHAR, format VARCHAR) <</SYS>> SELECT conference FROM table_name_8 WHERE season = 2009 AND format = "super leg final"[/INST] What conference has 2009 as the season, with super leg final as the format?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR) <</SYS>> SELECT result FROM table_2668329_25 WHERE district = "Virginia 22"[/INST] What ended up happening in the district Virginia 22?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_51 (date VARCHAR, away_team VARCHAR) <</SYS>> SELECT date FROM table_name_51 WHERE away_team = "north melbourne"[/INST] What day is north melbourne the away side?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_40 (silver VARCHAR, total INTEGER) <</SYS>> SELECT COUNT(silver) FROM table_name_40 WHERE total > 16[/INST] What is the total number of silver medals of the nation with more than 16 total medals?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_18 (points INTEGER, october VARCHAR, game VARCHAR) <</SYS>> SELECT MIN(points) FROM table_name_18 WHERE october < 10 AND game < 2[/INST] What is the lowest number of points of the game before game 2 before October 10?</s>
<s>[INST] <<SYS>> CREATE TABLE table_28003469_1 (event_date VARCHAR, event_day VARCHAR, starting_time VARCHAR) <</SYS>> SELECT event_date FROM table_28003469_1 WHERE event_day = "Sunday" AND starting_time = "9:30 am"[/INST] What is every event date on Sunday with a starting time of 9:30 am?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_92 (team_name VARCHAR, races VARCHAR) <</SYS>> SELECT team_name FROM table_name_92 WHERE races = 10[/INST] Which team completed 10 races?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_67 (bob_dole VARCHAR, george_hw_bush VARCHAR, pat_robertson VARCHAR) <</SYS>> SELECT bob_dole FROM table_name_67 WHERE george_hw_bush = "81%" AND pat_robertson = "9%"[/INST] When George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole have?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (category VARCHAR, recipient VARCHAR, year VARCHAR) <</SYS>> SELECT category FROM table_name_62 WHERE recipient = "the suite life on deck" AND year > 2010[/INST] What category was The Suite Life on Deck nominated for later than 2010?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_37 (tyres VARCHAR, year VARCHAR, points VARCHAR) <</SYS>> SELECT tyres FROM table_name_37 WHERE year > 1974 AND points = "5"[/INST] What tyres are associated with a year after 1974 and 5 points?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_17 (time_retired VARCHAR, grid VARCHAR) <</SYS>> SELECT time_retired FROM table_name_17 WHERE grid = 17[/INST] I want the time/retired for grid of 17</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_50 (college VARCHAR, round INTEGER) <</SYS>> SELECT college FROM table_name_50 WHERE round < 2[/INST] Which College has a Round smaller than 2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_17186229_4 (opponent VARCHAR, record VARCHAR) <</SYS>> SELECT COUNT(opponent) FROM table_17186229_4 WHERE record = "9-2"[/INST] Name the total number of opponent of record 9-2</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_60 (round INTEGER, nfl_club VARCHAR, pick VARCHAR) <</SYS>> SELECT SUM(round) FROM table_name_60 WHERE nfl_club = "new york jets" AND pick < 166[/INST] What is the sum of the round of the new york jets NFL club, which has a pick less than 166?</s>
<s>[INST] <<SYS>> CREATE TABLE table_14623167_1 (virtual VARCHAR, network VARCHAR) <</SYS>> SELECT COUNT(virtual) FROM table_14623167_1 WHERE network = "NBC"[/INST] Name the number of virtual for NBC</s>
<s>[INST] <<SYS>> CREATE TABLE table_18173916_8 (wednesday VARCHAR, friday VARCHAR) <</SYS>> SELECT wednesday FROM table_18173916_8 WHERE friday = "307 VS."[/INST] which episode was Transmitted on wednesday if the episode of "307 vs." was transmitted on friday? </s>
<s>[INST] <<SYS>> CREATE TABLE table_name_23 (iata VARCHAR, city VARCHAR) <</SYS>> SELECT iata FROM table_name_23 WHERE city = "amsterdam"[/INST] What is the IATA for the city of Amsterdam?</s>
<s>[INST] <<SYS>> CREATE TABLE table_24575253_4 (division_five VARCHAR, division_one VARCHAR) <</SYS>> SELECT COUNT(division_five) FROM table_24575253_4 WHERE division_one = "Westcott"[/INST] When westcott is in division one how many leagues are in division 5?</s>
<s>[INST] <<SYS>> CREATE TABLE table_16387953_1 (home_team VARCHAR) <</SYS>> SELECT home_team AS score FROM table_16387953_1 WHERE home_team = "Adelaide"[/INST] What are the scores for games where the home team is Adelaide?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_36 (co_driver VARCHAR, position VARCHAR, laps VARCHAR) <</SYS>> SELECT co_driver FROM table_name_36 WHERE position = "6th" AND laps > 159[/INST] Who is the co-driver for the 6th position and more than 159 laps?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_40 (week INTEGER, record VARCHAR) <</SYS>> SELECT MIN(week) FROM table_name_40 WHERE record = "8–5"[/INST] What is the earliest week that shows a record of 8–5?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_52 (country VARCHAR, player VARCHAR) <</SYS>> SELECT country FROM table_name_52 WHERE player = "jeff sluman"[/INST] What country does Jeff Sluman play for?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_78 (against INTEGER, lost INTEGER) <</SYS>> SELECT AVG(against) FROM table_name_78 WHERE lost < 1[/INST] Which average against has a lost less than 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_50 (country VARCHAR, town VARCHAR) <</SYS>> SELECT country FROM table_name_50 WHERE town = "dubai"[/INST] what country is dubai in</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_9 (year VARCHAR, event VARCHAR, position VARCHAR) <</SYS>> SELECT year FROM table_name_9 WHERE event = "junior race" AND position = "8th"[/INST] What year did she place 8th in the junior race?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_79 (score VARCHAR, visitor VARCHAR, record VARCHAR) <</SYS>> SELECT score FROM table_name_79 WHERE visitor = "philadelphia" AND record = "7–4–0"[/INST] What is the score when Philadelphia was the visitor with a Record of 7–4–0?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1939202_2 (year VARCHAR, us_open_cup VARCHAR, league VARCHAR, playoffs VARCHAR) <</SYS>> SELECT year FROM table_1939202_2 WHERE league = "USL Second division" AND playoffs = "Semifinals" AND us_open_cup = "Quarterfinals"[/INST] What year at the US Open Cup quarterfinals, were the playoffs in the semifinals for the USL second division?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_63 (rank__2012_ VARCHAR) <</SYS>> SELECT 2012 AS _employees__total_ FROM table_name_63 WHERE rank__2012_ = 7[/INST] What is the 2012 Employees (Total) when the rank (2012) is 7?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_15 (pick INTEGER, player VARCHAR) <</SYS>> SELECT AVG(pick) FROM table_name_15 WHERE player = "mark joseph kong"[/INST] What is Mark Joseph Kong's pick?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (height__m_ INTEGER, prominence__m_ VARCHAR) <</SYS>> SELECT MIN(height__m_) FROM table_name_26 WHERE prominence__m_ = 2 OFFSET 349[/INST] What is the smallest height with a prominence of 2,349?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_1 (gross_debt_in_ INTEGER, debt_held_by_public__$billions_ VARCHAR, end_of_fiscal_year VARCHAR, as__percentage_of_gdp_low_high VARCHAR) <</SYS>> SELECT AVG(gross_debt_in_) AS $billions_undeflated_treas FROM table_name_1 WHERE end_of_fiscal_year > 1980 AND as__percentage_of_gdp_low_high = "83.4-84.4" AND debt_held_by_public__$billions_ < 7 OFFSET 552[/INST] For End of Fiscal Years past 1980 that also have as % of GDP Low-High of 83.4-84.4, and a Debt Held By Public ($Billions) smaller than 7,552 what would be the average Gross Debt in $Billions undeflated Treas. in said years?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_38 (result VARCHAR, date VARCHAR) <</SYS>> SELECT result FROM table_name_38 WHERE date = "february 27, 2000"[/INST] What was the result of the game that was played on february 27, 2000?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_86 (proto_oceanic VARCHAR, animal VARCHAR) <</SYS>> SELECT proto_oceanic FROM table_name_86 WHERE animal = "louse"[/INST] What proto-oceanic has louse as the animal?</s>
<s>[INST] <<SYS>> CREATE TABLE table_11677691_4 (player VARCHAR, hometown VARCHAR) <</SYS>> SELECT player FROM table_11677691_4 WHERE hometown = "Pewaukee, Wisconsin"[/INST] Which player's hometown was Pewaukee, Wisconsin?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_32 (result VARCHAR, competition VARCHAR, venue VARCHAR) <</SYS>> SELECT result FROM table_name_32 WHERE competition = "2006 fifa world cup qualifier" AND venue = "warner park sporting complex, bassaterre"[/INST] What is the result when the competition was the 2006 fifa world cup qualifier, and a Venue of warner park sporting complex, bassaterre?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1463332_2 (_number_runner_up INTEGER, years__won_in_bold_ VARCHAR) <</SYS>> SELECT MAX(_number_runner_up) FROM table_1463332_2 WHERE years__won_in_bold_ = "1984, 2010"[/INST] What is the number of runner-up results for the years (won in bold) 1984, 2010?</s>
<s>[INST] <<SYS>> CREATE TABLE table_27366772_3 (population__2001_ INTEGER) <</SYS>> SELECT MAX(population__2001_) FROM table_27366772_3[/INST] What is the highest population in 2001?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1357052_6 (distribution VARCHAR, rsbac VARCHAR) <</SYS>> SELECT distribution FROM table_1357052_6 WHERE rsbac = "Unknown"[/INST] what's the dbeingtribution with rsbac being unknown</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_20 (week INTEGER, result VARCHAR) <</SYS>> SELECT AVG(week) FROM table_name_20 WHERE result = "w 20-13"[/INST] Which Week has a Result of w 20-13?</s>