text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (platelet_count VARCHAR, partial_thromboplastin_time VARCHAR)
<</SYS>>
SELECT platelet_count FROM table_name_20 WHERE partial_thromboplastin_time = "prolonged or unaffected"[/INST] Which Platelet count has a Partial thromboplastin time of prolonged or unaffected?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23528223_2 (no_in_series VARCHAR, directed_by VARCHAR)
<</SYS>>
SELECT no_in_series FROM table_23528223_2 WHERE directed_by = "Skipp Sudduth"[/INST] What's the series number of the episode directed by Skipp Sudduth?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (week INTEGER, game_site VARCHAR)
<</SYS>>
SELECT MIN(week) FROM table_name_62 WHERE game_site = "ford field"[/INST] What was the earliest week the Titans played at Ford Field?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (round VARCHAR, date VARCHAR)
<</SYS>>
SELECT round FROM table_name_41 WHERE date = "10 april 2007"[/INST] Which round happened on 10 april 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (name VARCHAR, authors VARCHAR)
<</SYS>>
SELECT name FROM table_name_99 WHERE authors = "gao chiappe meng o'connor wang cheng liu"[/INST] What is the name of gao chiappe meng o'connor wang cheng liu?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (object_type VARCHAR, ngc_number VARCHAR, declination___j2000__ VARCHAR)
<</SYS>>
SELECT object_type FROM table_name_53 WHERE ngc_number > 6357 AND declination___j2000__ = "°45′34″"[/INST] Which object type had an NGC number greater than 6357 and a declination (J2000) of °45′34″?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (school_club_team VARCHAR, round VARCHAR, position VARCHAR)
<</SYS>>
SELECT school_club_team FROM table_name_36 WHERE round > 8 AND position = "linebacker"[/INST] What school did the linebacker who was drafted after round 8 come from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (points VARCHAR, rank VARCHAR, games VARCHAR)
<</SYS>>
SELECT COUNT(points) FROM table_name_80 WHERE rank = 5 AND games > 34[/INST] How many points are there for rank 5 with more than 34 games?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (total INTEGER, nation VARCHAR, gold VARCHAR)
<</SYS>>
SELECT AVG(total) FROM table_name_67 WHERE nation = "egypt" AND gold < 2[/INST] What is the average total medals Egypt, who has less than 2 gold, has?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29789_3 (country VARCHAR, _percentage_change VARCHAR)
<</SYS>>
SELECT country FROM table_29789_3 WHERE _percentage_change = "5.7"[/INST] Which country saw a 5.7% increase in spending on international tourism between 2011 and 2012?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (score VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT score FROM table_name_99 WHERE tie_no = "32"[/INST] What is the score if the Tie no is 32?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (starts INTEGER, avg_finish INTEGER)
<</SYS>>
SELECT SUM(starts) FROM table_name_54 WHERE avg_finish > 43[/INST] How many starts for an average finish greater than 43?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (bodyweight INTEGER, snatch VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
<</SYS>>
SELECT MIN(bodyweight) FROM table_name_36 WHERE clean_ & _jerk = "145.0" AND snatch < 122.5[/INST] What is the least Bodyweight for the Clean & jerk of 145.0, and a Snatch smaller than 122.5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (method VARCHAR, round VARCHAR, record VARCHAR)
<</SYS>>
SELECT method FROM table_name_88 WHERE round = "1" AND record = "10–2"[/INST] Round of 1, and a Record of 10–2 had what method?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (name VARCHAR, medal VARCHAR, event VARCHAR)
<</SYS>>
SELECT name FROM table_name_57 WHERE medal = "silver" AND event = "men's doubles"[/INST] Which participants won the silver medal for the Men's Doubles?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (money___ INTEGER, player VARCHAR)
<</SYS>>
SELECT SUM(money___) AS £__ FROM table_name_56 WHERE player = "nick faldo"[/INST] What is the total Money (£) of Player of nick faldo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (Id VARCHAR)
<</SYS>>
SELECT 2005 FROM table_name_16 WHERE 2007 = "sf"[/INST] Name the 2005 with 2007 of sf</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16886076_1 (nickerie VARCHAR, marowijne VARCHAR)
<</SYS>>
SELECT COUNT(nickerie) FROM table_16886076_1 WHERE marowijne = "4.7%"[/INST] Name the nickerie for marowijne being 4.7%</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (entrant VARCHAR, engine_† VARCHAR)
<</SYS>>
SELECT entrant FROM table_name_92 WHERE engine_† = "bmw p82"[/INST] who is the entrant when the engine is bmw p82?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2626564_2 (team_s_ VARCHAR, winnings VARCHAR)
<</SYS>>
SELECT team_s_ FROM table_2626564_2 WHERE winnings = "$5,200"[/INST] What team was Pearson on when his winnings were $5,200?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (pick VARCHAR, name VARCHAR, overall VARCHAR)
<</SYS>>
SELECT COUNT(pick) FROM table_name_71 WHERE name = "george rosso" AND overall < 296[/INST] What pick did George Rosso get drafted when the overall was less than 296?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (icao VARCHAR, city VARCHAR)
<</SYS>>
SELECT icao FROM table_name_54 WHERE city = "ningbo"[/INST] What is the ICAO for the airport in Ningbo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (authority VARCHAR, name VARCHAR)
<</SYS>>
SELECT authority FROM table_name_2 WHERE name = "upper valley middle school"[/INST] Is Upper valley middle school public or private?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE singer (Citizenship VARCHAR)
<</SYS>>
SELECT Citizenship FROM singer GROUP BY Citizenship ORDER BY COUNT(*) DESC LIMIT 1[/INST] Please show the most common citizenship of singers.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10015132_7 (player VARCHAR, school_club_team VARCHAR)
<</SYS>>
SELECT player FROM table_10015132_7 WHERE school_club_team = "Georgia"[/INST] which player is from georgia</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (against INTEGER, points VARCHAR, played VARCHAR)
<</SYS>>
SELECT AVG(against) FROM table_name_65 WHERE points = 6 AND played < 9[/INST] Which average Against has Points of 6, and a Played smaller than 9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14911550_5 (played INTEGER)
<</SYS>>
SELECT MIN(played) FROM table_14911550_5[/INST] How many games were played?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (to_par VARCHAR, score VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_5 WHERE score = 68 - 74 - 71 - 77 = 290[/INST] What's the to par for the score of 68-74-71-77=290?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (clock_rate__mhz_ INTEGER, bandwidth__mb_s_ VARCHAR, bus_width__bits_ VARCHAR)
<</SYS>>
SELECT MAX(clock_rate__mhz_) FROM table_name_75 WHERE bandwidth__mb_s_ < 4800 AND bus_width__bits_ < 16[/INST] Bandwidth (MB/s) smaller than 4800, and a Bus width (bits) smaller than 16 has what highest Clock rate (MHz)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (player VARCHAR, events INTEGER)
<</SYS>>
SELECT player FROM table_name_60 WHERE events > 25[/INST] Which player had more than 25 events?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR, score VARCHAR)
<</SYS>>
SELECT place FROM table_name_64 WHERE country = "australia" AND score = 70 - 70 - 72 = 212[/INST] Which Place has a Country of australia, and a Score of 70-70-72=212?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (record VARCHAR, game VARCHAR, location VARCHAR)
<</SYS>>
SELECT record FROM table_name_67 WHERE game < 24 AND location = "miami arena"[/INST] What was the record when they played in the Miami Arena, before game 24?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (silver INTEGER, nation VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT MAX(silver) FROM table_name_1 WHERE nation = "total" AND bronze < 18[/INST] Which Silver has a Nation of total, and a Bronze smaller than 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (away_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_16 WHERE venue = "arden street oval"[/INST] Who was the away team at the game held at Arden Street Oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_30120566_1 (barony VARCHAR, townland VARCHAR, civil_parish VARCHAR)
<</SYS>>
SELECT barony FROM table_30120566_1 WHERE townland = "Dawstown" AND civil_parish = "Matehy"[/INST] In what barony are both the townland Dawstown and the civil parish Matehy located?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (road_team VARCHAR, date VARCHAR)
<</SYS>>
SELECT road_team FROM table_name_29 WHERE date = "april 10"[/INST] What is Road Team, when Date is "April 10"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1817879_2 (date_opened VARCHAR, segment_description VARCHAR)
<</SYS>>
SELECT date_opened FROM table_1817879_2 WHERE segment_description = "Red Line MOS-2 North"[/INST] What date of segment description red line mos-2 north open?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (winner VARCHAR, event VARCHAR)
<</SYS>>
SELECT winner FROM table_name_11 WHERE event = "european poker tour grand final"[/INST] Who is the winner of the European Poker Tour Grand Final?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (country VARCHAR, gdp__nominal_ VARCHAR)
<</SYS>>
SELECT country FROM table_name_46 WHERE gdp__nominal_ = "$29.9 billion"[/INST] Which country has a GDP (nominal) of $29.9 billion?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (year INTEGER, departed_from VARCHAR)
<</SYS>>
SELECT MAX(year) FROM table_name_16 WHERE departed_from = "tdb"[/INST] When did TDB depart?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, round VARCHAR)
<</SYS>>
SELECT college_junior_club_team__league_ FROM table_name_44 WHERE nationality = "united states" AND round < 12[/INST] What league is from the United States and a round smaller than 12.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR)
<</SYS>>
SELECT MAX(population) FROM table_name_34 WHERE median_household_income = "$32,902" AND number_of_households < 11 OFFSET 125[/INST] What is the highest Population that has a Median household income of $32,902 with a number of households less than 11,125</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1929755_1 (wins VARCHAR, winnings VARCHAR)
<</SYS>>
SELECT COUNT(wins) FROM table_1929755_1 WHERE winnings = "$2,089,556"[/INST] How many teams won $2,089,556?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (termination_of_mission VARCHAR, title VARCHAR, representative VARCHAR)
<</SYS>>
SELECT termination_of_mission FROM table_name_37 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "reynold e. carlson"[/INST] What is the Termination of Mission with a Title of Ambassador Extraordinary and Plenipotentiary with a Representative of Reynold E. Carlson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (winning_score VARCHAR, runner_s__up VARCHAR)
<</SYS>>
SELECT winning_score FROM table_name_37 WHERE runner_s__up = "ted purdy"[/INST] What is Winning Score, when Runner(s)-up is Ted Purdy?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18217753_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
<</SYS>>
SELECT written_by FROM table_18217753_1 WHERE us_viewers__millions_ = "27.11"[/INST] Who were the writers when there were 27.11 million viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (champion VARCHAR, location VARCHAR, semi_finalist__number2 VARCHAR)
<</SYS>>
SELECT champion FROM table_name_47 WHERE location = "morrisville, nc" AND semi_finalist__number2 = "clemson"[/INST] Which champion was from the location of Morrisville, NC, and whose SemiFinalist #2 of Clemson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (elevated VARCHAR, elector VARCHAR)
<</SYS>>
SELECT elevated FROM table_name_23 WHERE elector = "matteo orsini rosso"[/INST] Which Elevated has an Elector of matteo orsini rosso?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1137704_2 (report VARCHAR, winning_constructor VARCHAR, grand_prix VARCHAR)
<</SYS>>
SELECT report FROM table_1137704_2 WHERE winning_constructor = "Williams - Renault" AND grand_prix = "South African grand_prix"[/INST] what are all the report where winning constructor is williams - renault and grand prix is south african grand prix</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR)
<</SYS>>
SELECT into_service FROM table_29002641_1 WHERE number = "DH1"[/INST] Name the into service for dh1</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (birthdate VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR)
<</SYS>>
SELECT birthdate FROM table_name_23 WHERE height__cm_ < 191 AND weight__kg_ = 84[/INST] What is the Birthdate for the person with a height less than 191, and weight of 84 kg?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (Highest INTEGER, album_title VARCHAR, sales VARCHAR)
<</SYS>>
SELECT MIN(Highest) AS position FROM table_name_22 WHERE album_title = "10 years of hits" AND sales > 870 OFFSET 000[/INST] What is the lowest high position for 10 years of hits, and over 870,000 sales?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (profession VARCHAR, name VARCHAR, entered_the_house VARCHAR, evicted VARCHAR)
<</SYS>>
SELECT profession FROM table_name_1 WHERE entered_the_house = "day 1" AND evicted = "day 29" AND name = "skaj vikler"[/INST] What is the profession of Skaj Vikler, who entered the house on day 1 and was evicted on day 29?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_106367_2 (_number_of_candidates INTEGER, _number_of_seats_won VARCHAR)
<</SYS>>
SELECT MIN(_number_of_candidates) FROM table_106367_2 WHERE _number_of_seats_won = 80[/INST] What is the least number of candidates running were there when 80 seats were won?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (region VARCHAR, format VARCHAR, catalog VARCHAR)
<</SYS>>
SELECT region FROM table_name_49 WHERE format = "stereo lp" AND catalog = "amlh 66078"[/INST] What is the region for Catalog amlh 66078 in stereo lp format?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (elevation VARCHAR, county VARCHAR)
<</SYS>>
SELECT elevation FROM table_name_20 WHERE county = "oslo"[/INST] Tell me the elevation for oslo</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (total INTEGER, country VARCHAR, player VARCHAR)
<</SYS>>
SELECT AVG(total) FROM table_name_12 WHERE country = "united states" AND player = "andy north"[/INST] Which Total has a Country of united states, and a Player of andy north?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (to_par VARCHAR, player VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_80 WHERE player = "hale irwin"[/INST] what is the to par when the player is hale irwin?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (class VARCHAR, wins VARCHAR, year VARCHAR)
<</SYS>>
SELECT class FROM table_name_58 WHERE wins > 0 AND year = 1992[/INST] In 1992, what class has higher wins than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (tournament VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_60 WHERE 2010 = "2r"[/INST] Which tournament had 2r in 2010?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (kit_factory VARCHAR, manufacturer VARCHAR, model VARCHAR)
<</SYS>>
SELECT kit_factory FROM table_name_90 WHERE manufacturer = "jabiru" AND model = "j250"[/INST] What Kit/Factory has a J250 model made by Jabiru?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1000181_1 (notes VARCHAR, current_slogan VARCHAR)
<</SYS>>
SELECT notes FROM table_1000181_1 WHERE current_slogan = "SOUTH AUSTRALIA"[/INST] Tell me what the notes are for South Australia </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (last_performance VARCHAR, name VARCHAR)
<</SYS>>
SELECT last_performance FROM table_name_26 WHERE name = "j.p. viernes"[/INST] When was J.P. Viernes' last performance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26448179_4 (title VARCHAR, us_viewers__millions_ VARCHAR)
<</SYS>>
SELECT title FROM table_26448179_4 WHERE us_viewers__millions_ = "3.2"[/INST] What is the title of the episode watched by 3.2 million viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Courses (author_id VARCHAR); CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR, author_id VARCHAR)
<</SYS>>
SELECT T1.address_line_1, T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id GROUP BY T2.author_id HAVING COUNT(*) >= 2[/INST] Find the addresses and author IDs of the course authors that teach at least two courses.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (week INTEGER, date VARCHAR)
<</SYS>>
SELECT MIN(week) FROM table_name_82 WHERE date = "october 15, 1961"[/INST] What is the low week from october 15, 1961?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (attendance VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT attendance FROM table_name_9 WHERE opponent = "houston oilers"[/INST] What was the attendance for the game against the Houston Oilers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (persian VARCHAR, domari VARCHAR)
<</SYS>>
SELECT persian FROM table_name_84 WHERE domari = "na"[/INST] What Persian word has the same meaning as the Domari word na?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (position INTEGER, wins VARCHAR, goals_against VARCHAR, points VARCHAR)
<</SYS>>
SELECT MIN(position) FROM table_name_63 WHERE goals_against < 78 AND points = "42-2" AND wins > 15[/INST] Which lowest position has goals against smaller than 78, Points of 42-2, and Wins larger than 15?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (sign_of_zodiac VARCHAR, in_malayalam VARCHAR)
<</SYS>>
SELECT sign_of_zodiac FROM table_name_58 WHERE in_malayalam = "മീനം"[/INST] WHAT IS THE SIGN OF ZODIAC OF മീനം?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (roll VARCHAR, name VARCHAR, decile VARCHAR)
<</SYS>>
SELECT COUNT(roll) FROM table_name_19 WHERE name = "st joseph's school" AND decile < 5[/INST] Name the total number of roll for st joseph's school when decile is less than 5</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR)
<</SYS>>
SELECT years_in_orlando FROM table_name_23 WHERE nationality = "united states" AND school_club_team = "illinois"[/INST] Which Years in Orlando has a Nationality of united states, and a School/Club Team of illinois?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (gain INTEGER, long VARCHAR, name VARCHAR, loss VARCHAR, avg_g VARCHAR)
<</SYS>>
SELECT MIN(gain) FROM table_name_84 WHERE loss > 2 AND avg_g > -6 AND name = "sheehan, tyler" AND long > 11[/INST] Which Gain is the lowest one that has a Loss larger than 2, and an Avg/G larger than -6, and a Name of sheehan, tyler, and a Long larger than 11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24466191_1 (team VARCHAR, season VARCHAR)
<</SYS>>
SELECT team FROM table_24466191_1 WHERE season = 2010[/INST] Name the team for season 2010</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (capital VARCHAR, population VARCHAR)
<</SYS>>
SELECT capital FROM table_name_73 WHERE population = "308,610"[/INST] Which capital has a population of 308,610?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (rider VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR, bike VARCHAR)
<</SYS>>
SELECT rider FROM table_name_64 WHERE laps < 20 AND bike = "ducati 1098 rs 08" AND time = "accident" AND grid < 14[/INST] What rider has laps less than 20, a ducati 1098 rs 08 as the bike, with accident as the time, and a grid less than 14?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (district INTEGER, party VARCHAR, home_town VARCHAR)
<</SYS>>
SELECT SUM(district) FROM table_name_37 WHERE party = "democratic" AND home_town = "roby"[/INST] What district has a democratic leader from Roby?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (kitmaker VARCHAR, team VARCHAR)
<</SYS>>
SELECT kitmaker FROM table_name_38 WHERE team = "fc augsburg"[/INST] Who is the kitmaker for Fc Augsburg?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2781227_9 (college_junior_club_team VARCHAR, player VARCHAR)
<</SYS>>
SELECT college_junior_club_team FROM table_2781227_9 WHERE player = "Dmitri Gorenko"[/INST] What college/junior/club team did dmitri gorenko play for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (game VARCHAR, score VARCHAR)
<</SYS>>
SELECT COUNT(game) FROM table_name_31 WHERE score = "116–138"[/INST] What is the game number with a score of 116–138?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (format VARCHAR, call_sign VARCHAR)
<</SYS>>
SELECT format FROM table_name_94 WHERE call_sign = "cite-fm-1"[/INST] What is the format for the one which has a call sign of cite-fm-1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE railway (Builder VARCHAR)
<</SYS>>
SELECT Builder, COUNT(*) FROM railway GROUP BY Builder[/INST] Show different builders of railways, along with the corresponding number of railways using each builder.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10722506_6 (record VARCHAR, round_of_32 VARCHAR, conference VARCHAR)
<</SYS>>
SELECT record FROM table_10722506_6 WHERE round_of_32 = 0 AND conference = "Metro Atlantic"[/INST] What is the record when round of 32 is 0 and metro atlantic conference?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (to_par VARCHAR, country VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_30 WHERE country = "japan"[/INST] What is the player from Japan's To Par?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_148578_1 (yield__approximate_ VARCHAR, explosion VARCHAR)
<</SYS>>
SELECT yield__approximate_ FROM table_148578_1 WHERE explosion = "K-4"[/INST] What was the yield of the K-4 explosion?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (away_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_62 WHERE venue = "victoria park"[/INST] What was the away team score at victoria park?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (local_authority VARCHAR, station VARCHAR, zone_2010 VARCHAR, zone_2007 VARCHAR, zone_2008 VARCHAR)
<</SYS>>
SELECT local_authority FROM table_name_46 WHERE zone_2007 = "outside zones" AND zone_2008 = "outside zones" AND zone_2010 = "outside zones" AND station = "waltham cross"[/INST] Which Local authority has a Zone 2007 of outside zones, and a Zone 2008 of outside zones, and a Zone 2010 of outside zones, and a Station of waltham cross?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (date VARCHAR, score VARCHAR)
<</SYS>>
SELECT date FROM table_name_23 WHERE score = "42-6"[/INST] What was the date of game with a score of 42-6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13258876_2 (record VARCHAR, date VARCHAR)
<</SYS>>
SELECT record FROM table_13258876_2 WHERE date = "September 18, 1983"[/INST] What was the Seahawks record on September 18, 1983?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE VOTING_RECORD (Secretary_Vote VARCHAR, Election_Cycle VARCHAR); CREATE TABLE STUDENT (Age VARCHAR, StuID VARCHAR)
<</SYS>>
SELECT DISTINCT T1.Age FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.Secretary_Vote WHERE T2.Election_Cycle = "Fall"[/INST] Find the distinct ages of students who have secretary votes in the fall election cycle.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16729063_1 (pick__number INTEGER, player VARCHAR)
<</SYS>>
SELECT MIN(pick__number) FROM table_16729063_1 WHERE player = "Chris Brewer"[/INST] What draft pick was Chris Brewer?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20174050_1 (release_date VARCHAR, story__number VARCHAR)
<</SYS>>
SELECT COUNT(release_date) FROM table_20174050_1 WHERE story__number = 7[/INST] How many different release dates are there for the audio book with a story number 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (crowd INTEGER, home_team VARCHAR)
<</SYS>>
SELECT AVG(crowd) FROM table_name_31 WHERE home_team = "north melbourne"[/INST] What is the average crowd when the home team is north melbourne?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (to_par VARCHAR, money___£__ VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_74 WHERE money___£__ = "49,500"[/INST] What is the to par for the player with winnings of 49,500?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (score VARCHAR, visitor VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_21 WHERE visitor = "grizzlies" AND date = "30 december 2007"[/INST] What is the score of the game with Grizzlies as the visitor team on 30 December 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (rank_points VARCHAR, total VARCHAR, shooter VARCHAR)
<</SYS>>
SELECT rank_points FROM table_name_12 WHERE total = "17" AND shooter = "lalita yauhleuskaya ( aus )"[/INST] What is Rank Points, when Total is "17", and when Shooter is "Lalita Yauhleuskaya ( AUS )"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (Id VARCHAR)
<</SYS>>
SELECT 1997 FROM table_name_22 WHERE 2003 = "0 / 4"[/INST] What is 1997, when 2003 is 0 / 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (season VARCHAR, competition VARCHAR)
<</SYS>>
SELECT season FROM table_name_70 WHERE competition = "champions league"[/INST] In which season was there a competition in the Champions League?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (Id VARCHAR)
<</SYS>>
SELECT 2010 FROM table_name_9 WHERE 2011 = "qf"[/INST] What is the 2010 with a qf in 2011?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (first_year_played VARCHAR, doubles_w_l VARCHAR)
<</SYS>>
SELECT first_year_played FROM table_name_12 WHERE doubles_w_l = "8–3"[/INST] Which year first played with Double W-L of 8–3?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.