text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (score VARCHAR, high_assists VARCHAR)
<</SYS>>
SELECT score FROM table_name_6 WHERE high_assists = "rodriguez (8)"[/INST] Which Score has High assists of rodriguez (8)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party_Theme VARCHAR, Party_ID VARCHAR)
<</SYS>>
SELECT T3.Party_Theme, T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID[/INST] Show the themes of parties and the names of the party hosts.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23799417_1 (production_code VARCHAR, directed_by VARCHAR)
<</SYS>>
SELECT production_code FROM table_23799417_1 WHERE directed_by = "Matt Shakman"[/INST] What is the production code directed by Matt Shakman?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (game VARCHAR, location VARCHAR, time VARCHAR)
<</SYS>>
SELECT COUNT(game) FROM table_name_95 WHERE location = "memorial stadium" AND time = "2:27"[/INST] how many games have a location of memorial stadium and a time of 2:27?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (year_s__withdrawn VARCHAR, class VARCHAR)
<</SYS>>
SELECT year_s__withdrawn FROM table_name_86 WHERE class = "t14"[/INST] In what year(s) were the CLASS T14 trains withdrawn from service?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (year_of_release INTEGER, title VARCHAR)
<</SYS>>
SELECT MAX(year_of_release) FROM table_name_71 WHERE title = "greatest hits"[/INST] What was the latest year of release for the greatest hits title?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2562572_5 (city___municipality VARCHAR, urban_settlement VARCHAR)
<</SYS>>
SELECT city___municipality FROM table_2562572_5 WHERE urban_settlement = "Kanjiža"[/INST] Name the city for kanjiža</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2933761_1 (gender VARCHAR, name VARCHAR)
<</SYS>>
SELECT gender FROM table_2933761_1 WHERE name = "Quentin"[/INST] What gender is Quentin?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (rank INTEGER, total INTEGER)
<</SYS>>
SELECT AVG(rank) FROM table_name_23 WHERE total < 1[/INST] Which rank has a total smaller than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (miss_maja_pilipinas VARCHAR, year VARCHAR)
<</SYS>>
SELECT miss_maja_pilipinas FROM table_name_30 WHERE year = 1969[/INST] Can you tell me the Miss Maja Pilipinas that has the Year of 1969?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (yards VARCHAR, attempts VARCHAR)
<</SYS>>
SELECT yards FROM table_name_74 WHERE attempts = "247"[/INST] Which Yards has a Attempts of 247</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)
<</SYS>>
SELECT COUNT(_percentage_of_popular_vote) FROM table_19769687_3 WHERE _number_of_seats_won = 83[/INST] Name the total number for % popular vote for # of seats won for 83</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, longitude VARCHAR)
<</SYS>>
SELECT MAX(latitude) FROM table_name_69 WHERE water__sqmi_ > 0.518 AND longitude < -99.830606 AND pop__2010_ = 18[/INST] What is the highest latitude when there are more than 0.518 square miles of water, a longitude less than -99.830606, and a population of 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (player VARCHAR, to_par VARCHAR, country VARCHAR)
<</SYS>>
SELECT player FROM table_name_63 WHERE to_par = 12 AND country = "united states"[/INST] Which united states player had a To par of 12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR, cuts_made VARCHAR)
<</SYS>>
SELECT MAX(top_10) FROM table_name_77 WHERE top_5 > 3 AND cuts_made = 20 AND top_25 > 10[/INST] What was the highest Top-10, when the Top-5 was greater than 3, when the Cuts made were 20, and when the Top-25 was more than 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (tournament VARCHAR)
<</SYS>>
SELECT 2009 FROM table_name_35 WHERE 2007 = "2r" AND tournament = "wimbledon"[/INST] Name the 2009 for 2007 of 2r and tournament of wimbledon</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (birth VARCHAR, name VARCHAR)
<</SYS>>
SELECT birth FROM table_name_91 WHERE name = "anne of lorraine"[/INST] When was anne of lorraine born?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (format VARCHAR, region VARCHAR)
<</SYS>>
SELECT format FROM table_name_99 WHERE region = "european union"[/INST] Tell me the format for european union</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12962773_2 (no VARCHAR, current_club VARCHAR)
<</SYS>>
SELECT no FROM table_12962773_2 WHERE current_club = "Ironi Nahariya"[/INST] What are the numbers of the players currently playing for Ironi Nahariya?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (against INTEGER, draw VARCHAR, played VARCHAR)
<</SYS>>
SELECT SUM(against) FROM table_name_19 WHERE draw = 1 AND played < 8[/INST] What is the total against with 1 draw and less than 8 played?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (name VARCHAR, place_of_birth VARCHAR)
<</SYS>>
SELECT name FROM table_name_27 WHERE place_of_birth = "porsgrunn"[/INST] Who was born in Porsgrunn?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (head_coach VARCHAR, shirt_sponsor VARCHAR)
<</SYS>>
SELECT head_coach FROM table_name_75 WHERE shirt_sponsor = "finke"[/INST] Who is the head coach for the team that has finke as the shirt sponsor?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (wins VARCHAR, matches VARCHAR, success_rate VARCHAR)
<</SYS>>
SELECT wins FROM table_name_70 WHERE matches = "4" AND success_rate = "25%"[/INST] What was the win for 4 matches with a success rate of 25%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (engine VARCHAR, finish VARCHAR)
<</SYS>>
SELECT engine FROM table_name_98 WHERE finish = "27"[/INST] What Engine had a Finish of 27?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (lost INTEGER, points VARCHAR, difference VARCHAR)
<</SYS>>
SELECT MAX(lost) FROM table_name_74 WHERE points = 32 AND difference < 86[/INST] What is the most lost games for the team with a difference smaller than 86 and points of 32?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1912713_2 (意義_meaning VARCHAR, 性情_personality VARCHAR)
<</SYS>>
SELECT 意義_meaning FROM table_1912713_2 WHERE 性情_personality = "Gentle"[/INST] What is the meaning of a gentle personality?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1974545_2 (founded VARCHAR, location VARCHAR)
<</SYS>>
SELECT founded FROM table_1974545_2 WHERE location = "Salem, Massachusetts"[/INST] When was the school in Salem, Massachusetts located?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (years_in_senate VARCHAR, years_in_assembly VARCHAR, name VARCHAR)
<</SYS>>
SELECT years_in_senate FROM table_name_23 WHERE years_in_assembly = "2010–present" AND name = "toni atkins"[/INST] Which Years in Senate has a Years in Assembly of 2010–present, and toni atkins?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12570207_1 (rockhampton INTEGER)
<</SYS>>
SELECT MIN(rockhampton) FROM table_12570207_1[/INST] what is the minimum rockhampton</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (province VARCHAR, airport VARCHAR)
<</SYS>>
SELECT province FROM table_name_63 WHERE airport = "luogang international airport"[/INST] Which province is Luogang International Airport located in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (played INTEGER, goals_against VARCHAR, goals_for VARCHAR)
<</SYS>>
SELECT SUM(played) FROM table_name_64 WHERE goals_against = 45 AND goals_for < 65[/INST] How much Played has Goals Against of 45, and Goals For smaller than 65?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (calls VARCHAR, frequency VARCHAR)
<</SYS>>
SELECT calls FROM table_name_88 WHERE frequency = "1290 khz"[/INST] Tell me the calls for frequency of 1290 khz</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2668367_7 (incumbent VARCHAR, district VARCHAR)
<</SYS>>
SELECT incumbent FROM table_2668367_7 WHERE district = "Kentucky 8"[/INST] Who was the incumbent in the Kentucky 8 district? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20403667_2 (crop_damaged__in_lakh_inr__ VARCHAR, public_property_damaged__in_lakh_inr__ VARCHAR)
<</SYS>>
SELECT crop_damaged__in_lakh_inr__ FROM table_20403667_2 WHERE public_property_damaged__in_lakh_inr__ = "1,03,049.60"[/INST] How many crops were damaged when the public property damage was 1,03,049.60?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26866519_1 (season__number VARCHAR, director VARCHAR)
<</SYS>>
SELECT COUNT(season__number) FROM table_26866519_1 WHERE director = "Ricardo Mendez Matta"[/INST] How many episodes are directed by ricardo mendez matta?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_88 WHERE date = "april 12"[/INST] What is the score on April 12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (content VARCHAR, television_service VARCHAR)
<</SYS>>
SELECT content FROM table_name_20 WHERE television_service = "la sorgente sat 3"[/INST] What is the content for la sorgente sat 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (prize VARCHAR, beer_name VARCHAR, year VARCHAR, competition VARCHAR)
<</SYS>>
SELECT prize FROM table_name_31 WHERE year > 2002 AND competition = "camra london and south east regional competition" AND beer_name = "good old boy"[/INST] What prize did good old boy win in 2002 at the camra london and south east regional competition?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (model_number VARCHAR, part_number_s_ VARCHAR)
<</SYS>>
SELECT model_number FROM table_name_69 WHERE part_number_s_ = "cl8064701510101"[/INST] What model number has part number cl8064701510101?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (team VARCHAR, points VARCHAR, laps VARCHAR, grid VARCHAR)
<</SYS>>
SELECT team FROM table_name_16 WHERE laps < 105 AND grid < 18 AND points = 11[/INST] Which Team has Laps smaller than 105, and a Grid smaller than 18, and Points of 11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (team VARCHAR, driver VARCHAR, class VARCHAR, laps VARCHAR)
<</SYS>>
SELECT team FROM table_name_63 WHERE class = "c1" AND laps = 76 AND driver = "bob wollek"[/INST] What Team has Bob Wollek as a Driver with 76 Laps in C1 Class?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (year VARCHAR, wins VARCHAR, win__percentage VARCHAR, matches VARCHAR)
<</SYS>>
SELECT year FROM table_name_6 WHERE win__percentage = "50.00%" AND matches > 14 AND wins > 8[/INST] What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (distance VARCHAR, race_leader VARCHAR)
<</SYS>>
SELECT distance FROM table_name_94 WHERE race_leader = "km (mi)"[/INST] What Distance had a Race Leader in Km (mi)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (points VARCHAR, car_no VARCHAR)
<</SYS>>
SELECT points FROM table_name_65 WHERE car_no = "20"[/INST] How many points did car 20 score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341423_13 (first_elected INTEGER, incumbent VARCHAR)
<</SYS>>
SELECT MIN(first_elected) FROM table_1341423_13 WHERE incumbent = "Luis Gutierrez"[/INST] What year was Luis Gutierrez election</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (points INTEGER, driver VARCHAR, top_10 VARCHAR)
<</SYS>>
SELECT MAX(points) FROM table_name_14 WHERE driver = "justin lofton" AND top_10 < 5[/INST] What are the highest points for Justin Lofton when his top 10 is lower than 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (engine VARCHAR, model VARCHAR, torque VARCHAR)
<</SYS>>
SELECT engine FROM table_name_87 WHERE model = "2.0 bitdi (cr) dpf" AND torque = "n·m (lb·ft) @ 1500–2000 rpm"[/INST] What is the engine for model 2.0 bitdi (cr) dpf, with a Torque of n·m (lb·ft) @ 1500–2000 rpm?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_24 WHERE date = "april 21"[/INST] Who was the opponent on April 21?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (week_11_nov_16 VARCHAR, week_13_nov_30 VARCHAR)
<</SYS>>
SELECT week_11_nov_16 FROM table_name_50 WHERE week_13_nov_30 = "wisconsin (10-1)"[/INST] What is the week 11 nov 16 standing with wisconsin (10-1) on week 13 Nov 30?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (relationship VARCHAR, age_at_death VARCHAR)
<</SYS>>
SELECT relationship FROM table_name_95 WHERE age_at_death = "96"[/INST] What is the relationship of the woman who died at 96?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR)
<</SYS>>
SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification"[/INST] What venue was the 2000 AFC Asian Cup qualification held at?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27755603_8 (location_attendance VARCHAR, high_points VARCHAR)
<</SYS>>
SELECT location_attendance FROM table_27755603_8 WHERE high_points = "Austin Daye , Tracy McGrady , Tayshaun Prince (20)"[/INST] Name the location attendance for austin daye , tracy mcgrady , tayshaun prince (20)</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (team_1 VARCHAR)
<</SYS>>
SELECT 2 AS nd_leg FROM table_name_44 WHERE team_1 = "fulham"[/INST] Fulham as Team 1 has the 2nd leg score of what?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (name VARCHAR, total VARCHAR)
<</SYS>>
SELECT name FROM table_name_8 WHERE total = "8 (24)"[/INST] Which player has a total of 8 (24)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (grid INTEGER, laps VARCHAR, driver VARCHAR)
<</SYS>>
SELECT SUM(grid) FROM table_name_7 WHERE laps > 66 AND driver = "michael schumacher"[/INST] What is the sum of grid values of driver Michael Schumacher with lap counts larger than 66?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (bronze INTEGER, total VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR)
<</SYS>>
SELECT MIN(bronze) FROM table_name_75 WHERE silver > 0 AND rank < 4 AND nation = "jamaica" AND total < 22[/INST] What is the leowest number of Bronze medals for Jamaica who ranked less than 4 and had more than 0 silver medals and a total of less than 22 medals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE body_builder (Total VARCHAR)
<</SYS>>
SELECT Total FROM body_builder ORDER BY Total[/INST] List the total scores of body builders in ascending order.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (date_of_issue VARCHAR, design VARCHAR)
<</SYS>>
SELECT date_of_issue FROM table_name_43 WHERE design = "john belisle, kosta tsetsekas"[/INST] What date was the John Belisle, Kosta Tsetsekas stamp issued?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13036251_1 (the_mole VARCHAR, winner VARCHAR)
<</SYS>>
SELECT the_mole FROM table_13036251_1 WHERE winner = "Frédérique Huydts"[/INST] what's the mole with winner being frédérique huydts</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (decision VARCHAR, date VARCHAR)
<</SYS>>
SELECT decision FROM table_name_85 WHERE date = "april 25"[/INST] Which Decision has a Date of april 25?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (event VARCHAR, acts VARCHAR)
<</SYS>>
SELECT event FROM table_name_16 WHERE acts = "106 bands"[/INST] I want to know the events for 106 bands</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (points_against VARCHAR)
<</SYS>>
SELECT points_against FROM table_name_96 WHERE "drawn" = "drawn"[/INST] what is the points against when drawn is drawn?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (venue VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
<</SYS>>
SELECT venue FROM table_name_78 WHERE result = "won" AND competition = "friendly" AND date = "28 may 2012"[/INST] Where was the friendly competition that Andriy Yarmolenko won on 28 may 2012?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17641206_4 (duration VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT COUNT(duration) FROM table_17641206_4 WHERE written_by = "John Sullivan"[/INST] How many episodes of 30 minutes were written by John Sullivan?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (ihsaa_class VARCHAR, mascot VARCHAR)
<</SYS>>
SELECT ihsaa_class AS Football FROM table_name_7 WHERE mascot = "panthers"[/INST] What's the IHSAA Class Football if the panthers are the mascot?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2668352_16 (party VARCHAR, result VARCHAR)
<</SYS>>
SELECT party FROM table_2668352_16 WHERE result = "Lost re-election Democratic-Republican hold"[/INST] Which party experienced a result of lost re-election democratic-republican hold?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1221089_1 (colors VARCHAR, institution VARCHAR)
<</SYS>>
SELECT colors FROM table_1221089_1 WHERE institution = "University of New Hampshire"[/INST] What are the school colors of the University of New Hampshire?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (margin INTEGER, score VARCHAR)
<</SYS>>
SELECT SUM(margin) FROM table_name_14 WHERE score = "52-12"[/INST] What was the margin of the score 52-12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (longitude VARCHAR, name VARCHAR)
<</SYS>>
SELECT longitude FROM table_name_61 WHERE name = "raskova paterae"[/INST] What is Longitude, when Name is Raskova Paterae?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (started VARCHAR, end_source VARCHAR, country VARCHAR, loan_club VARCHAR)
<</SYS>>
SELECT started FROM table_name_23 WHERE country = "eng" AND loan_club = "sunderland" AND end_source = "south wales echo"[/INST] When was the loan started when the coutry is eng, the loan club is sunderland and the end source is south wales echo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10935205_1 (production_code INTEGER, us_airdate VARCHAR)
<</SYS>>
SELECT MAX(production_code) FROM table_10935205_1 WHERE us_airdate = "4 April 2008"[/INST] The U.S. airdate of 4 april 2008 had a production code of what?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (authority VARCHAR, area VARCHAR, gender VARCHAR, decile VARCHAR)
<</SYS>>
SELECT authority FROM table_name_21 WHERE gender = "coed" AND decile < 6 AND area = "merivale"[/INST] Which Authority has a Gender of coed, a Decile smaller than 6, and an Area of merivale?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23483182_1 (no_in_series INTEGER, original_air_date VARCHAR)
<</SYS>>
SELECT MIN(no_in_series) FROM table_23483182_1 WHERE original_air_date = "March 25, 2010"[/INST] What is the series number of the episode that aired March 25, 2010?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18795125_6 (date_of_appointment VARCHAR, position_in_table VARCHAR)
<</SYS>>
SELECT date_of_appointment FROM table_18795125_6 WHERE position_in_table = "23rd"[/INST] What was the date of appointment for the manager of the 23rd team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (finals_goals INTEGER, total_goals INTEGER)
<</SYS>>
SELECT AVG(finals_goals) FROM table_name_40 WHERE total_goals < 1[/INST] What is the Average Finals Goals if the Total Goals is less than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (team_2 VARCHAR)
<</SYS>>
SELECT 1 AS st_leg FROM table_name_6 WHERE team_2 = "mufulira wanderers"[/INST] What was the 1st leg score when Mufulira Wanderers played as Team 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (round VARCHAR, method VARCHAR, event VARCHAR)
<</SYS>>
SELECT round FROM table_name_32 WHERE method = "decision (unanimous)" AND event = "ufc 145"[/INST] Which Round has a Method of decision (unanimous), and an Event of ufc 145?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (caps VARCHAR, scotland_career VARCHAR)
<</SYS>>
SELECT caps FROM table_name_20 WHERE scotland_career = "1920–1923"[/INST] Which caps was in scotland in 1920–1923?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25342713_5 (blocks INTEGER, steals VARCHAR)
<</SYS>>
SELECT MAX(blocks) FROM table_25342713_5 WHERE steals = 20[/INST] If the Steals are 20, what are the blocks?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (result VARCHAR, venue VARCHAR)
<</SYS>>
SELECT result FROM table_name_2 WHERE venue = "kyiv, ukraine"[/INST] What is the result of the game at kyiv, ukraine?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (pct VARCHAR, total_games INTEGER)
<</SYS>>
SELECT pct FROM table_name_84 WHERE total_games < 944[/INST] What is the PCT when the total number of games is less than 944?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (result VARCHAR, film_title_used_in_nomination VARCHAR)
<</SYS>>
SELECT result FROM table_name_28 WHERE film_title_used_in_nomination = "lake of tears"[/INST] WHAT IS THE RESULT WITH FILM LAKE OF TEARS?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR)
<</SYS>>
SELECT record FROM table_name_75 WHERE score = "111-89"[/INST] What record has the score 111-89?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (bullet VARCHAR, shoulder VARCHAR)
<</SYS>>
SELECT bullet FROM table_name_51 WHERE shoulder = "12.5 (.491)"[/INST] What bullet does the gun with a shoulder measurement of 12.5 (.491)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13619027_7 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT COUNT(score) FROM table_13619027_7 WHERE date = "January 3"[/INST] what is the total score for the date of january 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (rr_nos VARCHAR, builder VARCHAR, year VARCHAR)
<</SYS>>
SELECT rr_nos FROM table_name_15 WHERE builder = "hudswell clarke" AND year < 1914[/INST] Name the RR numbers of hudswell clarke and years before 1914</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (Id VARCHAR)
<</SYS>>
SELECT MIN(1995) FROM table_name_14 WHERE 1990 = 441 AND 1985 < 359[/INST] What is the 1995 GDP when 1990 GDP is 441 and 1985 GDP is less than 359?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (opponents VARCHAR, partner VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponents FROM table_name_43 WHERE partner = "mashona washington" AND date = "november 21, 2009"[/INST] Tell me the opponents for mashona washington november 21, 2009</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (tries_against VARCHAR, points_for VARCHAR)
<</SYS>>
SELECT tries_against FROM table_name_22 WHERE points_for = "98"[/INST] What is Tries Against, when Points For is 98?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR)
<</SYS>>
SELECT score FROM table_name_30 WHERE opponent = "@ edmonton oilers" AND game > 1 AND series = "oilers lead 3–2"[/INST] Opponent of @ edmonton oilers, and a Game larger than 1, and a Series of oilers lead 3–2 had what score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR)
<</SYS>>
SELECT name, phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn GROUP BY T1.patient HAVING COUNT(*) > 1[/INST] what are name and phone number of patients who had more than one appointment?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28628309_8 (player VARCHAR, category VARCHAR)
<</SYS>>
SELECT player FROM table_28628309_8 WHERE category = "Field goal percentage"[/INST] What is the name of the player when the category is listed as field goal percentage?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR)
<</SYS>>
SELECT position FROM table_21223773_2 WHERE matches_for_nqf = "2009"[/INST] If the matches for NQF is 2009, what is the position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (young_classification VARCHAR, sprint_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)
<</SYS>>
SELECT young_classification FROM table_name_26 WHERE general_classification = "christian vande velde" AND team_classification = "team columbia" AND sprint_classification = "mark cavendish"[/INST] Which young classification has general classification of Christian Vande Velde for Team Columbia and Mark Cavendish?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_95 WHERE away_team = "rochdale"[/INST] When was the game played that had Rochdale as the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2467150_2 (model__list_ VARCHAR, processor VARCHAR, brand_name VARCHAR)
<</SYS>>
SELECT model__list_ FROM table_2467150_2 WHERE processor = "Kentsfield" AND brand_name = "Xeon"[/INST] What is the value for model if processor is Kentsfield and brand name is Xeon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (western_title VARCHAR, pinyin VARCHAR)
<</SYS>>
SELECT western_title FROM table_name_92 WHERE pinyin = "new chāojí mǎlìōu xiōngdì"[/INST] What is the western title of the pinyin new chāojí mǎlìōu xiōngdì?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
<</SYS>>
SELECT finish FROM table_name_85 WHERE to_par < 14 AND year_s__won = "1952 , 1963"[/INST] What is Finish, when To Par is less than 14, and when Year(s) Won is "1952 , 1963"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2508633_6 (college VARCHAR, nfl_team VARCHAR)
<</SYS>>
SELECT college FROM table_2508633_6 WHERE nfl_team = "Houston Oilers"[/INST] Name the college for houston oilers</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (tournament VARCHAR)
<</SYS>>
SELECT 1944 FROM table_name_52 WHERE tournament = "u.s. championships"[/INST] What is the 1944 result for the U.S. Championships?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.