text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_1013168_2 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)
<</SYS>>
SELECT successor FROM table_1013168_2 WHERE date_of_successors_formal_installation = "November 8, 1978"[/INST] Who was the succesor that was formally installed on November 8, 1978?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (team VARCHAR, race_title VARCHAR)
<</SYS>>
SELECT team FROM table_name_60 WHERE race_title = "launceston"[/INST] Name the team for launceston</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10706879_3 (fastest_lap VARCHAR, rd VARCHAR)
<</SYS>>
SELECT COUNT(fastest_lap) FROM table_10706879_3 WHERE rd = 10[/INST] How many fastest laps were there for a rd that equals 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE dorm_amenity (amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm (dormid VARCHAR); CREATE TABLE student (fname VARCHAR, stuid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR)
<</SYS>>
SELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T2.dormid FROM dorm AS T3 JOIN has_amenity AS T4 ON T3.dormid = T4.dormid JOIN dorm_amenity AS T5 ON T4.amenid = T5.amenid GROUP BY T3.dormid ORDER BY COUNT(*) DESC LIMIT 1)[/INST] Find the first name of students who are living in the dorm that has most number of amenities.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24143253_2 (current_marital_status VARCHAR, name VARCHAR)
<</SYS>>
SELECT current_marital_status FROM table_24143253_2 WHERE name = "Stella Farentino"[/INST] What is Stella Farentino's current relationship status?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (away_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_26 WHERE away_team = "collingwood"[/INST] What is the Away Team Score of the Collingwood Home Team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (country VARCHAR, series_premiere VARCHAR, tv_network_s_ VARCHAR)
<</SYS>>
SELECT country FROM table_name_27 WHERE series_premiere = "unknown" AND tv_network_s_ = "mbc action"[/INST] What country has a series premier of unknown and mbc action as their TV network?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (class VARCHAR, pos VARCHAR)
<</SYS>>
SELECT class AS pos FROM table_name_98 WHERE pos = "9th"[/INST] Which team is in 9th place?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Invoices (invoice_number VARCHAR, invoice_date VARCHAR); CREATE TABLE Financial_transactions (invoice_number VARCHAR)
<</SYS>>
SELECT T2.invoice_number, T2.invoice_date FROM Financial_transactions AS T1 JOIN Invoices AS T2 ON T1.invoice_number = T2.invoice_number GROUP BY T1.invoice_number ORDER BY COUNT(*) DESC LIMIT 1[/INST] What is the invoice number and invoice date for the invoice with most number of transactions?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (away_team VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_68 WHERE tie_no = "1"[/INST] What is the Away team of Tie no 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (location_attendance VARCHAR, game VARCHAR)
<</SYS>>
SELECT location_attendance FROM table_name_51 WHERE game = 6[/INST] What was the Location and Attendance of Game 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12161822_5 (grand_prix VARCHAR, winning_driver VARCHAR)
<</SYS>>
SELECT grand_prix FROM table_12161822_5 WHERE winning_driver = "Jenson Button"[/INST] what's the grand prix with winning driver being jenson button</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (name VARCHAR, episode_number VARCHAR)
<</SYS>>
SELECT name FROM table_name_30 WHERE episode_number = "episode 34"[/INST] Which contestant was associated with episode 34?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (team VARCHAR, races VARCHAR, points VARCHAR)
<</SYS>>
SELECT team FROM table_name_10 WHERE races = "4" AND points = "0"[/INST] What is the Team that has a Races of 4, and a Points of 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 16[/INST] Which cornerback has the lowest overall and a pick number smaller than 16?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (prize_money___ INTEGER, events VARCHAR)
<</SYS>>
SELECT MIN(prize_money___) AS $__ FROM table_name_96 WHERE events = 21[/INST] What is the least amount of prize money when there are 21 events?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16388439_3 (home_team VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_16388439_3 WHERE home_team = "Brisbane Lions"[/INST] Name the home team score for brisbane lions</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16976547_2 (air_dates VARCHAR, cycle_no VARCHAR)
<</SYS>>
SELECT COUNT(air_dates) FROM table_16976547_2 WHERE cycle_no = "05"[/INST] Name the total number of air dates for 05 cycle</s>
|
<s>[INST] <<SYS>>
CREATE TABLE publication (Publication_Date VARCHAR)
<</SYS>>
SELECT COUNT(DISTINCT Publication_Date) FROM publication[/INST] What is the number of distinct publication dates?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (nation VARCHAR, a_score VARCHAR, total VARCHAR)
<</SYS>>
SELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833[/INST] When the A Score was larger than 5.933 with a total of 19.833, what nation was this?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (gold VARCHAR, event VARCHAR, silver VARCHAR)
<</SYS>>
SELECT gold FROM table_name_2 WHERE event = "time trial details" AND silver = "simon richardson great britain (gbr)"[/INST] Who received gold when the event is time trial details and silver is simon richardson great britain (gbr)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (name VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR, rank VARCHAR)
<</SYS>>
SELECT name FROM table_name_87 WHERE market_value__bn$_ < 5.59 AND rank > 39 AND assets__bn$_ > 27.46[/INST] Which company had a market value less than $5.59 billion, assets greater than $27.46 billion, and a rank above 39?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (home_team VARCHAR, ground VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_name_25 WHERE ground = "ghantoot racing and polo club"[/INST] What is the home team score of the Ghantoot Racing and Polo Club Ground?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11677691_2 (school VARCHAR, college VARCHAR)
<</SYS>>
SELECT school FROM table_11677691_2 WHERE college = "South Carolina"[/INST] WHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_10 WHERE away_team = "st kilda"[/INST] When st kilda played as the Away team which date was that?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (launch_pad VARCHAR, launch_date_time__utc_ VARCHAR)
<</SYS>>
SELECT launch_pad FROM table_name_16 WHERE launch_date_time__utc_ = "25 december 2010 10:34"[/INST] Tell me the launch pad for 25 december 2010 10:34</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (kansas_state_vs VARCHAR, current_streak VARCHAR, games_played VARCHAR)
<</SYS>>
SELECT kansas_state_vs FROM table_name_85 WHERE current_streak = "w 2" AND games_played = "31"[/INST] What kansas vs. that has w 2 as the current streak, and 31 as games played?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (goals_conceded__gc_ VARCHAR, lost__pp_ VARCHAR, team__equipo_ VARCHAR)
<</SYS>>
SELECT goals_conceded__gc_ FROM table_name_32 WHERE lost__pp_ = 7 AND team__equipo_ = "chepo f.c."[/INST] How many goals were conceded against the Chepo F.C. team where they lost 7 games?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR)
<</SYS>>
SELECT MIN(laps) FROM table_name_69 WHERE driver = "tarso marques"[/INST] What were the lowest laps of Tarso Marques?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
<</SYS>>
SELECT date_of_appointment FROM table_name_42 WHERE outgoing_manager = "hakan kutlu"[/INST] What is Date of Appointment, when Outgoing Manager is "Hakan Kutlu"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (drawn INTEGER, lost VARCHAR)
<</SYS>>
SELECT SUM(drawn) FROM table_name_33 WHERE lost = 4[/INST] What is the whole of Drawn that has a Lost of 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (nominated_work VARCHAR, year VARCHAR, results VARCHAR)
<</SYS>>
SELECT nominated_work FROM table_name_15 WHERE year = 2000 AND results = "won"[/INST] Which Nominated Work won in 2000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (rank INTEGER, country VARCHAR)
<</SYS>>
SELECT MAX(rank) FROM table_name_58 WHERE country = "egypt"[/INST] What is the highest rank for the team of egypt?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (location VARCHAR, score VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT location FROM table_name_83 WHERE score = "269 (–19)" AND tournament = "tallahassee open"[/INST] What is the location of the tallahassee open, with a Score of 269 (–19)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (soap_opera VARCHAR, character VARCHAR)
<</SYS>>
SELECT soap_opera FROM table_name_81 WHERE character = "teemu luotola"[/INST] What Soap Opera with the character Teemu Luotola?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (br_number VARCHAR, lms_number INTEGER)
<</SYS>>
SELECT br_number FROM table_name_5 WHERE lms_number > 14768[/INST] Which BR number has an LMS number over 14768?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_34 WHERE date = "june 9, 2015" AND home_team = "f1"[/INST] Which away team played on June 9, 2015 with a home team of f1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT SUM(gold) FROM table_name_28 WHERE silver > 17 AND bronze > 24[/INST] What is the sum for gold when there is more than 17 silver and more than 24 bronze?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (branding VARCHAR, frequency VARCHAR)
<</SYS>>
SELECT branding FROM table_name_70 WHERE frequency = "00 94.5"[/INST] What is the Branding of Frequency 00 94.5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (round INTEGER, position VARCHAR, pick VARCHAR)
<</SYS>>
SELECT MIN(round) FROM table_name_84 WHERE position = "guard" AND pick < 144[/INST] What is the lowest round for the player whose position is guard and had a pick number smaller than 144?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (score VARCHAR, partner VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT score FROM table_name_59 WHERE partner = "ksenia lykina" AND tournament = "kurume"[/INST] What was the score of the final in which Melanie South played with partner Ksenia Lykina during the Kurume Cup tournament?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (run_4 INTEGER, run_1 VARCHAR, run_3 VARCHAR)
<</SYS>>
SELECT SUM(run_4) FROM table_name_32 WHERE run_1 = 57.37 AND run_3 < 57.45[/INST] Which Run 4 has a Run 1 of 57.37, and a Run 3 smaller than 57.45?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (attendance INTEGER, date VARCHAR)
<</SYS>>
SELECT MAX(attendance) FROM table_name_92 WHERE date = "september 28"[/INST] What was the attendance on September 28?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341423_35 (incumbent VARCHAR, first_elected VARCHAR)
<</SYS>>
SELECT incumbent FROM table_1341423_35 WHERE first_elected = 1972[/INST] Who was elected in 1972</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (result VARCHAR, date VARCHAR)
<</SYS>>
SELECT result FROM table_name_23 WHERE date = "10-05-2012"[/INST] What is the result of game played on 10-05-2012?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (gender VARCHAR, decile VARCHAR, area VARCHAR)
<</SYS>>
SELECT gender FROM table_name_95 WHERE decile = 5 AND area = "dalefield"[/INST] What gender is the team that has a decile of 5 and in the Dalefield area?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_32 WHERE cardinalatial_order_and_title = "cardinal-bishop of albano"[/INST] What's the nationality of Cardinal-Bishop of Albano?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (game VARCHAR, decision VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT game FROM table_name_96 WHERE decision = "valiquette" AND opponent = "@ los angeles kings"[/INST] What game has valiquette as the decision, with @ los angeles kings as the opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27776266_1 (title VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT title FROM table_27776266_1 WHERE production_code = "3X6404"[/INST] What was the title of the episode with a production code of 3x6404?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (grid INTEGER, laps VARCHAR, team VARCHAR)
<</SYS>>
SELECT AVG(grid) FROM table_name_29 WHERE laps < 10 AND team = "china"[/INST] What is the average grid number that had Team China with less than 10 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, rockingham_county VARCHAR)
<</SYS>>
SELECT james_e_holmes FROM table_25330991_3 WHERE rockingham_county = "Joe Baez"[/INST] Name the james e. holmes for joe baez</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (population_density__per_km²_ VARCHAR, name VARCHAR, population__2006_ VARCHAR)
<</SYS>>
SELECT COUNT(population_density__per_km²_) FROM table_name_98 WHERE name = "total northern villages" AND population__2006_ > 11414[/INST] How much Population density (per km²) has a Name of total northern villages, and a Population (2006) larger than 11414?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1776943_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR, archive VARCHAR)
<</SYS>>
SELECT broadcast_date FROM table_1776943_1 WHERE viewers__in_millions_ = "6.4" AND archive = "16mm t/r"[/INST] Name the broadcast date for 6.4 million viewers for the archive of 16mm t/r</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR)
<</SYS>>
SELECT COUNT(avg_g) FROM table_name_62 WHERE att_cmp_int = "1–1–0" AND effic > 394[/INST] Avg/G that has a Att-Cmp-Int of 1–1–0, and an Effic larger than 394 is what total?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17121262_9 (location_attendance VARCHAR, game VARCHAR)
<</SYS>>
SELECT location_attendance FROM table_17121262_9 WHERE game = 60[/INST] What was the location and attendance for game 60?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14016079_1 (circuit VARCHAR, race_title VARCHAR)
<</SYS>>
SELECT circuit FROM table_14016079_1 WHERE race_title = "City of Ipswich 400"[/INST] On what circuit was the City of Ipswich 400 race held?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (race VARCHAR, pole_position VARCHAR)
<</SYS>>
SELECT race FROM table_name_25 WHERE pole_position = "jacques laffite"[/INST] What race has a Pole Position of Jacques Laffite?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27537870_5 (opponent VARCHAR, record VARCHAR)
<</SYS>>
SELECT opponent FROM table_27537870_5 WHERE record = "10-13-3"[/INST] Name the opponent for record 10-13-3</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_10 WHERE score = "2–1" AND away_team = "telford united"[/INST] What home team has a score of 2–1, when the away team was Telford United?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)
<</SYS>>
SELECT national_final_main_host FROM table_name_83 WHERE semi_final_heat_host = "internal selection" AND year_s_ = "2011"[/INST] What is the name of the national final main host when the semi final/heat host shows internal selection in 2011?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (series VARCHAR, title_rank VARCHAR)
<</SYS>>
SELECT series FROM table_name_20 WHERE title_rank = "various"[/INST] What series had the title rank of various?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
<</SYS>>
SELECT constructor FROM table_name_52 WHERE laps < 17 AND grid > 11 AND driver = "alan jones"[/INST] Tell me constructor for Laps less than 17 and Grid more than 11 for alan jones</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Projects (organisation_id VARCHAR, project_id VARCHAR)
<</SYS>>
SELECT T1.organisation_id, COUNT(*) FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1[/INST] List the organisation id with the maximum outcome count, and the count.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (time VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT time FROM table_name_82 WHERE home_team = "southern"[/INST] What time is it for the southern home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341472_49 (first_elected INTEGER)
<</SYS>>
SELECT MAX(first_elected) FROM table_1341472_49[/INST] what's the latest first elected year</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (Id VARCHAR)
<</SYS>>
SELECT 2011 FROM table_name_31 WHERE 2008 = "134"[/INST] What is the 2011 value with a 134 in 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (lead VARCHAR, home VARCHAR)
<</SYS>>
SELECT lead FROM table_name_84 WHERE home = "saskatoon, saskatchewan"[/INST] Who is the lead for the team from Saskatoon, Saskatchewan?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (name VARCHAR, source VARCHAR, type VARCHAR)
<</SYS>>
SELECT name FROM table_name_94 WHERE source = "apoelfc.com.cy" AND type = "transfer"[/INST] Which name has the source apoelfc.com.cy and a type of transfer?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (title VARCHAR, original_airdate VARCHAR)
<</SYS>>
SELECT title FROM table_name_65 WHERE original_airdate = "february 2, 2008"[/INST] What is the title of the episode originally aired on February 2, 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (date VARCHAR, high_rebounds VARCHAR)
<</SYS>>
SELECT date FROM table_name_3 WHERE high_rebounds = "two-way tie (8)"[/INST] On what date was a two-way tie (8) the high rebound?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (game INTEGER, attendance VARCHAR)
<</SYS>>
SELECT MIN(game) FROM table_name_53 WHERE attendance = 71 OFFSET 962[/INST] What's the game with an attendance of 71,962?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (laps VARCHAR, constructor VARCHAR, driver VARCHAR)
<</SYS>>
SELECT laps FROM table_name_7 WHERE constructor = "renault" AND driver = "fernando alonso"[/INST] How many laps were there when the constructor was Renault, and when the Driver was Fernando Alonso?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, guest VARCHAR)
<</SYS>>
SELECT introductory_phrase FROM table_14835674_1 WHERE guest = "Neil Shubin"[/INST] What was the inroductory phase for the episode with neil shubin as a guest?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2268216_1 (manufacturer VARCHAR, team VARCHAR)
<</SYS>>
SELECT manufacturer FROM table_2268216_1 WHERE team = "Ranier-Lundy"[/INST] Whose is the manufacturer for team Ranier-Lundy? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (launch_date VARCHAR, cospar_id VARCHAR)
<</SYS>>
SELECT launch_date FROM table_name_80 WHERE cospar_id = "1967-042a"[/INST] When was the satellite that has a COSPAR ID of 1967-042a launched?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26160007_1 (total_trade VARCHAR, country VARCHAR)
<</SYS>>
SELECT total_trade FROM table_26160007_1 WHERE country = "Switzerland"[/INST] In the country Switzerland, what is the total trade?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (react INTEGER, country VARCHAR, lane VARCHAR)
<</SYS>>
SELECT MIN(react) FROM table_name_62 WHERE country = "sri lanka" AND lane > 8[/INST] What is the lowest of the athlete from sri lanka who has a lane greater than 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (player VARCHAR, position VARCHAR)
<</SYS>>
SELECT player FROM table_name_18 WHERE position = "forward"[/INST] Which Player has a Position of forward?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (coding VARCHAR, variant_id VARCHAR)
<</SYS>>
SELECT 5 AS ’utr_splice FROM table_name_70 WHERE coding = "1a 2" AND variant_id = "abd'1a 2"[/INST] Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29135051_3 (broadcast_date VARCHAR, guest_s_ VARCHAR)
<</SYS>>
SELECT broadcast_date FROM table_29135051_3 WHERE guest_s_ = "Michael McIntyre and Alex James"[/INST] when was the episode guest starring michael mcintyre and alex james broadcasted</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1430913_1 (height_from_sea_level_in_meters VARCHAR, category VARCHAR)
<</SYS>>
SELECT height_from_sea_level_in_meters FROM table_1430913_1 WHERE category = "Extremely Adventures"[/INST] If extremely adventures is the category what is the height from sea level in meters?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22839669_1 (outcome VARCHAR, score_in_the_final VARCHAR)
<</SYS>>
SELECT outcome FROM table_22839669_1 WHERE score_in_the_final = "4–6, 3–6, 2–6"[/INST] What was the outcome of the match with score 4–6, 3–6, 2–6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1682026_6 (rank INTEGER, assets__billion_$_ VARCHAR)
<</SYS>>
SELECT MAX(rank) FROM table_1682026_6 WHERE assets__billion_$_ = "1,715.8"[/INST] What is the highest rank of a company that has 1,715.8 billion in assets? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (pick VARCHAR, player VARCHAR)
<</SYS>>
SELECT pick FROM table_name_75 WHERE player = "benito cheng"[/INST] What is Benito Cheng's Pick number?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11111116_6 (original_air_date VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT original_air_date FROM table_11111116_6 WHERE written_by = "Rebecca Dameron"[/INST] The episode written by Rebecca Dameron aired on what date? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (height VARCHAR, hometown VARCHAR)
<</SYS>>
SELECT height FROM table_name_48 WHERE hometown = "chicago, il"[/INST] How tall is the player from Chicago, IL?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (points INTEGER, extra_points VARCHAR, player VARCHAR)
<</SYS>>
SELECT AVG(points) FROM table_name_14 WHERE extra_points = 0 AND player = "white"[/INST] What are the average points White made with 0 extra points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28178595_2 (mystic_arte VARCHAR, character VARCHAR)
<</SYS>>
SELECT COUNT(mystic_arte) FROM table_28178595_2 WHERE character = "Hisui (Jadeite) Hearts 1"[/INST] How many mystic arte have hisui (jadeite) hearts 1 as the character?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1180228_1 (aspect_ratio VARCHAR, released VARCHAR)
<</SYS>>
SELECT aspect_ratio FROM table_1180228_1 WHERE released = "12/10/2009"[/INST] What is the aspect ratio of the DVD released on 12/10/2009?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (club VARCHAR, result VARCHAR, competition VARCHAR, nation VARCHAR, year VARCHAR)
<</SYS>>
SELECT club FROM table_name_8 WHERE nation = "mexico" AND year = 2010 AND competition = "preseason" AND result = "w 0–1"[/INST] What is the Club of mexico, Year of 2010, and a Competition of preseason, and a Result of w 0–1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (director VARCHAR, language VARCHAR)
<</SYS>>
SELECT director FROM table_name_92 WHERE language = "italian"[/INST] Who is the director of the film in Italian?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (away_team VARCHAR, date VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_77 WHERE date = "4 june 1927" AND venue = "corio oval"[/INST] Which team was at Corio Oval on 4 June 1927?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (group_position VARCHAR, date VARCHAR)
<</SYS>>
SELECT group_position FROM table_name_9 WHERE date = "7 november 2007"[/INST] What is the Group position for the date of 7 November 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (winning_score VARCHAR, runner_s__up VARCHAR, margin_of_victory VARCHAR)
<</SYS>>
SELECT winning_score FROM table_name_42 WHERE runner_s__up = "beth daniel" AND margin_of_victory = "7 strokes"[/INST] What was the winning score when the runner-up was Beth Daniel and the margin of victory was 7 strokes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
<</SYS>>
SELECT country FROM table_name_3 WHERE to_par > 3 AND year_s__won = "1979"[/INST] Which Country has a To par larger than 3, and a Year(s) won of 1979? Question 1</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR)
<</SYS>>
SELECT state_served FROM table_24415627_2 WHERE time_since_entry = "49years, 29days"[/INST] List the states that have entry times of 49years, 29days</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (finish VARCHAR, rank VARCHAR, start VARCHAR)
<</SYS>>
SELECT finish FROM table_name_41 WHERE rank = "19" AND start = "14"[/INST] With a Rank of 19, and a Start of 14, what was the finish?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (written_by VARCHAR, prod_code VARCHAR, directed_by VARCHAR)
<</SYS>>
SELECT written_by FROM table_name_5 WHERE prod_code > 1.4 AND directed_by = "rick wallace"[/INST] Who wrote the episode with a production code greater than 1.4 direcyed by rick wallace?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (player VARCHAR, to_par VARCHAR)
<</SYS>>
SELECT player FROM table_name_29 WHERE to_par = "+2"[/INST] What player has +2 to par?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE All_documents (Date_Stored VARCHAR, date_stored VARCHAR); CREATE TABLE Ref_calendar (day_Number VARCHAR, calendar_date VARCHAR)
<</SYS>>
SELECT T2.day_Number, T1.Date_Stored FROM All_documents AS T1 JOIN Ref_calendar AS T2 ON T1.date_stored = T2.calendar_date[/INST] What is the day Number and date of all the documents?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.