text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR)
<</SYS>>
SELECT l2_cache FROM table_name_10 WHERE idle_power = "100mw" AND model_number = "nano u3400"[/INST] What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23289934_1 (no_in_season INTEGER, production_code VARCHAR)
<</SYS>>
SELECT MAX(no_in_season) FROM table_23289934_1 WHERE production_code = "3ABC12"[/INST] Name the most number in season for production code 3abc12</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (date VARCHAR, venue VARCHAR)
<</SYS>>
SELECT date FROM table_name_3 WHERE venue = "bucharest"[/INST] Which Date has a Venue of bucharest?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (name VARCHAR, statistic VARCHAR)
<</SYS>>
SELECT name FROM table_name_93 WHERE statistic = "most assists"[/INST] Who had the statistic of most assists?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (result VARCHAR, week VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT result FROM table_name_95 WHERE week < 7 AND opponent = "bye"[/INST] What is the result for the game before week 7 against BYE?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (human_resources_ VARCHAR, _operations VARCHAR, academic_ VARCHAR, _university_affairs VARCHAR)
<</SYS>>
SELECT human_resources_ & _operations FROM table_name_56 WHERE academic_ & _university_affairs = "david hornsby"[/INST] Who was in Human Resources & Operations when David Hornsby was in Academic & University Affairs?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (week VARCHAR, tv_time VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT week FROM table_name_44 WHERE tv_time = "cbs 1:00pm" AND attendance = "72,714"[/INST] Which Week has a TV Time of cbs 1:00pm, and an Attendance of 72,714?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE machine (Machine_series VARCHAR, machine_id VARCHAR); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)
<</SYS>>
SELECT T3.Name, T2.Machine_series FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID[/INST] Show names of technicians and series of machines they are assigned to repair.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (Id VARCHAR)
<</SYS>>
SELECT 1991 FROM table_name_53 WHERE 1990 = "atp masters series"[/INST] What is the 1991 when 1990 is ATP Masters Series?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_73 WHERE record = "54-38"[/INST] Which opponent has a Record of 54-38?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11963601_11 (location_attendance VARCHAR, date VARCHAR)
<</SYS>>
SELECT location_attendance FROM table_11963601_11 WHERE date = "May 15"[/INST] Where was the game on May 15 and how many were in attendance? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10015132_2 (years_in_toronto VARCHAR, player VARCHAR)
<</SYS>>
SELECT years_in_toronto FROM table_10015132_2 WHERE player = "Marcus Banks"[/INST] During which years was Marcus Banks in Toronto?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customers_policies (date_opened VARCHAR, date_closed VARCHAR, customer_id VARCHAR)
<</SYS>>
SELECT t2.date_opened, t2.date_closed FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name LIKE "%Diana%"[/INST] Retrieve the open and close dates of all the policies associated with the customer whose name contains "Diana"</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28001186_8 (ncaat_record VARCHAR, date VARCHAR)
<</SYS>>
SELECT ncaat_record FROM table_28001186_8 WHERE date = "June 26"[/INST] What was the NCAA Tournament record after the June 26 game?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE matches (winner_name VARCHAR, winner_rank_points VARCHAR)
<</SYS>>
SELECT winner_name, winner_rank_points FROM matches GROUP BY winner_name ORDER BY COUNT(*) DESC LIMIT 1[/INST] Find the name and rank points of the winner who won the most times.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (location VARCHAR, class___type VARCHAR)
<</SYS>>
SELECT location FROM table_name_33 WHERE class___type = "sloop"[/INST] What is Location, when Class / Type is "Sloop"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (unformatted_capacity_per_side VARCHAR, size VARCHAR)
<</SYS>>
SELECT unformatted_capacity_per_side FROM table_name_42 WHERE size = "8in"[/INST] What is the unformatted capacity per side if the size is 8in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (manufacturer VARCHAR, quantity VARCHAR, lmmr_name VARCHAR)
<</SYS>>
SELECT manufacturer FROM table_name_85 WHERE quantity = 1 AND lmmr_name = "great mountain"[/INST] Which Manufacturer has a Quantity of 1, and has the LMMR name Great Mountain?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (time_retired VARCHAR, driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)
<</SYS>>
SELECT time_retired FROM table_name_30 WHERE grid > 10 AND laps > 2 AND constructor = "maserati" AND driver = "masten gregory carroll shelby"[/INST] What is the time/retired of Driver Masten Gregory Carroll Shelby when the constructor was Maserati, the Grid was larger than 10 and there were more than 2 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (strain VARCHAR, species VARCHAR)
<</SYS>>
SELECT strain FROM table_name_24 WHERE species = "thiomicrospira crunogena"[/INST] What is the Strain name of Species Thiomicrospira crunogena?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22753439_1 (party VARCHAR, constituency VARCHAR)
<</SYS>>
SELECT party AS a FROM table_22753439_1 WHERE constituency = "Tiruchendur"[/INST] What is every party A with a constituency of Tiruchendur?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (silver INTEGER, gold INTEGER)
<</SYS>>
SELECT MAX(silver) FROM table_name_42 WHERE gold < 0[/INST] What is the largest silver value associated with 0 golds?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (scorers VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT scorers FROM table_name_63 WHERE opponent = "aberdeen"[/INST] Who was the scorer when the opponent was aberdeen?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR)
<</SYS>>
SELECT COUNT(hometown) FROM table_29598261_1 WHERE name = "Faisal Aden"[/INST] how many hometowns for faisal aden?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (driver VARCHAR, laps VARCHAR)
<</SYS>>
SELECT driver FROM table_name_59 WHERE laps = 10[/INST] I want the driver that has Laps of 10</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (series VARCHAR, director VARCHAR, production_num VARCHAR)
<</SYS>>
SELECT series FROM table_name_28 WHERE director = "frank tashlin" AND production_num = "8053"[/INST] What series was directed by Frank Tashlin and has the production number, 8053?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (margin VARCHAR, runner_s__up VARCHAR, year VARCHAR)
<</SYS>>
SELECT margin FROM table_name_29 WHERE runner_s__up = "patty berg" AND year = 1953[/INST] What is the Margin in 1953 when Patty Berg was Runner(s)-up?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (Id VARCHAR)
<</SYS>>
SELECT 2000 FROM table_name_57 WHERE 2002 = "not tier i" AND 2006 = "2r"[/INST] Which 2000 Tournament has a 2002 of not tier i, and a 2006 of 2r?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13183076_3 (us_viewers__million_ VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT us_viewers__million_ FROM table_13183076_3 WHERE production_code = "3T7051"[/INST] How many U.S. viewers (million) are there for the episode whose Production code is 3T7051?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR)
<</SYS>>
SELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = "ff0 PRS"[/INST] What is the regulated retail price for the tariff code ff0 prs?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (car__number INTEGER, points VARCHAR)
<</SYS>>
SELECT AVG(car__number) FROM table_name_12 WHERE points = "109"[/INST] What is the average car number of all the drivers with 109 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (opponent VARCHAR, loss VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_42 WHERE loss = "bird (1-4)"[/INST] Who were they playing when Bird (1-4) had a loss?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR)
<</SYS>>
SELECT loss FROM table_name_62 WHERE date = "april 16"[/INST] What was the score of the game for April 16?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (round VARCHAR, date VARCHAR)
<</SYS>>
SELECT round FROM table_name_92 WHERE date = "march 22"[/INST] What was the round number for March 22?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (team VARCHAR, manager VARCHAR)
<</SYS>>
SELECT team FROM table_name_28 WHERE manager = "david o'leary"[/INST] Which team does David O'leary manage?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13026799_1 (championship VARCHAR, margin VARCHAR)
<</SYS>>
SELECT championship FROM table_13026799_1 WHERE margin = "Playoff 2"[/INST] What championship had a margin of playoff 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE elimination (Team VARCHAR)
<</SYS>>
SELECT Team, COUNT(*) FROM elimination GROUP BY Team[/INST] Show different teams in eliminations and the number of eliminations from each team.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (gross_tonnage INTEGER, ship VARCHAR, material VARCHAR, date_commissioned VARCHAR)
<</SYS>>
SELECT SUM(gross_tonnage) FROM table_name_75 WHERE material = "wood" AND date_commissioned > 1846 AND ship = "esk"[/INST] Name the sum of gross tonnage for wood on date more tahn 1846 for comissioned and ship of esk</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341930_5 (party VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT COUNT(party) FROM table_1341930_5 WHERE incumbent = "James William Trimble"[/INST] Name the number of party with the incubent james william trimble</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21304155_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
<</SYS>>
SELECT original_air_date FROM table_21304155_1 WHERE us_viewers__millions_ = "4.08"[/INST] What was the original air date of the episode that had 4.08 million U.S. viewers? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR)
<</SYS>>
SELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = ".600"[/INST] What is the Championship Game that has 4 Bids and a .600 Win %?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (became_acharya_on VARCHAR, name_of_acharya VARCHAR)
<</SYS>>
SELECT became_acharya_on FROM table_name_12 WHERE name_of_acharya = "acharya shree koshalendraprasadji maharaj"[/INST] When did acharya shree koshalendraprasadji maharaj become acharya?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (top_10 INTEGER, events VARCHAR, cuts_made VARCHAR, top_5 VARCHAR)
<</SYS>>
SELECT MAX(top_10) FROM table_name_92 WHERE cuts_made < 12 AND top_5 < 2 AND events < 14[/INST] Which top ten, having less than 12 cuts less than 2 top five, and events smaller than 14, is the highest?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (assists INTEGER, rank VARCHAR, games VARCHAR)
<</SYS>>
SELECT MAX(assists) FROM table_name_71 WHERE rank = 2 AND games < 2[/INST] What is the largest number of assists for the second rank when there were less than 2 games?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (all_amendments_cosponsored INTEGER, amendments_originally_cosponsored VARCHAR, all_bills_sponsored VARCHAR)
<</SYS>>
SELECT MAX(all_amendments_cosponsored) FROM table_name_25 WHERE amendments_originally_cosponsored = 53 AND all_bills_sponsored > 54[/INST] What is the highest number of amendments cosponsored associated with 53 amendments originally cosponsored and over 54 bills sponsored?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (pick__number INTEGER, mls_team VARCHAR)
<</SYS>>
SELECT MIN(pick__number) FROM table_name_15 WHERE mls_team = "columbus crew"[/INST] Tell me the lowest pick number for columbus crew</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT score FROM table_name_58 WHERE opponent = "melanie south"[/INST] Which Score has an Opponent of melanie south?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26240481_1 (opponents_conference VARCHAR, result VARCHAR)
<</SYS>>
SELECT opponents_conference FROM table_26240481_1 WHERE result = "L, 62-10"[/INST] Which opponents conference has the result L, 62-10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (away VARCHAR, time VARCHAR)
<</SYS>>
SELECT away FROM table_name_98 WHERE time = "10:00"[/INST] What away game had a time of 10:00?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_127511_1 (sequencer VARCHAR, ion_torrent_pgm VARCHAR)
<</SYS>>
SELECT sequencer FROM table_127511_1 WHERE ion_torrent_pgm = "200-400 bp"[/INST] What is the sequencer when ion torrent pgm is 200-400 bp?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (death VARCHAR, spouse VARCHAR)
<</SYS>>
SELECT death FROM table_name_86 WHERE spouse = "charles ii"[/INST] When was the date of death for the person married to Charles II?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (score VARCHAR, loss VARCHAR)
<</SYS>>
SELECT score FROM table_name_70 WHERE loss = "birkbeck (0–3)"[/INST] What is the score when there was a Loss of birkbeck (0–3)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (population_density__per_km²_ INTEGER, population__2011_ VARCHAR, change___percentage_ VARCHAR, land_area__km²_ VARCHAR)
<</SYS>>
SELECT MAX(population_density__per_km²_) FROM table_name_90 WHERE change___percentage_ > 4.9 AND land_area__km²_ < 15.59 AND population__2011_ > 790[/INST] Which Population density (per km²) has a Change (%) larger than 4.9, and a Land area (km²) smaller than 15.59, and a Population (2011) larger than 790?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (translation VARCHAR, unit VARCHAR)
<</SYS>>
SELECT translation FROM table_name_81 WHERE unit = "chetvert"[/INST] What is the translation of chetvert?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18539834_2 (romaji_title VARCHAR, average_ratings VARCHAR)
<</SYS>>
SELECT COUNT(romaji_title) FROM table_18539834_2 WHERE average_ratings = "8.9%"[/INST] How many titles had an average rating of 8.9%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15463188_17 (school_club_team VARCHAR, season VARCHAR, acquisition_via VARCHAR)
<</SYS>>
SELECT school_club_team FROM table_15463188_17 WHERE season = "2012" AND acquisition_via = "Trade"[/INST] What was the school/club team whose season was in 2012 and were acquired via trade? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (goals_for INTEGER, goals_against VARCHAR, ties VARCHAR)
<</SYS>>
SELECT MIN(goals_for) FROM table_name_32 WHERE goals_against = 70 AND ties < 0[/INST] what is the least number of goals for when the goals against is 70 and the ties less than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (location_attendance VARCHAR, date VARCHAR)
<</SYS>>
SELECT location_attendance FROM table_name_68 WHERE date = "march 11"[/INST] Where did the game on March 11 take place and how many people attended?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (party VARCHAR, candidate VARCHAR)
<</SYS>>
SELECT party FROM table_name_36 WHERE candidate = "grech louis grech"[/INST] Which party's candidate is Grech Louis Grech?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (heat VARCHAR, name VARCHAR)
<</SYS>>
SELECT COUNT(heat) FROM table_name_39 WHERE name = "miguel molina"[/INST] How many Heats have a Name of miguel molina?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19982699_1 (_number INTEGER, producer VARCHAR, television_premiere VARCHAR)
<</SYS>>
SELECT MIN(_number) FROM table_19982699_1 WHERE producer = "Charles Salmon" AND television_premiere = "January 27, 2007"[/INST] How many numbers have Charles Salmon as the producer and January 27, 2007 was the television premiere?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR)
<</SYS>>
SELECT position FROM table_29626583_1 WHERE affiliation = "University of North Carolina Carolina Dynamo"[/INST] What is the position for the university of north carolina carolina dynamo affiliation </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR)
<</SYS>>
SELECT score FROM table_name_77 WHERE runner_up = "utc" AND winners = "saint-gaudens bears"[/INST] What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (location VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT location FROM table_name_1 WHERE circuit = "august 16"[/INST] What is Location, when Circuit is August 16?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT score FROM table_name_85 WHERE home_team = "manchester united"[/INST] What is the score for the game in which Manchester United was the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (tries INTEGER, player VARCHAR)
<</SYS>>
SELECT AVG(tries) FROM table_name_60 WHERE player = "nathan mcavoy"[/INST] What is the average number of Tries for Nathan McAvoy?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (series VARCHAR, actor VARCHAR)
<</SYS>>
SELECT series FROM table_name_92 WHERE actor = "tom ward"[/INST] Which Series has an Actor of tom ward?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (venue VARCHAR, notes VARCHAR)
<</SYS>>
SELECT venue FROM table_name_19 WHERE notes = "2:04.22"[/INST] Which venue has 2:04.22 notes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_8 WHERE venue = "gold coast convention centre"[/INST] Who was the home team at Gold Coast Convention Centre?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14310205_1 (team VARCHAR, conmebol_1996 VARCHAR)
<</SYS>>
SELECT COUNT(team) FROM table_14310205_1 WHERE conmebol_1996 = "did not qualify"[/INST] what is the number of teams where conmebol 1996 did not qualify?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (elevator VARCHAR, elector VARCHAR)
<</SYS>>
SELECT elevator FROM table_name_10 WHERE elector = "gerardo"[/INST] What is listed for the Elevator that has the Elector of Gerardo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (value VARCHAR, other VARCHAR)
<</SYS>>
SELECT value FROM table_name_90 WHERE other = "muoy roy"[/INST] What number value has the Other transliteration of muoy roy?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (total INTEGER, to_par VARCHAR)
<</SYS>>
SELECT MIN(total) FROM table_name_45 WHERE to_par = "e"[/INST] what total was the lowest and had a to par of e?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1473672_3 (nationality VARCHAR, nhl_team VARCHAR)
<</SYS>>
SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers"[/INST] Which nationality is the player from the Philadelphia Flyers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (name VARCHAR, team VARCHAR, best VARCHAR)
<</SYS>>
SELECT name FROM table_name_42 WHERE team = "forsythe racing" AND best = "1:00.099"[/INST] Who is the driver for the Forsythe Racing team that has the best time of 1:00.099?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR)
<</SYS>>
SELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = "480i" AND psip_short_name = "jtv"[/INST] Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (matches INTEGER, name VARCHAR, rank VARCHAR)
<</SYS>>
SELECT AVG(matches) FROM table_name_2 WHERE name = "vits rimkus" AND rank < 3[/INST] What is the number of Matches for Vits Rimkus with a Rank of less than 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (crowd INTEGER, home_team VARCHAR)
<</SYS>>
SELECT MIN(crowd) FROM table_name_21 WHERE home_team = "south melbourne"[/INST] What was the attendance when South Melbourne played as the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (version VARCHAR, remixed_by VARCHAR, length VARCHAR)
<</SYS>>
SELECT version FROM table_name_29 WHERE remixed_by = "perky park" AND length = "6:38"[/INST] What Version has a Remixed by Perky Park with a Length of 6:38?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (runner_s__up VARCHAR, date VARCHAR)
<</SYS>>
SELECT runner_s__up FROM table_name_64 WHERE date = "jul 14, 1968"[/INST] Who was the runner-up on Jul 14, 1968?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (venue VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_25 WHERE away_team = "melbourne"[/INST] What is the venue when melbourne is the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2351952_1 (numbers VARCHAR, order_number VARCHAR)
<</SYS>>
SELECT numbers FROM table_2351952_1 WHERE order_number = "713096-713119"[/INST] What are the numbers for the order number 713096-713119?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (city VARCHAR, airport VARCHAR)
<</SYS>>
SELECT city FROM table_name_25 WHERE airport = "jaffna airport"[/INST] What city is Jaffna Airport in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (home_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_95 WHERE venue = "glenferrie oval"[/INST] Who is the home team who plays at Glenferrie Oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (jockey VARCHAR, odds VARCHAR)
<</SYS>>
SELECT jockey FROM table_name_55 WHERE odds = "5/1"[/INST] Who has 5/1 odds?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13564702_4 (tries_against VARCHAR, tries_for VARCHAR)
<</SYS>>
SELECT tries_against FROM table_13564702_4 WHERE tries_for = "62"[/INST] How many tries against got the club with 62 tries for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (nhl_team VARCHAR, player VARCHAR)
<</SYS>>
SELECT nhl_team FROM table_name_97 WHERE player = "vitali yeremeyev"[/INST] Name the team of vitali yeremeyev</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (date VARCHAR, partnering VARCHAR)
<</SYS>>
SELECT date FROM table_name_85 WHERE partnering = "laura golarsa"[/INST] What was the date of the game that was played against Laura Golarsa?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE airports (name VARCHAR, city VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR)
<</SYS>>
SELECT T1.name, T1.city, T2.src_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_apid GROUP BY T2.src_apid ORDER BY COUNT(*) DESC LIMIT 1[/INST] Find the name and city of the airport which is the source for the most number of flight routes.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (season VARCHAR, level VARCHAR, position VARCHAR)
<</SYS>>
SELECT COUNT(season) FROM table_name_82 WHERE level = "tier 2" AND position = "1st"[/INST] Which Season has a Level of tier 2 and a Position of 1st?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (decision VARCHAR, record VARCHAR)
<</SYS>>
SELECT decision FROM table_name_17 WHERE record = "3–5–0"[/INST] What decision had a Record of 3–5–0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27547668_2 (title VARCHAR, prod_code VARCHAR)
<</SYS>>
SELECT title FROM table_27547668_2 WHERE prod_code = 102[/INST] What is the title of the episode with production code 102?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (year INTEGER, trim VARCHAR, power VARCHAR)
<</SYS>>
SELECT AVG(year) FROM table_name_51 WHERE trim = "ls/lt" AND power = "hp (kw)"[/INST] What's the Year average that's got Trim of LS/LT and Power of HP (KW)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (pole VARCHAR, flap VARCHAR, podium VARCHAR)
<</SYS>>
SELECT pole FROM table_name_95 WHERE flap < 15 AND podium > 11[/INST] When the Flap is less than 15 and the podium is larger than 11, what is the pole?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (name VARCHAR)
<</SYS>>
SELECT 445 FROM table_name_5 WHERE name = "yelena isinbayeva"[/INST] What is the 4.45 for Yelena Isinbayeva?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (term_in_office VARCHAR, member VARCHAR)
<</SYS>>
SELECT term_in_office FROM table_name_74 WHERE member = "hon les johnson"[/INST] When was Hon Les Johnson in office?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (social_sec_leeds VARCHAR, season VARCHAR, fixtures_sec VARCHAR, general_sec VARCHAR)
<</SYS>>
SELECT social_sec_leeds FROM table_name_23 WHERE fixtures_sec = "n/a" AND general_sec = "n/a" AND season = "2005–2006"[/INST] Name the Social Sec Leeds has Fixtures Sec of n/a, and a General Sec of n/a, and the Season of 2005–2006?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)
<</SYS>>
SELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id[/INST] show the train name and station name for each train.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17516967_1 (swimsuit VARCHAR, state VARCHAR)
<</SYS>>
SELECT swimsuit FROM table_17516967_1 WHERE state = "Oregon"[/INST] Name the swuinsuit for oregon</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (league_cup_apps VARCHAR, league_goals INTEGER)
<</SYS>>
SELECT COUNT(league_cup_apps) FROM table_name_15 WHERE league_goals < 0[/INST] What's the total number of league cup apps when the league goals were less than 0?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.