text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (player VARCHAR, college VARCHAR)
<</SYS>>
SELECT player FROM table_name_80 WHERE college = "depaul"[/INST] What player went to DePaul University?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (score VARCHAR, visitor VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_53 WHERE visitor = "toronto maple leafs" AND date = "march 22"[/INST] What was the score when the visitor was toronto maple leafs on march 22?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)
<</SYS>>
SELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471[/INST] How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28281704_1 (stadium VARCHAR, city VARCHAR)
<</SYS>>
SELECT stadium FROM table_28281704_1 WHERE city = "Nizhny Novgorod"[/INST] Name the stadium for nizhny novgorod</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (required_os VARCHAR, type VARCHAR)
<</SYS>>
SELECT required_os FROM table_name_91 WHERE type = "2d"[/INST] What operating system was needed for 2D games?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (score VARCHAR, venue VARCHAR)
<</SYS>>
SELECT score FROM table_name_68 WHERE venue = "hampden park, glasgow"[/INST] What was the score in Hampden Park, Glasgow?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (october VARCHAR, game VARCHAR, points VARCHAR)
<</SYS>>
SELECT COUNT(october) FROM table_name_18 WHERE game = 4 AND points < 3[/INST] What day in october was game number 4 with under 3 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (date VARCHAR, place VARCHAR, race_winners VARCHAR)
<</SYS>>
SELECT date FROM table_name_29 WHERE place = "chernivtsi" AND race_winners = "etienne bax / kaspars stupelis"[/INST] What date has a place of chernivtsi, and a race winners of etienne bax / kaspars stupelis? What</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (points INTEGER, r_magjistari INTEGER)
<</SYS>>
SELECT MAX(points) FROM table_name_33 WHERE r_magjistari > 12[/INST] For R. Magjistari scores over 12, what is the highest number of points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (copa_conmebol_1999 VARCHAR, copa_libertadores_1999 VARCHAR, team VARCHAR)
<</SYS>>
SELECT copa_conmebol_1999 FROM table_name_4 WHERE copa_libertadores_1999 = "did not qualify" AND team = "cruzeiro"[/INST] What is the Copa Conmebol 1999 result of team cruzeiro, which did not qualify for the Copa Libertadores 1999?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26409328_1 (title VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT title FROM table_26409328_1 WHERE production_code = "6AJN08"[/INST] what title was given to the episode with production code 6ajn08?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (points INTEGER, against VARCHAR, played VARCHAR)
<</SYS>>
SELECT MIN(points) FROM table_name_76 WHERE against = 23 AND played < 8[/INST] When the played number is less than 8 and against is 23, what is the least amount of points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (turbo VARCHAR, release_price___usd__ VARCHAR)
<</SYS>>
SELECT turbo FROM table_name_29 WHERE release_price___usd__ = "$583"[/INST] What Turbo has the Release price (USD) of $583?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341718_43 (district VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT COUNT(district) FROM table_1341718_43 WHERE incumbent = "Ed Jones"[/INST] How many districts does Ed Jones represent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (medal VARCHAR, games VARCHAR, sport VARCHAR)
<</SYS>>
SELECT medal FROM table_name_48 WHERE games = "2008 beijing" AND sport = "taekwondo"[/INST] Which Medal had a Games of 2008 beijing, and a Sport of taekwondo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (required_os VARCHAR, developer_s_ VARCHAR)
<</SYS>>
SELECT required_os FROM table_name_91 WHERE developer_s_ = "stunlock studios"[/INST] What was the minimum operating system required by Stunlock Studios' game?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (power VARCHAR, torque VARCHAR)
<</SYS>>
SELECT power FROM table_name_15 WHERE torque = "n·m (lb·ft) at1,500rpm"[/INST] What is the power of the engine with a torque of n·m (lb·ft) at1,500rpm?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (result VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT result FROM table_name_91 WHERE attendance = "25,000"[/INST] What were the Results for 25,000 Attendance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (moving_to VARCHAR, nat VARCHAR)
<</SYS>>
SELECT moving_to FROM table_name_78 WHERE nat = "tri"[/INST] Who is moving with the nationality of Tri?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (silver INTEGER, total VARCHAR)
<</SYS>>
SELECT MAX(silver) FROM table_name_65 WHERE total = 27[/INST] What is the highest silver rank with a total of 27?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (date VARCHAR, injured VARCHAR)
<</SYS>>
SELECT date FROM table_name_73 WHERE injured = "21"[/INST] On what Date did the massacre result with 21 Injured?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (score VARCHAR, to_par VARCHAR, player VARCHAR)
<</SYS>>
SELECT score FROM table_name_95 WHERE to_par = "e" AND player = "fred funk"[/INST] When Fred Funk had a to par of E, what was the score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (bronze VARCHAR, notes VARCHAR)
<</SYS>>
SELECT bronze FROM table_name_31 WHERE notes = "2.5km, 16controls"[/INST] Who won Bronze with Notes of 2.5km, 16controls?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11621915_1 (winner VARCHAR, purse__$__ VARCHAR, date VARCHAR)
<</SYS>>
SELECT winner FROM table_11621915_1 WHERE purse__$__ > 964017.2297960471 AND date = "May 28"[/INST] what's the winner with purse( $ ) value of bigger than 964017.2297960471 and date value of may 28</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (date VARCHAR, sub_total VARCHAR)
<</SYS>>
SELECT date FROM table_name_9 WHERE sub_total = "9:30"[/INST] On which day were the subtotal hours 9:30?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (position VARCHAR, school VARCHAR)
<</SYS>>
SELECT position FROM table_name_57 WHERE school = "north carolina"[/INST] What is the position of a player from North Carolina?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22825058_23 (w_l VARCHAR, against VARCHAR)
<</SYS>>
SELECT w_l FROM table_22825058_23 WHERE against = "Czech Republic"[/INST] Name the w/l for czech republic</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (to_par VARCHAR, country VARCHAR, score VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_52 WHERE country = "united states" AND score = 67 - 66 - 78 - 77 = 288[/INST] What To par has a Country of united states, and a Score of 67-66-78-77=288?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, gold VARCHAR)
<</SYS>>
SELECT COUNT(total) FROM table_name_73 WHERE rank > 17 AND gold > 0[/INST] What's the total number that had a rank larger than 17 and a gold greater than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18025024_7 (ncaat_record VARCHAR, date VARCHAR)
<</SYS>>
SELECT ncaat_record FROM table_18025024_7 WHERE date = "June 21"[/INST] What is the June 21 ncaat baseball record for Fresno State Bulldogs?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, date VARCHAR)
<</SYS>>
SELECT split_off___continuation_of FROM table_name_40 WHERE date = "1836"[/INST] Which church had a Split off/Continuation in 1836?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (res VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT res FROM table_name_96 WHERE opponent = "jeff monson"[/INST] What is the result of the match with Jeff Monson as opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (place VARCHAR, draw VARCHAR, lost VARCHAR)
<</SYS>>
SELECT COUNT(place) FROM table_name_73 WHERE draw < 4 AND lost < 6[/INST] What was the total number of places in which the draw was less than 4 and the amount lost was less than 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (date VARCHAR, venue VARCHAR)
<</SYS>>
SELECT date FROM table_name_39 WHERE venue = "junction oval"[/INST] Which Date has a Venue of junction oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (played INTEGER, drawn VARCHAR, against VARCHAR)
<</SYS>>
SELECT MIN(played) FROM table_name_66 WHERE drawn = 2 AND against > 73[/INST] What is the smallest played amount when there are 2 draws and an against of more than 73?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_224839_3 (date_of_successors_formal_installation VARCHAR, vacator VARCHAR)
<</SYS>>
SELECT COUNT(date_of_successors_formal_installation) FROM table_224839_3 WHERE vacator = "Joshua Clayton ( F )"[/INST] What is the total number of dates of successor formal installation when the vacator was Joshua Clayton ( F )?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19605700_1 (capital VARCHAR, area_km² VARCHAR)
<</SYS>>
SELECT capital FROM table_19605700_1 WHERE area_km² = 377930[/INST] Which capitals have an area of exactly 377930 square km?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (heat INTEGER, race_title VARCHAR)
<</SYS>>
SELECT MIN(heat) FROM table_name_65 WHERE race_title = "lakeside"[/INST] What is the lowest heat of the Lakeside race?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR)
<</SYS>>
SELECT nation FROM table_name_46 WHERE silver < 3 AND total > 1 AND gold < "4" AND rank = "4"[/INST] What Nation had a more than 1 Total medal including less than 3 Silver, less than 4 Gold and a Rank of 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (event VARCHAR, reign VARCHAR, days_held VARCHAR)
<</SYS>>
SELECT event FROM table_name_31 WHERE reign = "2" AND days_held = "35"[/INST] What type of event had the wrestler with a reign of 2 and held the title for 35 days?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (democrat VARCHAR, lead_margin VARCHAR)
<</SYS>>
SELECT democrat AS :_carl_levin FROM table_name_88 WHERE lead_margin = 22[/INST] What is Democrat: Carl Levin, when Lead Margin is 22?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT candidates FROM table_1341586_44 WHERE incumbent = "Henry B. Gonzalez"[/INST] Who are all the candidates vying for Henry B. Gonzalez' seat?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11545282_12 (no INTEGER, school_club_team VARCHAR)
<</SYS>>
SELECT MAX(no) FROM table_11545282_12 WHERE school_club_team = "Minnesota"[/INST] Which number is the player from Minnesota?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (series_number VARCHAR, dvd_region_1_release_date VARCHAR, original_air_date VARCHAR, number_of_episodes VARCHAR)
<</SYS>>
SELECT COUNT(series_number) FROM table_name_24 WHERE original_air_date < 1999 AND number_of_episodes > 7 AND dvd_region_1_release_date = "16 april 2013"[/INST] How many series originally aired before 1999 with more than 7 episodes and a DVD Region 1 release date of 16 april 2013?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (location VARCHAR, type VARCHAR)
<</SYS>>
SELECT location FROM table_name_69 WHERE type = "club trophy"[/INST] What is the location for the club trophy?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (winning_team VARCHAR, pole_position VARCHAR)
<</SYS>>
SELECT winning_team FROM table_name_9 WHERE pole_position = "mario andretti"[/INST] What team does mario andretti play pole position for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2668199_2 (incumbent VARCHAR, candidates VARCHAR)
<</SYS>>
SELECT incumbent FROM table_2668199_2 WHERE candidates = "John Banks (AM) 52.2% Samuel Power (J) 47.8%"[/INST] Who was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (joint_music_award VARCHAR, year VARCHAR, rthk VARCHAR)
<</SYS>>
SELECT joint_music_award FROM table_name_81 WHERE year < 2006 AND rthk = "1"[/INST] How many Joint Music Awards were there with a RTHK of 1, in a Year before 2006?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR)
<</SYS>>
SELECT MIN(goals_for) FROM table_name_37 WHERE goals_against > 58 AND played > 30[/INST] What is the smallest number of goals when the goals against are more than 58 and played number is more than 30?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23211041_5 (team VARCHAR, date VARCHAR)
<</SYS>>
SELECT team FROM table_23211041_5 WHERE date = "November 24"[/INST] What team was played on november 24?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27155990_1 (category VARCHAR, project_name VARCHAR)
<</SYS>>
SELECT category FROM table_27155990_1 WHERE project_name = "Mighty No. 9"[/INST] What was the category of the project name Mighty No. 9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR)
<</SYS>>
SELECT MIN(result) FROM table_name_66 WHERE reaction_time > 0.185 AND name = "christian malcolm" AND lane > 3[/INST] What is the lowest result for Christian Malcolm with a reaction time greater than 0.185 and a lane higher than 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1914090_2 (europe VARCHAR, america VARCHAR)
<</SYS>>
SELECT europe FROM table_1914090_2 WHERE america = 403892[/INST] How many members did Europe have the year that America had 403892?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_171320_3 (region_1 VARCHAR, ep__number VARCHAR)
<</SYS>>
SELECT region_1 FROM table_171320_3 WHERE ep__number = 13[/INST] Name the region 1 for episode number 13</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (decision VARCHAR, record VARCHAR)
<</SYS>>
SELECT decision FROM table_name_10 WHERE record = "31-43-2"[/INST] For the game ending with a record of 31-43-2, what was the decision?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (record VARCHAR, round VARCHAR, event VARCHAR)
<</SYS>>
SELECT record FROM table_name_7 WHERE round = "n/a" AND event = "ucs 2 - battle at the barn"[/INST] What's the record of the UCS 2 - Battle at the Barn when the round was n/a?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (erp_w INTEGER, facility_id VARCHAR)
<</SYS>>
SELECT MIN(erp_w) FROM table_name_54 WHERE facility_id = 67829[/INST] What is the lowest ERP W of the 67829 Facility ID?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (score1 VARCHAR, competition_or_tour VARCHAR)
<</SYS>>
SELECT score1 FROM table_name_20 WHERE competition_or_tour = "major league soccer all-star game"[/INST] What is the score 1 for the major league soccer all-star game?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17060277_7 (team VARCHAR, high_assists VARCHAR)
<</SYS>>
SELECT team FROM table_17060277_7 WHERE high_assists = "Chris Duhon , Nate Robinson , David Lee (3)"[/INST] Name the team for chris duhon , nate robinson , david lee (3)</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1602620_1 (type VARCHAR, term_began VARCHAR)
<</SYS>>
SELECT type FROM table_1602620_1 WHERE term_began = "December 8, 1980"[/INST] What type had a beginning term of December 8, 1980</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (round INTEGER, college VARCHAR, overall VARCHAR)
<</SYS>>
SELECT SUM(round) FROM table_name_55 WHERE college = "michigan" AND overall > 37[/INST] WHAT IS THE ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11545282_5 (nationality VARCHAR, years_for_jazz VARCHAR)
<</SYS>>
SELECT nationality FROM table_11545282_5 WHERE years_for_jazz = "1989-92; 1994-95"[/INST] What is the nationality of the player who played during the years 1989-92; 1994-95?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)
<</SYS>>
SELECT money_requested__£_ FROM table_name_78 WHERE entrepreneur_s_ = "ian chamings"[/INST] How much money did Ian Chamings request?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (status VARCHAR, opposing_teams VARCHAR)
<</SYS>>
SELECT status FROM table_name_9 WHERE opposing_teams = "scotland"[/INST] What is the status with the opposing team of Scotland?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (team VARCHAR, previous_team VARCHAR)
<</SYS>>
SELECT team FROM table_name_15 WHERE previous_team = "indiana pacers"[/INST] What is the team of the player who was previously on the indiana pacers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_30083499_1 (team VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT team FROM table_30083499_1 WHERE tournament = "2012 Clausura"[/INST] Which team was in the 2012 clausura tournament?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (engine VARCHAR, year VARCHAR, points VARCHAR)
<</SYS>>
SELECT engine FROM table_name_7 WHERE year < 1959 AND points > 4[/INST] what is the engine for year less than 1959 and points more than 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)
<</SYS>>
SELECT MAX(number_of_households) FROM table_name_30 WHERE median_household_income = "$31,176" AND population < 25 OFFSET 607[/INST] What is the highest number of households with a median household income of $31,176, and a population of 25,607?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR)
<</SYS>>
SELECT division_record FROM table_name_26 WHERE team = "spartans"[/INST] What division record did the Spartans hold?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17634290_7 (country VARCHAR, moving_from VARCHAR)
<</SYS>>
SELECT country FROM table_17634290_7 WHERE moving_from = "Bristol City"[/INST] What is the name of the country where moving from is listed as bristol city?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_26 WHERE date > 1986 AND score_in_the_final = "7–6, 3–6, 6–2"[/INST] What tournament took place after 1986 and had a final score of 7–6, 3–6, 6–2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (attendance INTEGER, opponent VARCHAR, result VARCHAR, venue VARCHAR)
<</SYS>>
SELECT MIN(attendance) FROM table_name_77 WHERE result = "1-0" AND venue = "a" AND opponent = "newcastle united"[/INST] Which Attendance has a Result of 1-0, and a Venue of A, and an Opponent of newcastle united?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (tie_no VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT tie_no FROM table_name_97 WHERE home_team = "birmingham city"[/INST] Which Tie is from birmingham city?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (third VARCHAR, venue VARCHAR)
<</SYS>>
SELECT third FROM table_name_74 WHERE venue = "oslo"[/INST] Who finished 3rd in Oslo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (place VARCHAR, draw VARCHAR)
<</SYS>>
SELECT place FROM table_name_54 WHERE draw = 3[/INST] In what place was the song that had a draw of 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (award VARCHAR, year VARCHAR, representative_work VARCHAR)
<</SYS>>
SELECT award FROM table_name_78 WHERE year = 1998 AND representative_work = "city beat"[/INST] What is the award for 1998 with Representative Work of city beat?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (city VARCHAR, name VARCHAR)
<</SYS>>
SELECT city FROM table_name_62 WHERE name = "alianza"[/INST] Which city is Alianza?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2012 VARCHAR)
<</SYS>>
SELECT COUNT(_percentage_change) FROM table_29789_3 WHERE international_tourism_expenditure_2012 = "$83.7 billion"[/INST] How many countries spent $83.7 billion on international tourism in 2012?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE film (title VARCHAR, directed_by VARCHAR)
<</SYS>>
SELECT title, directed_by FROM film[/INST] Show the title and director for all films.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25252080_3 (november_3 VARCHAR, january_15_16 VARCHAR)
<</SYS>>
SELECT november_3 FROM table_25252080_3 WHERE january_15_16 = "151"[/INST] What number is shown for november 3 where january 15-16 is 151?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (constructor VARCHAR, team VARCHAR)
<</SYS>>
SELECT constructor FROM table_name_56 WHERE team = "trac racing team"[/INST] Who is the Constructor for the Trac Racing Team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (outgoing_manager VARCHAR, team VARCHAR)
<</SYS>>
SELECT outgoing_manager FROM table_name_12 WHERE team = "birmingham city"[/INST] Who is Birmingham City's outgoing manager?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE phone_market (Phone_ID VARCHAR, Num_of_stock INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR)
<</SYS>>
SELECT T2.Name FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name HAVING SUM(T1.Num_of_stock) >= 2000 ORDER BY SUM(T1.Num_of_stock) DESC[/INST] Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (city_location VARCHAR, round VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT city_location FROM table_name_93 WHERE round < 11 AND circuit = "streets of denver"[/INST] For which location was the round smaller than 11 and the circuit streets of denver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE invoices (total INTEGER, customer_id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)
<</SYS>>
SELECT SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = "Lucas" AND T1.last_name = "Mancini"[/INST] What is the total amount of money spent by Lucas Mancini?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (pick INTEGER, player VARCHAR)
<</SYS>>
SELECT MIN(pick) FROM table_name_8 WHERE player = "ian hazlett"[/INST] Which pick was used on Ian Hazlett?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_47 WHERE rank > 2 AND time = "55.77"[/INST] What is the nationality of the swimmer with a rank over 2 with a time of 55.77?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (total INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
<</SYS>>
SELECT SUM(total) FROM table_name_53 WHERE silver < 2 AND gold = 3 AND bronze < 0[/INST] How many medals under total when silver is less than 2, gold is 3, and bronze is less than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (format VARCHAR, type VARCHAR, call_letters VARCHAR)
<</SYS>>
SELECT format FROM table_name_74 WHERE type = "primary" AND call_letters = "kbjs"[/INST] Type of primary, and a Call letters of kbjs has what format?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29728787_1 (olivier VARCHAR, la_roche VARCHAR)
<</SYS>>
SELECT olivier FROM table_29728787_1 WHERE la_roche = "Karl Ridderbusch"[/INST] When karl ridderbusch is the la roche who is the olivier?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (friday VARCHAR, tuesday VARCHAR)
<</SYS>>
SELECT friday FROM table_name_25 WHERE tuesday = "jay mohr sports"[/INST] What is shown on Friday when Tuesday is Jay Mohr Sports?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18481791_2 (title VARCHAR, directed_by VARCHAR)
<</SYS>>
SELECT title FROM table_18481791_2 WHERE directed_by = "John T. Kretchmer"[/INST] What was the title of the episode directed by John T. Kretchmer? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR)
<</SYS>>
SELECT document_id, document_name FROM Documents[/INST] Show the ids and names of all documents.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)
<</SYS>>
SELECT player FROM table_name_78 WHERE country = "united states" AND total = 286 AND year_s__won = "2003"[/INST] What player in the United States had a total of 286 and won in 2003?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (signal_quality VARCHAR, station_call_letters VARCHAR)
<</SYS>>
SELECT signal_quality FROM table_name_96 WHERE station_call_letters = "kcal-dt"[/INST] What signal quality does the KCAL-DT channel have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (tyres VARCHAR, driver VARCHAR)
<</SYS>>
SELECT tyres FROM table_name_46 WHERE driver = "hans binder"[/INST] I want the tyres for hans binder</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (hometown__previous_school_ VARCHAR, name VARCHAR)
<</SYS>>
SELECT hometown__previous_school_ FROM table_name_72 WHERE name = "tim williams"[/INST] What is the Hometown of Tim Williams?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23235767_4 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
<</SYS>>
SELECT COUNT(opponent_in_the_final) FROM table_23235767_4 WHERE score_in_the_final = "6–2, 6–1, 6–3"[/INST] Name the total number of opponent in the final for 6–2, 6–1, 6–3</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR)
<</SYS>>
SELECT COUNT(reg_gp) FROM table_name_62 WHERE player = "nathan barrett" AND rd__number < 8[/INST] How many reg GP for nathan barrett in a round less than 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (sign VARCHAR, fall VARCHAR)
<</SYS>>
SELECT sign FROM table_name_5 WHERE fall = "venus"[/INST] Which sign has a fall of Venus?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.