instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Who is in December when November has Alexus Winston? ### Response:
SELECT "December" FROM table_14153 WHERE "November" = 'alexus winston'
### Instruction: What theme name has the original artist of Dolly Parton? ### Response:
SELECT theme FROM table_15796100_1 WHERE original_artist = "Dolly Parton"
### Instruction: Who had the high assists on November 17? ### Response:
SELECT high_assists FROM table_27744976_6 WHERE date = "November 17"
### Instruction: when the population was 1599, what was the census ranking? ### Response:
SELECT census_ranking FROM table_170961_2 WHERE population = 1599
### Instruction: What is the bird uniform for Eagle Rider Mickey Dugan? ### Response:
SELECT bird_uniform FROM table_name_8 WHERE eagle_riders = "mickey dugan"
### Instruction: How many apperances for shakhtar donetsk? ### Response:
SELECT COUNT(appearances) FROM table_name_84 WHERE team = "shakhtar donetsk"
### Instruction: Location of brendan byrne arena had what score? ### Response:
SELECT "Score" FROM table_5182 WHERE "Location" = 'brendan byrne arena'
### Instruction: What is the margin of victory for nikki garrett? ### Response:
SELECT "Margin of victory" FROM table_56204 WHERE "Winner" = 'nikki garrett'
### Instruction: When michael reihs is the mountains classification what is the stage? ### Response:
SELECT "Stage" FROM table_30466 WHERE "Mountains classification" = 'Michael Reihs'
### Instruction: What is School, when Event is '100 Backstroke'? ### Response:
SELECT "School" FROM table_59143 WHERE "Event" = '100 backstroke'
### Instruction: What record company did pianist Solomon Cutner record for? ### Response:
SELECT "Record Company" FROM table_59885 WHERE "Pianist" = 'solomon cutner'
### Instruction: Name the german voice actor for alain dorval ### Response:
SELECT "German voice actor" FROM table_19723 WHERE "French voice actor" = 'Alain Dorval'
### Instruction: What are the cities/towns located in the municipality of Horten? ### Response:
SELECT "City/town" FROM table_72718 WHERE "Municipality" = 'Horten'
### Instruction: What's the nationality of Livio Berruti? ### Response:
SELECT "Nationality" FROM table_65938 WHERE "Athlete" = 'livio berruti'
### Instruction: Name the delay when scientific linux release is 5.10 ### Response:
SELECT "Delay" FROM table_72631 WHERE "Scientific Linux Release" = '5.10'
### Instruction: how many cultivars are of the semi double flower type ? ### Response:
SELECT COUNT("name") FROM table_203_699 WHERE "flower type" = 'semi-double'
### Instruction: How many genes in the species Rubrobacter Xylanophilus? ### Response:
SELECT genes FROM table_name_47 WHERE species = "rubrobacter xylanophilus"
### Instruction: In what episode was segment D ned Can Corn? ### Response:
SELECT MAX(episode) FROM table_15187735_1 WHERE segment_d = "ned Can Corn"
### Instruction: What was the 15th club in 2012? ### Response:
SELECT club FROM table_name_46 WHERE year = 2012 AND order = "15th"
### Instruction: What is the lowest grid number that a race took place doing more than 21 laps? ### Response:
SELECT MIN(grid) FROM table_name_54 WHERE laps > 21
### Instruction: What Date Released, when # Of Discs is greater than 4? ### Response:
SELECT "Date Released" FROM table_59906 WHERE "# Of Discs" > '4'
### Instruction: What is the series of the winning team in Iowa, for softball? ### Response:
SELECT series FROM table_name_24 WHERE winning_team = "iowa" AND sport = "softball"
### Instruction: What was the starting position of Joie Chitwood when he finished more than 200 laps? ### Response:
SELECT start FROM table_name_49 WHERE laps > 200
### Instruction: Which Set 1 has a Set 3 of 16 25? ### Response:
SELECT set_1 FROM table_name_25 WHERE set_3 = "16–25"
### Instruction: What is the end when moving from is listed as cary clarets? ### Response:
SELECT "Ends" FROM table_1733 WHERE "Moving from" = 'Cary Clarets'
### Instruction: What date shows a Loss of lilly (2 2)? ### Response:
SELECT "Date" FROM table_67921 WHERE "Loss" = 'lilly (2–2)'
### Instruction: What is the average lap of the race with a 23 finish? ### Response:
SELECT AVG("Laps") FROM table_15315 WHERE "Finish" = '23'
### Instruction: What year has a RAtt of 1 and a comp of 49? ### Response:
SELECT year FROM table_name_60 WHERE ratt = "1" AND comp = "49"
### Instruction: Visualize a pie chart about the proportion of All_Home and the amount of All_Home. ### Response:
SELECT All_Home, COUNT(All_Home) FROM basketball_match GROUP BY All_Home
### Instruction: Which IHSAA Class has a Size larger than 511? ### Response:
SELECT "IHSAA Class" FROM table_65535 WHERE "Size" > '511'
### Instruction: What is the average when the BBI is 3/27? ### Response:
SELECT average FROM table_28846752_9 WHERE bbi = "3/27"
### Instruction: What was the total with a score in set 3 of 13 25? ### Response:
SELECT total FROM table_name_55 WHERE set_3 = "13–25"
### Instruction: Which series with a total of 27 albums did Dargaud edit? ### Response:
SELECT series FROM table_name_39 WHERE editor = "dargaud" AND albums = "27"
### Instruction: What type has rest day as a course and was on 21 may? ### Response:
SELECT type FROM table_name_83 WHERE course = "rest day" AND date = "21 may"
### Instruction: Tell me japan for jigsaw land: japan graffiti ### Response:
SELECT japan FROM table_name_14 WHERE title = "jigsaw land: japan graffiti"
### Instruction: Who were the winners in 2010-2011? ### Response:
SELECT winners FROM table_name_4 WHERE year = "2010-2011"
### Instruction: elevated triglyceride level > 150 mg / dl ### Response:
SELECT * FROM table_train_179 WHERE triglyceride_tg > 150
### Instruction: Name the most races for flaps larger than 2.0 ### Response:
SELECT MAX(races) FROM table_24466191_1 WHERE flaps > 2.0
### Instruction: What is the position of the song that adam sandahl wrote? ### Response:
SELECT "Position" FROM table_2916 WHERE "Songwriter(s)" = 'Adam Sandahl'
### Instruction: What is Player, when Year(s) Won is 1955? ### Response:
SELECT player FROM table_name_84 WHERE year_s__won = "1955"
### Instruction: How many data points for chrstians are 39.7? ### Response:
SELECT COUNT("Composition") FROM table_1080 WHERE "Christians" = '39.7'
### Instruction: Name the year for guillermo ca as ### Response:
SELECT "Year" FROM table_25862 WHERE "Opponent in the final" = 'Guillermo Cañas'
### Instruction: What date was the game with loss of Aker (3 8)? ### Response:
SELECT "Date" FROM table_71564 WHERE "Loss" = 'aker (3–8)'
### Instruction: How many points does the club that had 45 points against it have? ### Response:
SELECT "Points" FROM table_30391 WHERE "Pts Agst" = '45'
### Instruction: What is Date, when Score is '80-79'? ### Response:
SELECT "Date" FROM table_59289 WHERE "Score" = '80-79'
### Instruction: How many venues were there for the match on November 6? ### Response:
SELECT COUNT("Venue") FROM table_23081 WHERE "Date" = 'November 6'
### Instruction: What is the McCain vote percentage in Jerome county? ### Response:
SELECT mccain_percentage FROM table_20684390_1 WHERE county = "Jerome"
### Instruction: How many overs occurred at Waca Ground against Queensland? ### Response:
SELECT overs FROM table_name_31 WHERE ground = "waca ground" AND opponent = "queensland"
### Instruction: Which Winning Driver has a Second Driver of jimmy bryan? ### Response:
SELECT winning_driver FROM table_name_25 WHERE second_driver = "jimmy bryan"
### Instruction: How many Losses have a Name of blair kiel? ### Response:
SELECT COUNT("Losses") FROM table_37662 WHERE "Name" = 'blair kiel'
### Instruction: What is the Record with a Game Site that is joe robbie stadium? ### Response:
SELECT record FROM table_name_3 WHERE game_site = "joe robbie stadium"
### Instruction: Tell me the season for quarter-final position of 4th ### Response:
SELECT season FROM table_name_97 WHERE play_offs = "quarter-final" AND pos = "4th"
### Instruction: what are the ways to consume guaifenesin? ### Response:
SELECT DISTINCT prescriptions.route FROM prescriptions WHERE prescriptions.drug = 'guaifenesin'
### Instruction: Name the total number of immunity for cycle number of 13 ### Response:
SELECT COUNT("Immunity") FROM table_21179 WHERE "Cycle no." = '13'
### Instruction: What is the average capacity for the venue where the team kommunalnik played? ### Response:
SELECT AVG(capacity) FROM table_name_29 WHERE team = "kommunalnik"
### Instruction: What country has the SBA Towers Tower Hayneville? ### Response:
SELECT "Country" FROM table_45247 WHERE "Name" = 'sba towers tower hayneville'
### Instruction: What is the location of the fight against Zaza Tkeshelashvili? ### Response:
SELECT location FROM table_name_26 WHERE opponent = "zaza tkeshelashvili"
### Instruction: How many listings under Melbourne has a distance at 15km? ### Response:
SELECT COUNT("Melbourne") FROM table_31021 WHERE "Distance" = '15km'
### Instruction: What is the history behind Speedrunner III (SSC3)? ### Response:
SELECT "History" FROM table_42755 WHERE "Name" = 'speedrunner iii (ssc3)'
### Instruction: How many matches have a 100s category less than 0? ### Response:
SELECT COUNT("Matches") FROM table_9311 WHERE "100s" < '0'
### Instruction: who are all the visitor with a record of 25 18 ### Response:
SELECT visitor FROM table_11964047_7 WHERE record = "25–18"
### Instruction: What are the dates of leaving office for politician from the province of Seville? ### Response:
SELECT "Left office" FROM table_28609 WHERE "Province" = 'Seville'
### Instruction: Show me how many type by type in a histogram, and I want to display x axis in descending order. ### Response:
SELECT Type, COUNT(Type) FROM ship GROUP BY Type ORDER BY Type DESC
### Instruction: Which Elevator has a Title of bishop of palestrina? ### Response:
SELECT "Elevator" FROM table_12911 WHERE "Title" = 'bishop of palestrina'
### Instruction: How many chapters did Elmer Clifton direct? ### Response:
SELECT COUNT("Chapters") FROM table_56243 WHERE "Director" = 'elmer clifton'
### Instruction: What is the title of the episode written by Vanessa Bates? ### Response:
SELECT "Title" FROM table_23052 WHERE "Written by" = 'Vanessa Bates'
### Instruction: What was the loss of the game that had a score of 9-7? ### Response:
SELECT "Loss" FROM table_71542 WHERE "Score" = '9-7'
### Instruction: What is the yacht type of Icap Leopard? ### Response:
SELECT yacht AS type FROM table_25561560_2 WHERE yacht = "ICAP Leopard"
### Instruction: Show all male student ids who don't play football. ### Response:
SELECT StuID FROM Student WHERE sex = 'M' EXCEPT SELECT StuID FROM Sportsinfo WHERE sportname = "Football"
### Instruction: Name the runner-up for janice yan ( ) ### Response:
SELECT runner_up FROM table_name_35 WHERE winner = "janice yan (閻奕格)"
### Instruction: Display a bar chart for how many students participated in tryouts for each college by descennding count? ### Response:
SELECT cName, COUNT(*) FROM Tryout GROUP BY cName ORDER BY COUNT(*) DESC
### Instruction: What date did episode 4 in the season originally air? ### Response:
SELECT original_air_date FROM table_29436238_1 WHERE no_in_season = 4
### Instruction: When is the completed date of the destroyer with a pennant number h59? ### Response:
SELECT completed FROM table_name_50 WHERE pennant_number = "h59"
### Instruction: How many votes did Southern England cast whilst Northern Ireland cast 3? ### Response:
SELECT southern_england FROM table_10128185_2 WHERE northern_ireland = 3
### Instruction: How many figures are provided for Weeks' field goals? ### Response:
SELECT COUNT(field_goals) FROM table_25711913_8 WHERE player = "Weeks"
### Instruction: What team lost on 20 August 1989? ### Response:
SELECT losingteam FROM table_name_82 WHERE cup_finaldate = "20 august 1989"
### Instruction: What are the maximum price and score of wines produced by St. Helena appelation? ### Response:
SELECT MAX(price), MAX(score) FROM wine WHERE appelation = "St. Helena"
### Instruction: Which Sydney's Melbourne was no, when Auckland was yes? ### Response:
SELECT sydney FROM table_name_94 WHERE melbourne = "no" AND auckland = "yes"
### Instruction: who is the incumbent for district mississippi 4 ### Response:
SELECT incumbent FROM table_1342379_23 WHERE district = "Mississippi 4"
### Instruction: What's the type of the school whose students are nicknamed Chargers? ### Response:
SELECT type FROM table_1969577_3 WHERE nickname = "Chargers"
### Instruction: What is the original title of the film submitted by Greece? ### Response:
SELECT original_title FROM table_18994724_1 WHERE submitting_country = "Greece"
### Instruction: Which Streak has a Record of 21 22? ### Response:
SELECT "Streak" FROM table_12895 WHERE "Record" = '21–22'
### Instruction: Who is the opponent on the game that will be played at metropolitan stadium? ### Response:
SELECT opponent FROM table_name_79 WHERE game_site = "metropolitan stadium"
### Instruction: How many rounds did the match last when his record was 6-6? ### Response:
SELECT "Round" FROM table_45605 WHERE "Record" = '6-6'
### Instruction: What is the number of names for each product in the store?, and order Y in desc order. ### Response:
SELECT Name, COUNT(Name) FROM Products GROUP BY Name ORDER BY COUNT(Name) DESC
### Instruction: who has the 1 goal and the position is fw? ### Response:
SELECT name FROM table_23963781_2 WHERE goals = 1 AND position = "FW"
### Instruction: Who was the match against when on a clay surface during round 2r? ### Response:
SELECT against FROM table_name_19 WHERE round = "2r" AND surface = "clay"
### Instruction: how many archive were when run time is 24:34 ### Response:
SELECT archive FROM table_2112766_1 WHERE run_time = "24:34"
### Instruction: What is the fate of the ship on 26 April 1942? ### Response:
SELECT fate FROM table_name_20 WHERE date = "26 april 1942"
### Instruction: on which date was the patient with patient id 65652 born? ### Response:
SELECT demographic.dob FROM demographic WHERE demographic.subject_id = "65652"
### Instruction: What is the series number for Season #18? ### Response:
SELECT MIN(series__number) FROM table_12564633_1 WHERE season__number = 18
### Instruction: Who is the opponent in the final of the Tournament of Blenheim? ### Response:
SELECT opponent_in_the_final FROM table_name_42 WHERE tournament = "blenheim"
### Instruction: Who is the player when the bbi is 5/27? ### Response:
SELECT player FROM table_27268238_5 WHERE bbi = "5/27"
### Instruction: What other mozilla has January 2010 as the period? ### Response:
SELECT other_mozilla FROM table_name_80 WHERE period = "january 2010"
### Instruction: What is the lowest laps that Vittorio Iannuzzo completed? ### Response:
SELECT MIN(laps) FROM table_name_1 WHERE rider = "vittorio iannuzzo"
### Instruction: What college did the player from Liberty County High School attend? ### Response:
SELECT "College" FROM table_77780 WHERE "School" = 'liberty county high school'
### Instruction: Tell me the track for scott lagasse jr. ### Response:
SELECT "Track" FROM table_74482 WHERE "Race Winner" = 'scott lagasse jr.'
### Instruction: Which Floors is the highest one that has a Name of one indiana square? ### Response:
SELECT MAX(floors) FROM table_name_84 WHERE name = "one indiana square"
### Instruction: What is the number of external links with a coach named Katie Kansas? ### Response:
SELECT COUNT("External Link") FROM table_24325 WHERE "Coach" = 'Katie Kansas'
### Instruction: younger than the age of 50 or older than the age of 90 . ### Response:
SELECT * FROM table_train_105 WHERE age < 50 OR age > 90