text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_12828723_4 (tries_for VARCHAR, points_for VARCHAR)
<</SYS>>
SELECT COUNT(tries_for) FROM table_12828723_4 WHERE points_for = "473"[/INST] How many tries for are for 473 points for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (score VARCHAR, loss VARCHAR)
<</SYS>>
SELECT score FROM table_name_50 WHERE loss = "kiprusoff (2–2)"[/INST] What is the Score of the game with a Loss of Kiprusoff (2–2)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (league VARCHAR, established VARCHAR, club VARCHAR)
<</SYS>>
SELECT league FROM table_name_26 WHERE established < 1930 AND club = "rayo vallecano"[/INST] What is the league established before 1930 with the rayo vallecano club?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (score VARCHAR, competition VARCHAR)
<</SYS>>
SELECT score FROM table_name_86 WHERE competition = "fifa world cup 1986 qualifying"[/INST] What is the Score of the Fifa World Cup 1986 Qualifying Competition?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_44 WHERE home_team = "leeds united"[/INST] WHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (district VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT district FROM table_name_19 WHERE incumbent = "wyatt aiken"[/INST] What district is Wyatt Aiken in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26996293_7 (college VARCHAR, player VARCHAR)
<</SYS>>
SELECT college FROM table_26996293_7 WHERE player = "Terry Moss"[/INST] What is the college where player terry moss attended?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (attendance INTEGER, visitor VARCHAR)
<</SYS>>
SELECT AVG(attendance) FROM table_name_71 WHERE visitor = "toronto"[/INST] What is the average Attendance, when Visitor is Toronto?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (song VARCHAR, date VARCHAR)
<</SYS>>
SELECT song FROM table_name_8 WHERE date = "march 8, 2008"[/INST] What song came out on March 8, 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
<</SYS>>
SELECT SUM(grid) FROM table_name_12 WHERE time_retired = "+58.182" AND laps < 67[/INST] What is the total grid number where the time/retired is +58.182 and the lap number is less than 67?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (points VARCHAR, december VARCHAR, game VARCHAR, score VARCHAR)
<</SYS>>
SELECT COUNT(points) FROM table_name_98 WHERE game < 37 AND score = "2–3" AND december = 13[/INST] How many Points have a Game smaller than 37, and a Score of 2–3, and a December of 13?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (laps INTEGER, driver VARCHAR)
<</SYS>>
SELECT AVG(laps) FROM table_name_75 WHERE driver = "david coulthard"[/INST] What's the average laps driven by david coulthard?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE orchestra (Major_Record_Format VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM orchestra WHERE Major_Record_Format = "CD" OR Major_Record_Format = "DVD"[/INST] Find the number of orchestras whose record format is "CD" or "DVD".</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)
<</SYS>>
SELECT COUNT(parish__prestegjeld_) FROM table_178399_1 WHERE church_name = "Vilnes kyrkje"[/INST] Name the number of parish for vilnes kyrkje</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (week INTEGER, transition VARCHAR)
<</SYS>>
SELECT MIN(week) FROM table_name_6 WHERE transition = "pat mccready"[/INST] What was the first week that had a transition with Pat Mccready?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (goals VARCHAR, apps VARCHAR, club VARCHAR)
<</SYS>>
SELECT COUNT(goals) FROM table_name_87 WHERE apps < 26 AND club = "werder bremen"[/INST] How many goals did he score with under 26 appearances for werder bremen?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (occ_championships INTEGER, school VARCHAR)
<</SYS>>
SELECT SUM(occ_championships) FROM table_name_96 WHERE school = "central crossing"[/INST] How many times have Central Crossing won the OCC Championship?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2500440_1 (population_density__per_km_2__ VARCHAR, name VARCHAR)
<</SYS>>
SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = "Buffalo Lake"[/INST] What is the population density in Buffalo Lake?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1139835_3 (winners VARCHAR, season_result VARCHAR)
<</SYS>>
SELECT winners FROM table_1139835_3 WHERE season_result = "9th"[/INST] who is the winners where season result is 9th</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12784134_1 (participle VARCHAR, verbal_noun VARCHAR)
<</SYS>>
SELECT participle FROM table_12784134_1 WHERE verbal_noun = "i-bil-tze"[/INST] What's the participle when the verbal noun is i-bil-tze?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18600760_7 (geo_id INTEGER, longitude VARCHAR)
<</SYS>>
SELECT MIN(geo_id) FROM table_18600760_7 WHERE longitude = "-97.473110"[/INST] If the longitude is -97.473110, what is the minimum geo id?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
<</SYS>>
SELECT COUNT(total) FROM table_name_14 WHERE bronze > 1 AND nation = "germany" AND gold < 1[/INST] What is the total number of medals when the bronze is more than 1, and Germany is the nation, and gold medals less than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (opponents VARCHAR, round VARCHAR)
<</SYS>>
SELECT opponents FROM table_name_12 WHERE round = "round 6"[/INST] Who is the opponent(s) in round 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (courtesy_title VARCHAR, tenure VARCHAR)
<</SYS>>
SELECT courtesy_title FROM table_name_1 WHERE tenure = "1766–1794"[/INST] What is the courtesy title of the person whose tenure goes from 1766–1794?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (attendance INTEGER, loss VARCHAR)
<</SYS>>
SELECT SUM(attendance) FROM table_name_15 WHERE loss = "rekar (4–5)"[/INST] How many were in attendance for the loss of rekar (4–5)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (res VARCHAR, record VARCHAR)
<</SYS>>
SELECT res FROM table_name_20 WHERE record = "16-6"[/INST] Which result has a Record of 16-6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (date VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT date FROM table_name_83 WHERE tournament = "wgc-accenture match play championship"[/INST] What is the Date for the wgc-accenture match play championship?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (pick__number VARCHAR, team_from VARCHAR, league_from VARCHAR, nationality VARCHAR)
<</SYS>>
SELECT COUNT(pick__number) FROM table_name_61 WHERE league_from = "ontario hockey league" AND nationality = "united states" AND team_from = "brampton battalion"[/INST] Which Pick # has a League from of ontario hockey league, a Nationality of united states, and a Team from of brampton battalion?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (release_date VARCHAR, model_number VARCHAR)
<</SYS>>
SELECT release_date FROM table_name_27 WHERE model_number = "core i7-940"[/INST] What's the release date of model number CORE I7-940?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (home_team VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_name_59 WHERE home_team = "north melbourne"[/INST] What score did the home team of north melbourne get?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (points VARCHAR, year VARCHAR, engine VARCHAR)
<</SYS>>
SELECT points FROM table_name_23 WHERE year > 1985 AND engine = "cosworth v8"[/INST] How many points for the cosworth v8 engine after 1985?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (played INTEGER, difference VARCHAR, position VARCHAR)
<</SYS>>
SELECT MAX(played) FROM table_name_42 WHERE difference = "- 8" AND position > 8[/INST] What is the largest played number when the difference is - 8 and position is more than 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (stage VARCHAR, winner VARCHAR, points_classification VARCHAR)
<</SYS>>
SELECT stage FROM table_name_51 WHERE winner = "bernard hinault" AND points_classification = "francesco moser"[/INST] Which stage was won by Bernard Hinault and had a Points classification of Francesco Moser?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (goals_for INTEGER, draws VARCHAR, points VARCHAR, losses VARCHAR, wins VARCHAR)
<</SYS>>
SELECT AVG(goals_for) FROM table_name_99 WHERE losses > 12 AND wins > 10 AND points < 29 AND draws > 3[/INST] What is the average number of goals for entries with more than 12 losses, more than 10 wins, more than 3 draws, and fewer than 29 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (week VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT week FROM table_name_20 WHERE attendance = "bye"[/INST] What week was the Bye attendance week?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1965650_3 (college_junior_club_team VARCHAR, player VARCHAR)
<</SYS>>
SELECT college_junior_club_team FROM table_1965650_3 WHERE player = "John Campbell"[/INST] Name the college/junior club team for john campbell</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23696862_6 (name VARCHAR, wsop_cashes VARCHAR, final_place VARCHAR)
<</SYS>>
SELECT name FROM table_23696862_6 WHERE wsop_cashes = 2 AND final_place = "6th"[/INST] Who had 2 WSOP cashes and was 6th in final place?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (year VARCHAR, points INTEGER)
<</SYS>>
SELECT year FROM table_name_56 WHERE points > 0[/INST] What year has more than 0 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (lansing__lan_ VARCHAR, kalamazoo__azo_ VARCHAR)
<</SYS>>
SELECT lansing__lan_ FROM table_name_60 WHERE kalamazoo__azo_ = "$599.39"[/INST] What was the passenger fare for Lansing, when the passenger fare for Kalamazoo was $599.39?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (wins VARCHAR, losses VARCHAR, draws VARCHAR)
<</SYS>>
SELECT COUNT(wins) FROM table_name_70 WHERE losses = 6 AND draws > 0[/INST] What is the total number of Wins, when Losses is "6", and when Draws is greater than "0"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11764007_2 (member VARCHAR, week_sent_to_third_island VARCHAR)
<</SYS>>
SELECT member FROM table_11764007_2 WHERE week_sent_to_third_island = "1"[/INST] Who was sent to the third island in week 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (date VARCHAR, golden_tickets VARCHAR)
<</SYS>>
SELECT date FROM table_name_57 WHERE golden_tickets = 26[/INST] What was the date when there were 26 golden tickets?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15405904_1 (points INTEGER, position VARCHAR)
<</SYS>>
SELECT MAX(points) FROM table_15405904_1 WHERE position = 2[/INST] How many points are listed when the position is 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (overall INTEGER, college VARCHAR, round VARCHAR)
<</SYS>>
SELECT SUM(overall) FROM table_name_76 WHERE college = "florida state" AND round > 2[/INST] Which Overall has a College of florida state, and a Round larger than 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21804557_18 (stage__winner_ VARCHAR, metas_volantes_classification VARCHAR)
<</SYS>>
SELECT stage__winner_ FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini"[/INST] WHO WAS THE STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11734041_10 (school_club_team_country VARCHAR, player VARCHAR)
<</SYS>>
SELECT COUNT(school_club_team_country) FROM table_11734041_10 WHERE player = "Kimball, Toby Toby Kimball"[/INST] Kimball, toby toby kimball is a player; How many times at school/ club team/country was the player present?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16048129_5 (number_of_families INTEGER, average_family_size VARCHAR)
<</SYS>>
SELECT MAX(number_of_families) FROM table_16048129_5 WHERE average_family_size = "2.7"[/INST] What is the most number of families in regions where average family size is 2.7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (year VARCHAR, award VARCHAR, title VARCHAR)
<</SYS>>
SELECT COUNT(year) FROM table_name_73 WHERE award = "venice film festival" AND title = "lust, caution"[/INST] How many years have an Award of venice film festival, and a Title of lust, caution?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (to_par VARCHAR, player VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_1 WHERE player = "greg norman"[/INST] How many to par for Greg Norman?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2985714_2 (_number INTEGER)
<</SYS>>
SELECT MAX(_number) FROM table_2985714_2[/INST] What is the maximum overall number?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26387382_1 (capacity__mw_ VARCHAR, turbines VARCHAR)
<</SYS>>
SELECT capacity__mw_ FROM table_26387382_1 WHERE turbines = "50-60"[/INST] What all capacities have turbines between 50-60?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (total_dismissals INTEGER, tests VARCHAR, catches VARCHAR)
<</SYS>>
SELECT AVG(total_dismissals) FROM table_name_5 WHERE tests = 83 AND catches < 33[/INST] What is the average dismissals of 83 test and catches less than 33?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (league_cup_goals INTEGER, scorer VARCHAR)
<</SYS>>
SELECT MIN(league_cup_goals) FROM table_name_59 WHERE scorer = "denis law"[/INST] What is the lowest League Cup Goals, when Scorer is Denis Law?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (vote VARCHAR, district VARCHAR, seat VARCHAR, percentage VARCHAR)
<</SYS>>
SELECT COUNT(vote) FROM table_name_52 WHERE seat = "house a" AND percentage = "75.44%" AND district < 11[/INST] How many votes have a Seat of house A, and a Percentage of 75.44%, and a District smaller than 11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (record VARCHAR, game VARCHAR)
<</SYS>>
SELECT record FROM table_name_24 WHERE game = 24[/INST] What is Record, when Game is "24"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (episode INTEGER, original_airdate VARCHAR)
<</SYS>>
SELECT MIN(episode) FROM table_name_31 WHERE original_airdate = "8 june 2008"[/INST] What is the lowest episode number with an original airdate on 8 June 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19534677_1 (creators VARCHAR, volume_title VARCHAR)
<</SYS>>
SELECT COUNT(creators) FROM table_19534677_1 WHERE volume_title = "Flash of Two Worlds"[/INST] Name the umbr of creators for flash of two worlds</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)
<</SYS>>
SELECT AVG(inhabitants) FROM table_name_36 WHERE party = "south tyrolean people's party" AND municipality = "bruneck" AND election > 2010[/INST] Which Inhabitants has a Party of south tyrolean people's party, a Municipality of bruneck, and an Election larger than 2010?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16893837_4 (date VARCHAR, opponents VARCHAR)
<</SYS>>
SELECT date FROM table_16893837_4 WHERE opponents = "Margalita Chakhnashvili Salome Devidze"[/INST] Name the date for margalita chakhnashvili salome devidze</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25920798_2 (leader_battle VARCHAR, eliminated VARCHAR)
<</SYS>>
SELECT leader_battle FROM table_25920798_2 WHERE eliminated = "Plamen"[/INST] Name the leader battle for plamen</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (mls_cup INTEGER, other VARCHAR, total VARCHAR)
<</SYS>>
SELECT AVG(mls_cup) FROM table_name_43 WHERE other > 9 AND total < 72[/INST] Which MLS Cup has another larger than 9, and a Total smaller than 72?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (director VARCHAR, title VARCHAR)
<</SYS>>
SELECT director FROM table_name_27 WHERE title = "2003"[/INST] Who is the director when the title is 2003?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (population INTEGER, per_capita_income VARCHAR)
<</SYS>>
SELECT MIN(population) FROM table_name_80 WHERE per_capita_income = "$16,330"[/INST] What is the lowest Population, when Per Capita Income is "$16,330"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (result VARCHAR, year VARCHAR)
<</SYS>>
SELECT result FROM table_name_48 WHERE year = 2013[/INST] What was the Result in 2013?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (total_goals VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, name VARCHAR)
<</SYS>>
SELECT COUNT(total_goals) FROM table_name_40 WHERE total_apps = "1" AND name = "bob mountain" AND fa_cup_goals < 0[/INST] how many times is the total apps 1 and the fa cup goals less than 0 for bob mountain?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25505246_7 (result VARCHAR, against VARCHAR)
<</SYS>>
SELECT result FROM table_25505246_7 WHERE against = "Austria"[/INST] What were the round results when Hanne Skak Jensen faced Austria?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11235334_2 (_number INTEGER, air_date VARCHAR)
<</SYS>>
SELECT MAX(_number) FROM table_11235334_2 WHERE air_date = "September 29, 2008"[/INST] what is the most # that aired on september 29, 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1463383_1 (social_democratic VARCHAR, left_bloc VARCHAR)
<</SYS>>
SELECT social_democratic FROM table_1463383_1 WHERE left_bloc = "5.5%"[/INST] What percentages of social democratic correspond to a 5.5% left bloc?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (result VARCHAR, home_captain VARCHAR, date VARCHAR)
<</SYS>>
SELECT result FROM table_name_24 WHERE home_captain = "graham gooch" AND date = "3,4,5,6,7 june 1993"[/INST] For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (winning_applicant VARCHAR, block VARCHAR, ensemble_name VARCHAR)
<</SYS>>
SELECT winning_applicant FROM table_name_45 WHERE block = "10d" AND ensemble_name = "muxco lincolnshire"[/INST] Who is the Winning Applicant of Ensemble Name Muxco Lincolnshire in Block 10D?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR)
<</SYS>>
SELECT MIN(goal_difference) FROM table_name_94 WHERE goals_against = 61 AND draws < 11[/INST] What is the lowest goal difference a club with 61 goals against and less than 11 draws has?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (director VARCHAR, title VARCHAR)
<</SYS>>
SELECT director FROM table_name_35 WHERE title = "antz"[/INST] Who is the director of Antz?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (position VARCHAR, name VARCHAR)
<</SYS>>
SELECT position FROM table_name_31 WHERE name = "alexander wronski"[/INST] What is Alexander Wronski's Position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27515452_3 (height VARCHAR, sizes VARCHAR)
<</SYS>>
SELECT height FROM table_27515452_3 WHERE sizes = "33-24-35"[/INST] how tall is someone who is able to wear 33-24-35</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (against INTEGER, opposing_team VARCHAR)
<</SYS>>
SELECT SUM(against) FROM table_name_86 WHERE opposing_team = "cuyo selection"[/INST] Sum of cuyo selection as the opposing team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (record VARCHAR, loss VARCHAR)
<</SYS>>
SELECT record FROM table_name_63 WHERE loss = "plesac (1-5)"[/INST] For the Loss of Plesac (1-5), what is the Record?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (took_office VARCHAR, minister VARCHAR)
<</SYS>>
SELECT took_office FROM table_name_28 WHERE minister = "giorgia meloni"[/INST] What is the date of taking office for Giorgia Meloni?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (floors INTEGER, name VARCHAR)
<</SYS>>
SELECT MAX(floors) FROM table_name_70 WHERE name = "detroit marriott at the renaissance center"[/INST] How many floors does detroit marriott at the renaissance center have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (school_club_team VARCHAR, nationality VARCHAR, position VARCHAR)
<</SYS>>
SELECT school_club_team FROM table_name_53 WHERE nationality = "united states" AND position = "guard"[/INST] Tell me the School/Club team of the player from the United States that play'de guard?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22917458_15 (mountains_classification_klasyfikacja_górska VARCHAR, winner VARCHAR)
<</SYS>>
SELECT mountains_classification_klasyfikacja_górska FROM table_22917458_15 WHERE winner = "Alessandro Ballan"[/INST] Who was the mountain classification winner in the stage won by Alessandro Ballan?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_261927_2 (institution VARCHAR, primary_conference VARCHAR)
<</SYS>>
SELECT institution FROM table_261927_2 WHERE primary_conference = "Merged into the University of Massachusetts Boston"[/INST] Which institutions primary conference is merged into the university of Massachusetts boston? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (score VARCHAR, game VARCHAR, record VARCHAR)
<</SYS>>
SELECT score FROM table_name_15 WHERE game > 57 AND record = "4–55"[/INST] What is the Score of the game larger than 57 with a Record of 4–55?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_50 WHERE venue = "emcg"[/INST] What is the name of the home team that has a venue called EMCG?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20181270_3 (landesliga_süd VARCHAR, bayernliga VARCHAR)
<</SYS>>
SELECT landesliga_süd FROM table_20181270_3 WHERE bayernliga = "SG Quelle Fürth"[/INST] Name the landesliga sud for sg quelle fürth</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (tie_no VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT tie_no FROM table_name_69 WHERE home_team = "hull city"[/INST] What is Tie no, when Home Team is "Hull City"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (rank INTEGER, name VARCHAR)
<</SYS>>
SELECT MAX(rank) FROM table_name_27 WHERE name = "fifth third center"[/INST] What is the greatest rank for Fifth third center?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (drawn VARCHAR, against VARCHAR, lost VARCHAR, points VARCHAR, position VARCHAR)
<</SYS>>
SELECT drawn FROM table_name_7 WHERE points < 46 AND position < 20 AND lost < 19 AND against = 56[/INST] Which Drawn has Points smaller than 46, and a Position smaller than 20, and a Lost smaller than 19, and an Against of 56?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (leading_scorer VARCHAR, date VARCHAR)
<</SYS>>
SELECT leading_scorer FROM table_name_8 WHERE date = "april 7"[/INST] Who was the leading scorer on April 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (name_of_the_stone__sila_ VARCHAR, name_of_the_state_where_found_in_india VARCHAR)
<</SYS>>
SELECT name_of_the_stone__sila_ FROM table_name_13 WHERE name_of_the_state_where_found_in_india = "andhra pradesh"[/INST] What is the name of the stone found in Andhra Pradesh, India?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (b_score INTEGER, a_score INTEGER)
<</SYS>>
SELECT MAX(b_score) FROM table_name_4 WHERE a_score < 6.5[/INST] What is the greatest B score when the A score was less than 6.5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29281529_2 (airdate VARCHAR, winner VARCHAR)
<</SYS>>
SELECT airdate FROM table_29281529_2 WHERE winner = "Guy Grossi"[/INST] What date did the episode air when guy grossi won?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1231316_6 (wind__m_s_ VARCHAR, athlete VARCHAR)
<</SYS>>
SELECT COUNT(wind__m_s_) FROM table_1231316_6 WHERE athlete = "Sunday Emmanuel"[/INST] Name the total number of wind m/s for sunday emmanuel</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
<</SYS>>
SELECT SUM(grid) FROM table_name_25 WHERE time_retired = "engine" AND laps < 9[/INST] What is the number of the grid when there was a Time/Retired of engine and less than 9 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (title VARCHAR, release_date VARCHAR)
<</SYS>>
SELECT title FROM table_name_65 WHERE release_date = "2011-12-01 december 2011"[/INST] What is Title, when Release Date is 2011-12-01 December 2011?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1140080_2 (report VARCHAR, date VARCHAR)
<</SYS>>
SELECT COUNT(report) FROM table_1140080_2 WHERE date = "29 April"[/INST] what's the total number of report with date 29 april</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (year INTEGER, english_title VARCHAR)
<</SYS>>
SELECT AVG(year) FROM table_name_65 WHERE english_title = "my queen"[/INST] Tell me the average year for my queen</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (role VARCHAR, closing_date VARCHAR)
<</SYS>>
SELECT role FROM table_name_49 WHERE closing_date = "feb 4, 1961"[/INST] Name the role for Feb 4, 1961 closing date</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR)
<</SYS>>
SELECT team FROM table_23249053_11 WHERE high_points = "Rashard Lewis (24)"[/INST] When rashard lewis (24) has the highest amount of points who is the team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (height__cm_ INTEGER, weight__kg_ VARCHAR, birthdate VARCHAR)
<</SYS>>
SELECT AVG(height__cm_) FROM table_name_21 WHERE weight__kg_ > 84 AND birthdate = "june 24, 1964"[/INST] What is the height of the player born on June 24, 1964, with a weight over 84 kg?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (runner_s__up VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT runner_s__up FROM table_name_93 WHERE tournament = "michelob light open at kingsmill"[/INST] Who was the runner-up in the Michelob Light Open at Kingsmill?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.