text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_2508633_6 (position VARCHAR, college VARCHAR)
<</SYS>>
SELECT position FROM table_2508633_6 WHERE college = "Delaware"[/INST] Name the position for delaware</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (score VARCHAR, home VARCHAR)
<</SYS>>
SELECT score FROM table_name_94 WHERE home = "montreal"[/INST] What was the score when Montreal was home?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15416002_1 (chi VARCHAR, nhc_advisory_number VARCHAR)
<</SYS>>
SELECT chi FROM table_15416002_1 WHERE nhc_advisory_number = "49B"[/INST] What is the CHI (Carvill Hurricane Index) when the NHC advisory number is equal to 49b?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (original_italian_production VARCHAR, first_us_national_tour VARCHAR)
<</SYS>>
SELECT original_italian_production FROM table_name_4 WHERE first_us_national_tour = "joanna glushak"[/INST] Which Original Italian production has a First US National Tour of joanna glushak?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (percent_yes VARCHAR, jurisdiction VARCHAR, percent_no VARCHAR)
<</SYS>>
SELECT COUNT(percent_yes) FROM table_name_68 WHERE jurisdiction = "alberta" AND percent_no > 60.2[/INST] What is the percent yes of Alberta, which had a percent no larger than 60.2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (player VARCHAR, pick__number VARCHAR, team_from VARCHAR)
<</SYS>>
SELECT player FROM table_name_46 WHERE pick__number < 205 AND team_from = "michigan state spartans"[/INST] Who was the player that was picked at a number less than 205 from the Michigan State Spartans?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (result VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT result FROM table_name_2 WHERE attendance = "46,456"[/INST] What was the result when the attendance was 46,456?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR, score VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_17 WHERE home_team = "south dragons" AND score = "94-81"[/INST] Can you tell me the Away team that has the Home team of south dragons, and the Score of 94-81?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25360865_1 (weight INTEGER)
<</SYS>>
SELECT MAX(weight) FROM table_25360865_1[/INST] Name the most height</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11926114_1 (chinese_title VARCHAR, average VARCHAR)
<</SYS>>
SELECT chinese_title FROM table_11926114_1 WHERE average = 31[/INST] What is the Chinese name that has a 31 average?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (losses VARCHAR, wins VARCHAR, against VARCHAR)
<</SYS>>
SELECT COUNT(losses) FROM table_name_22 WHERE wins = 16 AND against < 772[/INST] What is the total number of Losses, when Wins is "16", and when Against is less than 772?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (party VARCHAR, mayor VARCHAR)
<</SYS>>
SELECT party FROM table_name_99 WHERE mayor = "ettore romoli"[/INST] Which party is Ettore Romoli from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (tournament VARCHAR)
<</SYS>>
SELECT 2011 FROM table_name_59 WHERE 2007 = "f" AND tournament = "us open"[/INST] What was the result of the 2011 US Open when the 2007 was F?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (lost INTEGER, goals_conceded VARCHAR, team VARCHAR, place VARCHAR, points VARCHAR)
<</SYS>>
SELECT AVG(lost) FROM table_name_21 WHERE place < 10 AND points < 23 AND team = "chorrillo" AND goals_conceded < 26[/INST] What is the average of lost for place less than 10, less than 23 points, and goals conceded less than 26 for the Chorrillo team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (win__number VARCHAR, season VARCHAR)
<</SYS>>
SELECT win__number FROM table_name_67 WHERE season = "2004-05"[/INST] How many wins were there in 2004-05?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_256286_20 (yes_votes INTEGER, _percentage_yes VARCHAR)
<</SYS>>
SELECT MAX(yes_votes) FROM table_256286_20 WHERE _percentage_yes = "43.18%"[/INST] how many yes votes made up 43.18% yes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (engine VARCHAR, chassis VARCHAR, year VARCHAR)
<</SYS>>
SELECT engine FROM table_name_71 WHERE chassis = "connaught type b" AND year > 1957[/INST] What 1957 engine has a Chassis of connaught type b?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (runners_up VARCHAR, winners VARCHAR, years_runner_up VARCHAR)
<</SYS>>
SELECT runners_up FROM table_name_9 WHERE winners < 1 AND years_runner_up = "1985 , 1996"[/INST] How many runners up for the team with under 1 win and a Years runner-up of 1985 , 1996?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (competition VARCHAR, result VARCHAR)
<</SYS>>
SELECT competition FROM table_name_73 WHERE result = "1–2"[/INST] What competition has a Result of 1–2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23292220_13 (scores VARCHAR, seans_team VARCHAR)
<</SYS>>
SELECT scores FROM table_23292220_13 WHERE seans_team = "Louie Spence and Joe Wilkinson"[/INST] What was the score in the episode that had Louie Spence and Joe Wilkinson on Sean's team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (system VARCHAR, name VARCHAR)
<</SYS>>
SELECT system FROM table_name_56 WHERE name = "elkjs"[/INST] What is the system called that is named ELKJS?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (conceded INTEGER, points VARCHAR, wins VARCHAR, scored VARCHAR)
<</SYS>>
SELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 23[/INST] What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR)
<</SYS>>
SELECT MIN(year) FROM table_name_35 WHERE venue = "barcelona, spain"[/INST] When is the earliest year for it is in barcelona, spain?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR)
<</SYS>>
SELECT host_city FROM table_26669939_1 WHERE host_country = "Croatia" AND edition = "8th"[/INST] What was the host city of the 8th edition in the the host country of Croatia?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28059992_1 (cfl_team VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT cfl_team FROM table_28059992_1 WHERE pick__number = 1[/INST] What is every CFL team with pick#1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (circuit VARCHAR, date VARCHAR)
<</SYS>>
SELECT circuit FROM table_name_60 WHERE date = "16 april"[/INST] what is the circuit when the date is 16 april?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (date VARCHAR, status VARCHAR, opposing_teams VARCHAR)
<</SYS>>
SELECT date FROM table_name_67 WHERE status = "five nations" AND opposing_teams = "ireland"[/INST] On which date was the opponent ireland and the status Five Nations?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, change___percentage_ VARCHAR)
<</SYS>>
SELECT area__km²_ FROM table_26321719_1 WHERE change___percentage_ = "-3.6"[/INST] What is every value for area if change% is -3.6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (production_code VARCHAR, no_in_series VARCHAR)
<</SYS>>
SELECT production_code FROM table_name_92 WHERE no_in_series = 174[/INST] What production code does episode 174 of Melrose place have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (opponent VARCHAR, game VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_25 WHERE game = 5[/INST] Name the opponent for game 5</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19908313_2 (team VARCHAR, listed_owner_s_ VARCHAR)
<</SYS>>
SELECT COUNT(team) FROM table_19908313_2 WHERE listed_owner_s_ = "Jeff Wyler"[/INST] How many teams does Jeff Wyler own?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (wchmp INTEGER, podiums VARCHAR)
<</SYS>>
SELECT MIN(wchmp) FROM table_name_49 WHERE podiums = 26[/INST] If podiums are 26, what's the lowest WChmp?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (rank VARCHAR, time VARCHAR)
<</SYS>>
SELECT rank FROM table_name_81 WHERE time = "5:56.73"[/INST] Which Rank has a Time of 5:56.73?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18703133_1 (played VARCHAR, losses VARCHAR)
<</SYS>>
SELECT COUNT(played) FROM table_18703133_1 WHERE losses = 5[/INST] Namr the total number of played for 5 losses</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (event VARCHAR, competition VARCHAR, year VARCHAR)
<</SYS>>
SELECT event FROM table_name_38 WHERE competition = "world championships" AND year < 2011[/INST] What competition was the World Championships before 2011?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1852650_1 (starting_from VARCHAR, name_of_the_prabandham VARCHAR)
<</SYS>>
SELECT starting_from FROM table_1852650_1 WHERE name_of_the_prabandham = "Amalanadhi piran"[/INST] Name the starting from amalanadhi piran</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (competition VARCHAR, score VARCHAR)
<</SYS>>
SELECT competition FROM table_name_78 WHERE score = "8-1"[/INST] What competition had a score of 8-1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT candidates FROM table_1341395_22 WHERE incumbent = "Ed Markey"[/INST] Who were the candidates when ed markey was the incumbent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (opponents_in_final VARCHAR, partner VARCHAR, year VARCHAR)
<</SYS>>
SELECT opponents_in_final FROM table_name_96 WHERE partner = "jill hetherington" AND year > 1988[/INST] What is Opponents in Final, when Partner is "Jill Hetherington", and when Year is after 1988?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (cat__number VARCHAR, release_date VARCHAR)
<</SYS>>
SELECT cat__number FROM table_name_85 WHERE release_date = "november 2007"[/INST] What is the category number that was released in November 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12792876_2 (lost VARCHAR, points_against VARCHAR)
<</SYS>>
SELECT lost FROM table_12792876_2 WHERE points_against = "714"[/INST] How many loses corresponded to giving up 714 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (package_option VARCHAR, television_service VARCHAR, hdtv VARCHAR, language VARCHAR)
<</SYS>>
SELECT package_option FROM table_name_43 WHERE hdtv = "no" AND language = "italian" AND television_service = "cartello promozionale sky hd"[/INST] What is Package/Option, when HDTV is no, when Language is Italian, and when Television service is cartello promozionale sky hd?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (character VARCHAR, chinese_title VARCHAR, year VARCHAR, role VARCHAR)
<</SYS>>
SELECT character FROM table_name_85 WHERE year > 2010 AND role = "lead role" AND chinese_title = "戀夏38℃"[/INST] What character has a Year larger than 2010 with a lead role, and Chinese Title of 戀夏38℃?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Name VARCHAR, Mountain_ID VARCHAR)
<</SYS>>
SELECT Name FROM mountain WHERE NOT Mountain_ID IN (SELECT Mountain_ID FROM climber)[/INST] List the names of mountains that do not have any climber.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26250145_1 (result VARCHAR, original_artist VARCHAR)
<</SYS>>
SELECT COUNT(result) FROM table_26250145_1 WHERE original_artist = "Alicia Keys"[/INST] How many times is the original artist Alicia keys?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (venue VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT venue FROM table_name_77 WHERE opponent = "rochdale"[/INST] where did rochdale play as opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_8 WHERE date = "january 15, 2005"[/INST] What score has january 15, 2005 as the date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (silver INTEGER, bronze VARCHAR, rank VARCHAR, total VARCHAR)
<</SYS>>
SELECT AVG(silver) FROM table_name_44 WHERE rank < 8 AND total = 12 AND bronze < 4[/INST] What is the average silver for a rank less than 8, were there were no more than 4 bronze and 12 in total?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
<</SYS>>
SELECT T2.balance, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T3.balance LIMIT 1[/INST] Find the name and checking balance of the account with the lowest saving balance.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2668401_17 (first_elected VARCHAR, district VARCHAR)
<</SYS>>
SELECT first_elected FROM table_2668401_17 WHERE district = "Virginia 10"[/INST] When was the incumbent from the Virginia 10 district first elected? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (number VARCHAR, party VARCHAR, président VARCHAR)
<</SYS>>
SELECT number FROM table_name_14 WHERE party = "socialist party" AND président = "yves krattinger"[/INST] What number corresponds to Presidet Yves Krattinger of the Socialist party?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR)
<</SYS>>
SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn' INTERSECT SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Triton'[/INST] Show the names of donors who donated to both school "Glenn" and "Triton."</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29743928_5 (int_caps INTEGER)
<</SYS>>
SELECT MIN(int_caps) FROM table_29743928_5[/INST] What is the lowest value for int. caps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (position VARCHAR, season VARCHAR, level VARCHAR)
<</SYS>>
SELECT position FROM table_name_21 WHERE season > 2000 AND level = "tier 3"[/INST] What Position has a Season larger than 2000 with a Level of Tier 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10083598_1 (date VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT date FROM table_10083598_1 WHERE circuit = "Misano"[/INST] What was the date of the race in Misano?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26591434_1 (writer VARCHAR, ratings__kanto_ VARCHAR)
<</SYS>>
SELECT writer FROM table_26591434_1 WHERE ratings__kanto_ = "14.8"[/INST] Who is the writer with the ratings 14.8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22020724_1 (year__ceremony_ VARCHAR, title_in_the_original_language VARCHAR)
<</SYS>>
SELECT year__ceremony_ FROM table_22020724_1 WHERE title_in_the_original_language = "Tummien perhosten koti"[/INST] What year was the ceremony where the film 'Tummien Perhosten Koti' was submitted?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (mascot VARCHAR, ihsaa_class VARCHAR, location VARCHAR)
<</SYS>>
SELECT mascot FROM table_name_53 WHERE ihsaa_class = "aaa" AND location = "russiaville"[/INST] Which Mascot has an IHSAA Class of aaa, and a Location of russiaville?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16941304_4 (equipment VARCHAR, bike_no VARCHAR)
<</SYS>>
SELECT equipment FROM table_16941304_4 WHERE bike_no = 6[/INST] Name the equipment for bike number 6</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (song VARCHAR, draw VARCHAR, percentage VARCHAR)
<</SYS>>
SELECT song FROM table_name_72 WHERE draw < 4 AND percentage = "32.22%"[/INST] What Song has a Draw of less than 4 with a Percentage of 32.22%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27529608_21 (genre VARCHAR, age_s_ VARCHAR)
<</SYS>>
SELECT genre FROM table_27529608_21 WHERE age_s_ = "29-30"[/INST] What is the genre for the group with ages 29-30?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27823359_1 (written_by VARCHAR, season__number VARCHAR)
<</SYS>>
SELECT written_by FROM table_27823359_1 WHERE season__number = "23"[/INST] Who wrote episode 23 in the season?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (score VARCHAR, competition VARCHAR)
<</SYS>>
SELECT score FROM table_name_2 WHERE competition = "1978 world cup qualification"[/INST] WHAT IS THE SCORE WHEN THE COMPETITION WAS 1978 world cup qualification?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (bronze INTEGER, silver VARCHAR, gold VARCHAR)
<</SYS>>
SELECT AVG(bronze) FROM table_name_9 WHERE silver > 2 AND gold > 7[/INST] Which average bronze had a silver greater than 2 and a gold larger than 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (quantity VARCHAR, manufacturer VARCHAR, retired VARCHAR)
<</SYS>>
SELECT COUNT(quantity) FROM table_name_68 WHERE manufacturer = "fokker" AND retired > 1999[/INST] How many in the quantity section had Fokker as a manufacturer and retired later than 1999?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27450976_1 (title VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT title FROM table_27450976_1 WHERE written_by = "Scott M. Gimple"[/INST] What is the name of the episode that was written by Scott M. Gimple?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (score VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT score FROM table_name_14 WHERE tournament = "budapest"[/INST] What was the score for the tournament in Budapest?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (afl_team VARCHAR, position VARCHAR, pick VARCHAR)
<</SYS>>
SELECT afl_team FROM table_name_14 WHERE position = "offensive tackle" AND pick = 4[/INST] Which AFL team has a pick 4 for the offensive tackle position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (res VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT res FROM table_name_27 WHERE opponent = "tony halme"[/INST] What was the result of the fight with Tony Halme?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (date VARCHAR, team VARCHAR, game VARCHAR)
<</SYS>>
SELECT date FROM table_name_53 WHERE team = "detroit" AND game > 3[/INST] Tell me the date for detroit and game more than 3</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Documents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR)
<</SYS>>
SELECT document_id FROM Documents WHERE document_status_code = "done" AND document_type_code = "Paper"[/INST] List the document ids for any documents with the status code done and the type code paper.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (crowd INTEGER, home_team VARCHAR)
<</SYS>>
SELECT MIN(crowd) FROM table_name_47 WHERE home_team = "richmond"[/INST] What was the smallest crowd size for a home game for Richmond?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (tyres VARCHAR, chassis VARCHAR)
<</SYS>>
SELECT tyres FROM table_name_40 WHERE chassis = "mp4/14"[/INST] What tyres were used with the mp4/14 chassis?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (country VARCHAR, skip VARCHAR)
<</SYS>>
SELECT country FROM table_name_49 WHERE skip = "andy kapp"[/INST] For what country is the skip Andy Kapp?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (result VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT result FROM table_name_72 WHERE attendance = "60,705"[/INST] Which Result has an Attendance of 60,705?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR)
<</SYS>>
SELECT points AS defending FROM table_24431264_17 WHERE player = "Caroline Wozniacki"[/INST] List the total number of defense points for caroline wozniacki.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25518547_4 (affiliation VARCHAR, mls_team VARCHAR)
<</SYS>>
SELECT affiliation FROM table_25518547_4 WHERE mls_team = "Houston Dynamo"[/INST] What university is houston dynamo affiliated with?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (position__eliminated VARCHAR, age¹ VARCHAR, full_name VARCHAR)
<</SYS>>
SELECT position__eliminated FROM table_name_29 WHERE age¹ < 22 AND full_name = "muhammad fairul azreen bin mohd zahid"[/INST] What is Position/ Eliminated, when Age¹ is less than 22, and when Full Name is "Muhammad Fairul Azreen Bin Mohd Zahid"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (competition VARCHAR, score VARCHAR, location VARCHAR)
<</SYS>>
SELECT competition FROM table_name_77 WHERE score = "1-0" AND location = "alvor"[/INST] WHich competition was held on Alvor with a score 1-0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1805191_39 (results VARCHAR, district VARCHAR)
<</SYS>>
SELECT COUNT(results) FROM table_1805191_39 WHERE district = "Pennsylvania 11"[/INST] In district Pennsylvania 11, what was the total numbers of results?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1348989_2 (season VARCHAR, viewers__in_millions_ VARCHAR)
<</SYS>>
SELECT season AS Finale FROM table_1348989_2 WHERE viewers__in_millions_ = "10.29"[/INST] What year did the season finale have a total of 10.29 million viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR)
<</SYS>>
SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Tim Matheson"[/INST] How many episodes were directed by Tim Matheson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE problem_log (problem_log_id VARCHAR, log_entry_description VARCHAR)
<</SYS>>
SELECT problem_log_id, log_entry_description FROM problem_log[/INST] List all the log ids and their descriptions from the problem logs.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2562572_19 (settlement VARCHAR, population__2011_ VARCHAR)
<</SYS>>
SELECT settlement FROM table_2562572_19 WHERE population__2011_ = 1114[/INST] In what settlement is the population 1114?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (winning_driver VARCHAR, second_driver VARCHAR)
<</SYS>>
SELECT winning_driver FROM table_name_25 WHERE second_driver = "jimmy bryan"[/INST] Which Winning Driver has a Second Driver of jimmy bryan?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (us_rap VARCHAR, album VARCHAR)
<</SYS>>
SELECT us_rap FROM table_name_98 WHERE album = "west coast bad boyz, vol. 3: poppin' collars"[/INST] What is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (title_playoff INTEGER, total VARCHAR, league VARCHAR)
<</SYS>>
SELECT MIN(title_playoff) FROM table_name_93 WHERE total < 3 AND league > 2[/INST] What is the lowest Title Playoff, when Total is less than 3, and when League is greater than "2"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (snatch INTEGER, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
<</SYS>>
SELECT MIN(snatch) FROM table_name_45 WHERE total__kg_ < 318 AND clean_ & _jerk > 175[/INST] WHAT IS THE SNATCH WITH TOTAL KG SMALLER THAN 318, AND CLEAN JERK LARGER THAN 175?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (club VARCHAR, score VARCHAR)
<</SYS>>
SELECT club FROM table_name_87 WHERE score = "18.1"[/INST] What club had a score of 18.1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR)
<</SYS>>
SELECT college_junior_club_team__league_ FROM table_name_58 WHERE nationality = "switzerland"[/INST] Which College/junior/club team (league) was the player from Switzerland from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (time VARCHAR, rider VARCHAR, bike VARCHAR, grid VARCHAR)
<</SYS>>
SELECT time FROM table_name_81 WHERE bike = "yamaha yzf-r6" AND grid > 1 AND rider = "david salom"[/INST] What is the time recorded by David Salom on his Yamaha yzf-r6 when his grid was larger than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (high_rebounds VARCHAR, team VARCHAR)
<</SYS>>
SELECT high_rebounds FROM table_name_48 WHERE team = "san antonio spurs"[/INST] What is the highest number of rebounds of the san antonio spurs?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR)
<</SYS>>
SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 21561[/INST] In what urban area is the 2011 population 21561? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (country VARCHAR, score VARCHAR)
<</SYS>>
SELECT country FROM table_name_8 WHERE score = 71 - 72 = 143[/INST] Which of the countries showed a score of 71-72=143?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (skip VARCHAR, third VARCHAR)
<</SYS>>
SELECT skip FROM table_name_37 WHERE third = "constanze hummelt"[/INST] Which Skip has a Third of constanze hummelt?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (nationality VARCHAR, rank VARCHAR, lane VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_33 WHERE rank < 6 AND lane = 6[/INST] Which nationality has a lane of 6 and a rank smaller than 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15463188_17 (school_club_team VARCHAR, name VARCHAR)
<</SYS>>
SELECT school_club_team FROM table_15463188_17 WHERE name = "Mark Sanford"[/INST] Which school/club team has a player named Mark Sanford? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (title VARCHAR, format VARCHAR, label VARCHAR)
<</SYS>>
SELECT title FROM table_name_18 WHERE format = "mono lp" AND label = "pye"[/INST] What is the Title of the Pye Label mono LP release?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT crowd FROM table_name_28 WHERE away_team = "richmond"[/INST] How big was the crowd when Richmond was the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (attendance INTEGER, record VARCHAR)
<</SYS>>
SELECT MIN(attendance) FROM table_name_90 WHERE record = "77-54"[/INST] What was the attendance when the record was 77-54?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.