instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Which number was Patrick O'Bryant? ### Response:
SELECT "No." FROM table_15858 WHERE "Player" = 'Patrick O''Bryant'
### Instruction: In 1975, what was the final round? ### Response:
SELECT "Final round" FROM table_31828 WHERE "Year" = '1975'
### Instruction: Tell me the away team score for away team of south melbourne ### Response:
SELECT away_team AS score FROM table_name_23 WHERE away_team = "south melbourne"
### Instruction: Attendance of 55,340 had what opponent? ### Response:
SELECT opponent FROM table_name_58 WHERE attendance = "55,340"
### Instruction: Which competition had a final position/round of 2? ### Response:
SELECT "Competition" FROM table_53596 WHERE "Final position / round" = '2'
### Instruction: where college is british columbia what are all the player ### Response:
SELECT player FROM table_26996293_2 WHERE college = "British Columbia"
### Instruction: how many gaming consoles in total were nfl blitz released for ? ### Response:
SELECT COUNT(DISTINCT "consoles") FROM table_203_272
### Instruction: how many floors does the bsnl tower have ? ### Response:
SELECT "floors" FROM table_204_541 WHERE "name" = 'bsnl tower'
### Instruction: Return a bar chart showing the number of schools in each county, and display y-axis in ascending order. ### Response:
SELECT County, COUNT(*) FROM School GROUP BY County ORDER BY COUNT(*)
### Instruction: Which Round has a Player of sammy okpro? ### Response:
SELECT AVG("Round") FROM table_47164 WHERE "Player" = 'sammy okpro'
### Instruction: What is the earliest year that the discus throw event occur? ### Response:
SELECT MIN("Year") FROM table_57572 WHERE "Event" = 'discus throw'
### Instruction: Who wrote the episode with series number 45? ### Response:
SELECT "Written by" FROM table_23501 WHERE "No. in series" = '45'
### Instruction: Which team has 123 points agaibst the other team? ### Response:
SELECT team FROM table_name_83 WHERE points_against = "123"
### Instruction: Who was the partner when the championship was us open on a hard surface? ### Response:
SELECT partner FROM table_name_30 WHERE surface = "hard" AND championship = "us open"
### Instruction: What ground has etobicoke kangaroos as the home? ### Response:
SELECT ground FROM table_name_88 WHERE home = "etobicoke kangaroos"
### Instruction: What is Tie no, when Home Team is 'Hull City'? ### Response:
SELECT tie_no FROM table_name_69 WHERE home_team = "hull city"
### Instruction: What is the Name of the Grondzeiler Mill? ### Response:
SELECT "Name of mill" FROM table_79592 WHERE "Type" = 'grondzeiler'
### Instruction: What kind of bleeding does aspirin cause? ### Response:
SELECT bleeding_time FROM table_1226250_1 WHERE condition = "Aspirin"
### Instruction: What venue did the team, evansville bluecats play on? ### Response:
SELECT venue FROM table_name_17 WHERE team = "evansville bluecats"
### Instruction: What is the Date with a game with a Record of 2 1 1? ### Response:
SELECT date FROM table_name_68 WHERE record = "2–1–1"
### Instruction: What was the tries against when the drawn was 2? ### Response:
SELECT tries_against FROM table_12792876_3 WHERE drawn = "2"
### Instruction: What was the score of the match with a 3-0 result? ### Response:
SELECT "Score" FROM table_77943 WHERE "Result" = '3-0'
### Instruction: what song reached the highest position on the french charts ? ### Response:
SELECT "single" FROM table_203_696 ORDER BY "charts\nfr" LIMIT 1
### Instruction: What was part 2 when part 4 was *bl tanaz? ### Response:
SELECT part_2 FROM table_name_67 WHERE part_4 = "*blōtanaz"
### Instruction: What Persian word(s) has the same meaning as the Romani word duj? ### Response:
SELECT persian FROM table_name_92 WHERE romani = "duj"
### Instruction: Was there PPV when the service was SCT? ### Response:
SELECT "PPV" FROM table_20384 WHERE "Television service" = 'SCT'
### Instruction: Where did Footscray play as the away team? ### Response:
SELECT "Venue" FROM table_32240 WHERE "Away team" = 'footscray'
### Instruction: What is the nationality of bill robinzine? ### Response:
SELECT "Nationality" FROM table_16848 WHERE "Player" = 'Bill Robinzine'
### Instruction: Which Third has a Skip of ellen vogt? ### Response:
SELECT "Third" FROM table_36919 WHERE "Skip" = 'ellen vogt'
### Instruction: Who is team E when Jason Manning is Team F? ### Response:
SELECT "Team E" FROM table_47508 WHERE "Team F" = 'jason manning'
### Instruction: How many won when points against is 410? ### Response:
SELECT COUNT("Won") FROM table_21775 WHERE "Points against" = '410'
### Instruction: Name the writers for 46 in series ### Response:
SELECT writer_s_ FROM table_26702078_1 WHERE no_in_series = 46
### Instruction: What is the year of daylight service when the builder was Alco? ### Response:
SELECT years_of_daylight_service FROM table_name_7 WHERE builder = "alco"
### Instruction: Who was the vacator when Shadrach Bond was the successor? ### Response:
SELECT vacator FROM table_225095_4 WHERE successor = "Shadrach Bond"
### Instruction: For Vegas Verdicts week, what was the result? ### Response:
SELECT "Result" FROM table_15436 WHERE "Week" = 'vegas verdicts'
### Instruction: List the total defensive points for marion bartoli. ### Response:
SELECT "Points defending" FROM table_3048 WHERE "Player" = 'Marion Bartoli'
### Instruction: who write the episode 5 in no. in season ### Response:
SELECT written_by FROM table_19417244_2 WHERE no_in_season = 5
### Instruction: What other cadidate ran against Dave Treen? ### Response:
SELECT candidates FROM table_1341663_19 WHERE incumbent = "Dave Treen"
### Instruction: List the types of competition that have at most five competitions of that type. ### Response:
SELECT Competition_type FROM competition GROUP BY Competition_type HAVING COUNT(*) <= 5
### Instruction: Name the loss for record of 71-81 ### Response:
SELECT "Loss" FROM table_80087 WHERE "Record" = '71-81'
### Instruction: What was the attendance for each game held at Foxboro Stadium? ### Response:
SELECT attendance FROM table_name_48 WHERE game_site = "foxboro stadium"
### Instruction: What is the resident state for the president elected in 1864? ### Response:
SELECT resident_state FROM table_name_83 WHERE election_year = 1864
### Instruction: How many silvers are there with a total of 11? ### Response:
SELECT SUM("Silver") FROM table_65055 WHERE "Total" = '11'
### Instruction: What is the score of the match with partner Jim Pugh? ### Response:
SELECT "Score" FROM table_16029 WHERE "Partner" = 'Jim Pugh'
### Instruction: What is the title of the song that has a translation of Without Me? ### Response:
SELECT "Title" FROM table_71343 WHERE "English translation" = 'without me'
### Instruction: When did Julie gets Validated originally air? ### Response:
SELECT "Original air date" FROM table_57363 WHERE "Title" = 'julie gets validated'
### Instruction: What was the note with a year after 2003? ### Response:
SELECT "Note" FROM table_49453 WHERE "Year" > '2003'
### Instruction: Which Week is on sunday november 28? ### Response:
SELECT MIN(week) FROM table_name_32 WHERE date = "sunday november 28"
### Instruction: how many teams won at golf when wooster won soccer ### Response:
SELECT COUNT("Golf") FROM table_20794 WHERE "Soccer" = 'Wooster'
### Instruction: Which Location has a Distance of 10,000 m? ### Response:
SELECT location FROM table_name_59 WHERE distance = "10,000 m"
### Instruction: what is the total number of runner ups listed on the chart ? ### Response:
SELECT COUNT(*) FROM table_204_724 WHERE "outcome" = 'runner-up'
### Instruction: What is the opponent from April 19? ### Response:
SELECT "Opponent" FROM table_6049 WHERE "Date" = 'april 19'
### Instruction: Name the rank where the municipality is sunndal? ### Response:
SELECT "Rank" FROM table_17586 WHERE "Municipality" = 'Sunndal'
### Instruction: What is the score of the match with a 3-2 result? ### Response:
SELECT "Score" FROM table_76627 WHERE "Result" = '3-2'
### Instruction: What was the highest crowd in Victoria Park? ### Response:
SELECT MAX("Crowd") FROM table_78420 WHERE "Venue" = 'victoria park'
### Instruction: What was the time of the driver with a finish position of 19? ### Response:
SELECT time_retired FROM table_name_13 WHERE fin_pos = "19"
### Instruction: for adolescents: bmi less than the 5 percentile ### Response:
SELECT * FROM table_train_178 WHERE body_mass_index_bmi < 5
### Instruction: What was the number of fatalities for the Viscount 700? ### Response:
SELECT fatalities FROM table_name_71 WHERE aircraft = "viscount 700"
### Instruction: Give me a pie to show the total number from different card type code. ### Response:
SELECT card_type_code, COUNT(*) FROM Customers_Cards GROUP BY card_type_code
### Instruction: What is Driver, when Race 2 is 14? ### Response:
SELECT "Driver" FROM table_49952 WHERE "Race 2" = '14'
### Instruction: Who was the Away Captain at The Oval? ### Response:
SELECT "Away captain" FROM table_14726 WHERE "Venue" = 'the oval'
### Instruction: List the tournament that kent state won? ### Response:
SELECT "Conference Tournament" FROM table_26771 WHERE "Tournament Winner" = 'Kent State'
### Instruction: name the game site with the highest number of attendance . ### Response:
SELECT "game site" FROM table_204_443 ORDER BY "attendance" DESC LIMIT 1
### Instruction: what party is represented the most ? ### Response:
SELECT "party affiliation" FROM table_204_54 GROUP BY "party affiliation" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: What are the Odds for the Horse called Ready's Echo? ### Response:
SELECT odds FROM table_name_72 WHERE horse = "ready's echo"
### Instruction: Name of choice b. Randell is the name of which District Residence? ### Response:
SELECT district_residence FROM table_name_4 WHERE name = "choice b. randell"
### Instruction: What is the value for Gold, when the value for Bronze is less than 0? ### Response:
SELECT COUNT(gold) FROM table_name_31 WHERE bronze < 0
### Instruction: What is the country of the player with a score less than 68? ### Response:
SELECT "Country" FROM table_12471 WHERE "Score" < '68'
### Instruction: how many stations opened before 1926 ? ### Response:
SELECT COUNT("station") FROM table_203_839 WHERE "opened" < 1926
### Instruction: How many assists were made in the game against San Antonio? ### Response:
SELECT COUNT("High assists") FROM table_21548 WHERE "Team" = 'San Antonio'
### Instruction: Which CFL team drafted a pick from Boston College? ### Response:
SELECT "CFL Team" FROM table_51298 WHERE "College" = 'boston college'
### Instruction: What is the aircraft for 21 crews? ### Response:
SELECT "Type of aircraft" FROM table_26134 WHERE "Number of crews" = '21'
### Instruction: What is the Trofeo Fast Team when stage is 19? ### Response:
SELECT trofeo_fast_team FROM table_name_34 WHERE stage = "19"
### Instruction: What is the smallest crowd size for away team Fitzroy? ### Response:
SELECT MIN(crowd) FROM table_name_40 WHERE away_team = "fitzroy"
### Instruction: Which airport has an IATA code of AMS? ### Response:
SELECT "Airport" FROM table_35255 WHERE "Code (IATA)" = 'ams'
### Instruction: Give the proportion of what is the name of every city that has at least 15 stations and how many stations does it have? ### Response:
SELECT city, COUNT(*) FROM station GROUP BY city
### Instruction: Name the most extra points for right halfback ### Response:
SELECT MAX(extra_points) FROM table_14342480_5 WHERE position = "Right halfback"
### Instruction: List the name of all projects that are operated longer than the average working hours of all projects. ### Response:
SELECT name FROM projects WHERE hours > (SELECT AVG(hours) FROM projects)
### Instruction: What date had a time of 20:10? ### Response:
SELECT "Date" FROM table_58228 WHERE "Time" = '20:10'
### Instruction: How many entries are shown for first elected for district 41? ### Response:
SELECT COUNT("First Elected") FROM table_384 WHERE "District" = '41'
### Instruction: how many parishes are named st. anthony ? ### Response:
SELECT COUNT("name") FROM table_204_540 WHERE "name" = 'st. anthony'
### Instruction: what poll source had the largest sample size ? ### Response:
SELECT "poll source" FROM table_204_481 ORDER BY "sample\nsize" DESC LIMIT 1
### Instruction: what type of organization is sigma phi omega? ### Response:
SELECT "Type" FROM table_27627 WHERE "Organization" = 'Sigma Phi Omega'
### Instruction: What are the maximum and minimum number of transit passengers of all aiports. ### Response:
SELECT MAX(transit_passengers), MIN(transit_passengers) FROM airport
### Instruction: Which Byes have Losses smaller than 4? ### Response:
SELECT AVG("Byes") FROM table_64001 WHERE "Losses" < '4'
### Instruction: What's Salem State University's primary conference? ### Response:
SELECT "Primary Conference" FROM table_23263 WHERE "Institution" = 'Salem State University'
### Instruction: What college has Lance Moore Category:articles with hcards? ### Response:
SELECT college FROM table_name_94 WHERE player = "lance moore category:articles with hcards"
### Instruction: Who was the visiting team against the Minnesota Vikings? ### Response:
SELECT visiting_team FROM table_name_13 WHERE host_team = "minnesota vikings"
### Instruction: What is the highest loss with a long more than 61? ### Response:
SELECT MAX("Loss") FROM table_45486 WHERE "Long" > '61'
### Instruction: How many attended the game at Arden Street Oval? ### Response:
SELECT AVG(crowd) FROM table_name_86 WHERE venue = "arden street oval"
### Instruction: what is the other previous title of design of death ? ### Response:
SELECT "notes" FROM table_204_307 WHERE "english title" = 'design of death'
### Instruction: What rounds did Phoenix International Raceway host? ### Response:
SELECT rnd FROM table_22669816_1 WHERE track = "Phoenix International Raceway"
### Instruction: Which venue has h.paul 8/9 goals? ### Response:
SELECT venue FROM table_name_35 WHERE goals = "h.paul 8/9"
### Instruction: Create a bar chart showing the total number across team, sort from high to low by the y axis. ### Response:
SELECT Team, COUNT(*) FROM technician GROUP BY Team ORDER BY COUNT(*) DESC
### Instruction: What Series had 14 races and 12th position? ### Response:
SELECT series FROM table_name_11 WHERE races = 14 AND position = "12th"
### Instruction: What is the average rank for more than 12 points? ### Response:
SELECT AVG("Rank") FROM table_47586 WHERE "Points" > '12'
### Instruction: What is the team's record in games against the Hartford Whalers? ### Response:
SELECT record FROM table_name_52 WHERE opponent = "hartford whalers"
### Instruction: Loss of francis (4 10) happened on what date? ### Response:
SELECT date FROM table_name_71 WHERE loss = "francis (4–10)"
### Instruction: which position is listed the most on this chart ? ### Response:
SELECT "position" FROM table_204_450 GROUP BY "position" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: Number of questions with accepted answers.. ### Response:
SELECT COUNT(q.AcceptedAnswerId), COUNT(q.Id) FROM Posts AS q WHERE 1 = q.PostTypeId