text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (vs_terran VARCHAR, vs_zerg VARCHAR)
<</SYS>>
SELECT vs_terran FROM table_name_12 WHERE vs_zerg = "69"[/INST] What is the score vs. Terran when the score vs. Zerg is 69?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (venue VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_99 WHERE away_team = "collingwood"[/INST] Where was the game played where Collingwood was the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22180353_1 (construction VARCHAR, registration VARCHAR)
<</SYS>>
SELECT construction AS date FROM table_22180353_1 WHERE registration = "HB-HOS"[/INST] What is every construction date for the registration of HB-HOS?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (effic INTEGER, avg_g VARCHAR)
<</SYS>>
SELECT MAX(effic) FROM table_name_68 WHERE avg_g = 91.9[/INST] What is the highest effic with an avg/g of 91.9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR)
<</SYS>>
SELECT no_2 FROM table_name_7 WHERE no_6 = "ethan" AND no_3 = "mason"[/INST] What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (ast_avg INTEGER, total_assists VARCHAR, games VARCHAR, rank VARCHAR)
<</SYS>>
SELECT AVG(ast_avg) FROM table_name_74 WHERE games > 101 AND rank = 5 AND total_assists < 331[/INST] WHAT IS THE AVG AST FOR GAMES LARGER THAN 101, RANK 5, TOTAL ASSISTS SMALLER THAN 331?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (election INTEGER, outcome_of_election VARCHAR, seats VARCHAR)
<</SYS>>
SELECT MIN(election) FROM table_name_67 WHERE outcome_of_election = "minority in parliament" AND seats = "2"[/INST] What is the earliest election with 2 seats and the outcome of the election of minority in parliament?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17382360_7 (score VARCHAR, team VARCHAR)
<</SYS>>
SELECT score FROM table_17382360_7 WHERE team = "Boston Celtics"[/INST] what is the score in february 12 of the boston celtics team</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18277458_2 (ticket_price_s_ VARCHAR, date_s_ VARCHAR)
<</SYS>>
SELECT ticket_price_s_ FROM table_18277458_2 WHERE date_s_ = "August 7, 1987"[/INST] How much do the tickets cost for August 7, 1987?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12030612_3 (written_by VARCHAR, series__number VARCHAR)
<</SYS>>
SELECT written_by FROM table_12030612_3 WHERE series__number = 25[/INST] Who were the authors of series episode #25?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (years VARCHAR, league VARCHAR)
<</SYS>>
SELECT years FROM table_name_87 WHERE league = "400 (21)"[/INST] The league of 400 (21) has what years listed?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25214321_1 (winner VARCHAR, third_place VARCHAR)
<</SYS>>
SELECT winner FROM table_25214321_1 WHERE third_place = "Mateus Rocha"[/INST] Who was the winner when Mateus Rocha finished in 3rd place? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (elected VARCHAR, party VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT elected FROM table_name_31 WHERE party = "republican" AND incumbent = "dave reichert"[/INST] What was the year Elected of Republican Incumbent Dave Reichert?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (evening VARCHAR, sunday VARCHAR, name VARCHAR)
<</SYS>>
SELECT evening FROM table_name_18 WHERE sunday = "no" AND name = "s. vidal/plant express"[/INST] Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (opponent VARCHAR, city VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_98 WHERE city = "milwaukee"[/INST] Who was Milwaukee's opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (extra VARCHAR, result VARCHAR)
<</SYS>>
SELECT extra FROM table_name_37 WHERE result = "4th"[/INST] What is the extra result of the 4th game?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (title_rank VARCHAR, series VARCHAR, character VARCHAR)
<</SYS>>
SELECT title_rank FROM table_name_7 WHERE series = "1-8, 13" AND character = "arthur hastings"[/INST] What is the title rank of the actor who played the character of arthur hastings during series 1-8, 13?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (place VARCHAR, country VARCHAR, player VARCHAR)
<</SYS>>
SELECT place FROM table_name_26 WHERE country = "united states" AND player = "fred couples"[/INST] What was United States place when the player was Fred Couples?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (sixth VARCHAR, fourth VARCHAR, first VARCHAR)
<</SYS>>
SELECT sixth FROM table_name_91 WHERE fourth = "western australia" AND first = "tasmania"[/INST] What team placed sixth during the season where Western Australia placed fourth and Tasmania placed first?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (build_date VARCHAR, total_produced VARCHAR)
<</SYS>>
SELECT build_date FROM table_name_80 WHERE total_produced = 2[/INST] What is the build date when total produced is 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20626467_1 (class VARCHAR, winner_2nd VARCHAR)
<</SYS>>
SELECT class FROM table_20626467_1 WHERE winner_2nd = "2nd - Portillo"[/INST] What class was the 2nd - portillo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (counting_method VARCHAR, basis VARCHAR)
<</SYS>>
SELECT counting_method FROM table_name_89 WHERE basis = "network-centric"[/INST] What is the counting method for a network-centric basis?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (fcc_info VARCHAR, city_of_license VARCHAR)
<</SYS>>
SELECT fcc_info FROM table_name_39 WHERE city_of_license = "harmony township, new jersey"[/INST] Can you tell me what is FCC info for harmony township, new jersey?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (club VARCHAR, losses VARCHAR, goals_for VARCHAR, draws VARCHAR)
<</SYS>>
SELECT club FROM table_name_38 WHERE goals_for > 35 AND draws > 7 AND losses = 20[/INST] What club has more than 35 goals, more than 7 draws, and 20 losses?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19210674_1 (rank VARCHAR, hk_viewers VARCHAR)
<</SYS>>
SELECT rank FROM table_19210674_1 WHERE hk_viewers = "2.26 million"[/INST] How was the episode seen by 2.26 million HK viewers ranked?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, silver VARCHAR)
<</SYS>>
SELECT MIN(total) FROM table_name_11 WHERE rank = "4" AND silver > 2[/INST] Which Total has a Rank of 4, and a Silver larger than 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (loss VARCHAR, name VARCHAR)
<</SYS>>
SELECT loss FROM table_name_94 WHERE name = "boris picano-nacci"[/INST] What was the loss for Boris Picano-Nacci?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (byes INTEGER, wins VARCHAR, draws VARCHAR, mininera_dfl VARCHAR)
<</SYS>>
SELECT AVG(byes) FROM table_name_76 WHERE draws = 1 AND mininera_dfl = "smw rovers" AND wins > 6[/INST] WHAT ARE THE BYES WITH A DRAWS OF 1, SMW ROVERS, AND WINS LARGER THAN 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (date VARCHAR, game VARCHAR, score VARCHAR)
<</SYS>>
SELECT date FROM table_name_26 WHERE game > 10 AND score = "99-89"[/INST] On what date did a game higher than 10 have a score of 99-89?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_166346_1 (region VARCHAR, production___bbl__day_ VARCHAR)
<</SYS>>
SELECT region FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)"[/INST] Which regions had a production (bbl/day) of 1,213,000 (21st)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (gold VARCHAR, sport VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT COUNT(gold) FROM table_name_53 WHERE sport = "tennis" AND bronze < 2[/INST] When tennis has less than 2 bronze, what is the total number of Gold?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2267345_2 (general_classification VARCHAR, young_rider_classification VARCHAR, winner VARCHAR)
<</SYS>>
SELECT general_classification FROM table_2267345_2 WHERE young_rider_classification = "Salvatore Commesso" AND winner = "Erik Dekker"[/INST] Who was the general classification leader when the young rider classification leader was Salvatore Commesso and the winner was Erik Dekker?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1771753_3 (race_time VARCHAR, team VARCHAR, laps VARCHAR)
<</SYS>>
SELECT race_time FROM table_1771753_3 WHERE team = "Chip Ganassi Racing" AND laps = "228"[/INST] When 228 is the lap and chip ganassi racing is the team what is the race time?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE musical (Nominee VARCHAR, Award VARCHAR)
<</SYS>>
SELECT Nominee FROM musical WHERE Award = "Tony Award" OR Award = "Cleavant Derricks"[/INST] Show the musical nominee with award "Bob Fosse" or "Cleavant Derricks".</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (pick INTEGER, position VARCHAR)
<</SYS>>
SELECT MAX(pick) FROM table_name_50 WHERE position = "guard"[/INST] What was the highest guard picked?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (lane INTEGER, rank VARCHAR, time VARCHAR, name VARCHAR)
<</SYS>>
SELECT MAX(lane) FROM table_name_87 WHERE time < 49.67 AND name = "michael klim" AND rank < 1[/INST] Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (winner VARCHAR, year INTEGER)
<</SYS>>
SELECT winner FROM table_name_81 WHERE year > 2011[/INST] Who was the winner after 2011?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18536769_1 (call_sign VARCHAR, owner VARCHAR)
<</SYS>>
SELECT COUNT(call_sign) FROM table_18536769_1 WHERE owner = "Vista Radio"[/INST] When vista radio is the owner how many call signs are there?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16570286_2 (matches VARCHAR)
<</SYS>>
SELECT COUNT(50 AS s) FROM table_16570286_2 WHERE matches = 2[/INST] How many numbers were recorde under 50s when there was 2 matches?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12919003_3 (director VARCHAR, viewers_millions_ VARCHAR)
<</SYS>>
SELECT COUNT(director) FROM table_12919003_3 WHERE viewers_millions_ = "9.14"[/INST] What's the total number of directors whose episodes have been seen by 9.14 million viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (CLASS_President_VOTE VARCHAR)
<</SYS>>
SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.CLASS_President_VOTE[/INST] Find the distinct last names of the students who have class president votes.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (team VARCHAR, points VARCHAR, year VARCHAR)
<</SYS>>
SELECT team FROM table_name_69 WHERE points < 21 AND year = 1983[/INST] What team did carlos cardus drive for in 1983 when he got less than 21 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (date VARCHAR, set_3 VARCHAR)
<</SYS>>
SELECT date FROM table_name_2 WHERE set_3 = "18-25"[/INST] When was set 3 of 18-25?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (top_5 INTEGER, position VARCHAR, year VARCHAR)
<</SYS>>
SELECT AVG(top_5) FROM table_name_29 WHERE position = "52nd" AND year < 2000[/INST] Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (english_transliteration VARCHAR, english_translation VARCHAR)
<</SYS>>
SELECT english_transliteration FROM table_name_60 WHERE english_translation = "late dew"[/INST] What is the english transliteration of late dew?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10935205_1 (title VARCHAR, us_airdate VARCHAR)
<</SYS>>
SELECT title FROM table_10935205_1 WHERE us_airdate = "4 April 2008"[/INST] For the episode(s) aired in the U.S. on 4 april 2008, what were the names?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (points INTEGER, played INTEGER)
<</SYS>>
SELECT MAX(points) FROM table_name_67 WHERE played < 30[/INST] Can you tell me the highest Points that has the Played smaller than 30?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (capital VARCHAR, voivodeship_or_city VARCHAR)
<</SYS>>
SELECT capital FROM table_name_75 WHERE voivodeship_or_city = "nowogródzkie"[/INST] Voivodeship or city of nowogródzkie has what capital?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (tournament VARCHAR, winning_score VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_3 WHERE winning_score = −27(64 - 64 - 61 = 189)[/INST] What tournament had a winning score of −27 (64-64-61=189)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (Id VARCHAR)
<</SYS>>
SELECT 1995 FROM table_name_81 WHERE 1997 = "lq" AND 1989 = "1r"[/INST] What is 1995 Grand Slam Tournament if 1997 is LQ and 1989 is 1R?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Employees (role_code VARCHAR)
<</SYS>>
SELECT role_code FROM Employees GROUP BY role_code HAVING COUNT(*) >= 3[/INST] Show all role codes with at least 3 employees.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23390604_1 (mahmoud_ahmadinejad VARCHAR, mir_hossein_mousavi VARCHAR)
<</SYS>>
SELECT mahmoud_ahmadinejad FROM table_23390604_1 WHERE mir_hossein_mousavi = 218481[/INST] List all the results for mahmoud ahmadinejad when candidate mir-hossein mousavi obtained 218481 votes.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (team_name VARCHAR, losses VARCHAR, season VARCHAR)
<</SYS>>
SELECT team_name FROM table_name_23 WHERE losses > 15 AND season = "1988"[/INST] Which team had more than 15 losses in 1988?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21100348_10 (innings VARCHAR, average VARCHAR)
<</SYS>>
SELECT innings FROM table_21100348_10 WHERE average = "41.43"[/INST] How man innings were there during the period with a career average of 41.43?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (goals_for VARCHAR, lost VARCHAR, position VARCHAR)
<</SYS>>
SELECT COUNT(goals_for) FROM table_name_10 WHERE lost < 7 AND position = 2[/INST] how many times is lost less than 7 and the position 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (regular_season VARCHAR, playoffs VARCHAR)
<</SYS>>
SELECT regular_season FROM table_name_87 WHERE playoffs = "0 mls cups"[/INST] Which regular season had the playoffs of 0 mls cups?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (assists INTEGER, games_played INTEGER)
<</SYS>>
SELECT MIN(assists) FROM table_name_24 WHERE games_played > 5[/INST] What is the lowest amount of assists for more than 5 games?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (Box VARCHAR, score VARCHAR)
<</SYS>>
SELECT Box AS score FROM table_name_20 WHERE score = "86-96"[/INST] What was the box score during a game that had a score of 86-96?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)
<</SYS>>
SELECT college_junior_club_team__league_ FROM table_name_49 WHERE round > 6 AND position = "winger" AND player = "evgeny afanasiev"[/INST] What is the School/Junior/Club Group (Association) that has a Round bigger than 6, and a Place of winger, and a Player of evgeny afanasiev?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR)
<</SYS>>
SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6[/INST] Which player had a draft before 1975 and before round 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29535057_4 (challenge_leader VARCHAR, winner VARCHAR)
<</SYS>>
SELECT COUNT(challenge_leader) FROM table_29535057_4 WHERE winner = "Virginia (87-79)"[/INST] How many challenge leaders were there of the games won by virginia (87-79)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (region VARCHAR, catalog VARCHAR)
<</SYS>>
SELECT region FROM table_name_89 WHERE catalog = "alca-487"[/INST] What is the Region with a Catalog of alca-487?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR)
<</SYS>>
SELECT MIN(area__km²_) FROM table_16278825_1 WHERE name_of_county = "Vas"[/INST] Name the least area for vas</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (money___$__ VARCHAR, score VARCHAR)
<</SYS>>
SELECT money___$__ FROM table_name_70 WHERE score = 69 - 71 - 69 - 72 = 281[/INST] What is the Money of the Player with a Score of 69-71-69-72=281?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (role VARCHAR, notes VARCHAR, title VARCHAR)
<</SYS>>
SELECT role FROM table_name_26 WHERE notes = "antagonist" AND title = "salud, dinero y amor"[/INST] What is the name of the role that has a Title of Salud, Dinero y Amor and antagonist in the notes field?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (score VARCHAR, att VARCHAR)
<</SYS>>
SELECT score FROM table_name_25 WHERE att = 354[/INST] What was the score for the matchup having attendance of 354?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (position VARCHAR, round INTEGER)
<</SYS>>
SELECT position FROM table_name_86 WHERE round < 2[/INST] What position has round less than 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_23 WHERE date = "18 january 1993"[/INST] who is the opponent on 18 january 1993?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (away_team VARCHAR, crowd INTEGER)
<</SYS>>
SELECT away_team FROM table_name_14 WHERE crowd > 29 OFFSET 000[/INST] Which Away team played when they had a Crowd of over 29,000 people?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (description VARCHAR, reserve VARCHAR)
<</SYS>>
SELECT description FROM table_name_40 WHERE reserve = "half moon caye"[/INST] What is the description when the reserve is Half Moon Caye?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (rank INTEGER, country VARCHAR)
<</SYS>>
SELECT MIN(rank) FROM table_name_23 WHERE country = "new zealand"[/INST] What is the smallest rank for new zealand?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (writer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)
<</SYS>>
SELECT writer_s_ FROM table_name_64 WHERE recorded_at = "funhouse studios" AND time = "3:27"[/INST] Who wrote the album recorded at funhouse studios with a time of 3:27?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR)
<</SYS>>
SELECT driver FROM table_21297652_1 WHERE series = "NASCAR Winston Cup" AND winnings = "$40,000"[/INST] Which drivers won $40,000 in the NASCAR Winston Cup?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (ceased_to_be_countess VARCHAR, birth VARCHAR)
<</SYS>>
SELECT ceased_to_be_countess FROM table_name_19 WHERE birth = "3 may 1446"[/INST] When did the person born on 3 May 1446 cease to be countess?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (game INTEGER, opponent VARCHAR)
<</SYS>>
SELECT MAX(game) FROM table_name_56 WHERE opponent = "atlanta hawks"[/INST] Can you tell me the highest Game that has the Opponent of atlanta hawks?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (place INTEGER, units_sold_in_the_uk VARCHAR)
<</SYS>>
SELECT AVG(place) FROM table_name_86 WHERE units_sold_in_the_uk = "321,000"[/INST] Of the games that sold 321,000 units in the UK, what is their average place?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25691838_12 (production_code VARCHAR, original_airdate VARCHAR)
<</SYS>>
SELECT production_code FROM table_25691838_12 WHERE original_airdate = "December 01"[/INST] What is the production code of the episode with an original airdate of december 01?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (region VARCHAR, catalog__number VARCHAR)
<</SYS>>
SELECT region FROM table_name_60 WHERE catalog__number = "7567-83061-2"[/INST] What is the region for the album with a catalog number of 7567-83061-2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (attendance INTEGER, date VARCHAR)
<</SYS>>
SELECT MAX(attendance) FROM table_name_42 WHERE date = "january 15"[/INST] On January 15, what was the most in attendance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (rank VARCHAR, alliance VARCHAR, country VARCHAR)
<</SYS>>
SELECT COUNT(rank) FROM table_name_13 WHERE alliance = "star alliance" AND country = "brazil"[/INST] How many airlines have the star alliance and are in brazil?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (pennant VARCHAR, builder VARCHAR)
<</SYS>>
SELECT pennant FROM table_name_23 WHERE builder = "yarrow, scotstoun"[/INST] what is the pennant when the builder is yarrow, scotstoun?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (Final VARCHAR, week_1 VARCHAR, week_3 VARCHAR)
<</SYS>>
SELECT Final AS week_12 FROM table_name_8 WHERE week_1 = "deepak p rahul" AND week_3 = "amit carol"[/INST] What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (tie_no VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT tie_no FROM table_name_98 WHERE home_team = "scarborough"[/INST] What is the Tie no when Scarborough is the Home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (pick VARCHAR, player VARCHAR)
<</SYS>>
SELECT pick FROM table_name_34 WHERE player = "dexter bailey"[/INST] What is Pick, when Player is "Dexter Bailey"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (land___sqmi__ INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR)
<</SYS>>
SELECT MIN(land___sqmi__) FROM table_name_27 WHERE longitude = -99.172785 AND water__sqmi_ < 0.973[/INST] What is the lowest land in sq mi with a longitude of -99.172785 and less than 0.973 sq mi of water?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR)
<</SYS>>
SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = "1st" AND points < 168[/INST] Which Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_12 WHERE home_team = "essendon"[/INST] What is the score of the away team when the home team is Essendon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)
<</SYS>>
SELECT attendance FROM table_name_84 WHERE date = "december 12, 2004"[/INST] What is the Attendance of the game on December 12, 2004?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22669375_1 (location VARCHAR, race_name VARCHAR)
<</SYS>>
SELECT location FROM table_22669375_1 WHERE race_name = "Trenton 300"[/INST] Name the location for trenton 300</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (snatch VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
<</SYS>>
SELECT COUNT(snatch) FROM table_name_62 WHERE clean_ & _jerk > 132.5 AND total__kg_ = 315 AND bodyweight = 68.63[/INST] Tell me the total number of snatches for clean and jerk more than 132.5 when the total kg was 315 and bodyweight was 68.63</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16376436_1 (college VARCHAR, position VARCHAR)
<</SYS>>
SELECT college FROM table_16376436_1 WHERE position = "Defensive Back"[/INST] What college did the defensive back attend?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (notes VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)
<</SYS>>
SELECT notes FROM table_name_69 WHERE event = "400 m" AND year < 2004 AND position = "12th (h)"[/INST] What was the notes of the 400 m event before 2004 with a position of 12th (h)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (conference VARCHAR, city VARCHAR, school VARCHAR)
<</SYS>>
SELECT conference FROM table_name_74 WHERE city = "boca raton" AND school = "florida atlantic university"[/INST] Which Conference has a City of boca raton, and a School of florida atlantic university?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (built VARCHAR, cr_no VARCHAR, lms_no VARCHAR)
<</SYS>>
SELECT built FROM table_name_57 WHERE cr_no > 940 AND lms_no = 14760[/INST] What's the built date when the CR number is more than 940 and the LMS number is 14760?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE products_for_hire (product_name VARCHAR, product_description VARCHAR, product_type_code VARCHAR, daily_hire_cost VARCHAR)
<</SYS>>
SELECT product_name, product_description FROM products_for_hire WHERE product_type_code = 'Cutlery' AND daily_hire_cost < 20[/INST] What are the names and descriptions of the products that are of 'Cutlery' type and have daily hire cost lower than 20?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (theme VARCHAR, result VARCHAR)
<</SYS>>
SELECT theme FROM table_name_95 WHERE result = "eliminated"[/INST] Which Theme has a Result of eliminated?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (venue VARCHAR, silver VARCHAR, year VARCHAR)
<</SYS>>
SELECT venue FROM table_name_18 WHERE silver = "united states" AND year = 2010[/INST] Where was 2010 tournament where the United States received the silver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1585609_2 (japanese VARCHAR, name VARCHAR)
<</SYS>>
SELECT COUNT(japanese) FROM table_1585609_2 WHERE name = "Amagasaki"[/INST] Name the total number of japanese for amagasaki</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (points VARCHAR, record VARCHAR)
<</SYS>>
SELECT COUNT(points) FROM table_name_2 WHERE record = "21–29–10"[/INST] Record of 21–29–10 had what total number of points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2856898_1 (turnover__£m_ VARCHAR, profit_before_tax__£m_ VARCHAR)
<</SYS>>
SELECT turnover__£m_ FROM table_2856898_1 WHERE profit_before_tax__£m_ = "29.47"[/INST] What was the turnover when the profit before tax was 29.47?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.