instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: which competition occurred the most ? ### Response:
SELECT "competition" FROM table_203_835 GROUP BY "competition" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: Can you tell me the highest Points that has the Played smaller than 30? ### Response:
SELECT MAX(points) FROM table_name_67 WHERE played < 30
### Instruction: How many records are there at the War Memorial Stadium? ### Response:
SELECT COUNT("Record") FROM table_16222 WHERE "Stadium" = 'War Memorial Stadium'
### Instruction: Name the date successor seated for successor being vacant ### Response:
SELECT "Date successor seated" FROM table_26638 WHERE "Successor" = 'Vacant'
### Instruction: Which Laid down has a Ship of fearless? ### Response:
SELECT "Laid down" FROM table_67044 WHERE "Ship" = 'fearless'
### Instruction: Who's average is 24.8? ### Response:
SELECT "Player" FROM table_21157 WHERE "KR Avg." = '24.8'
### Instruction: What was the budget for 'Thirteen Ghosts'? ### Response:
SELECT budget FROM table_2203760_4 WHERE film = "Thirteen Ghosts"
### Instruction: Which college has any student who is a goalie and succeeded in the tryout. ### Response:
SELECT cName FROM tryout WHERE decision = 'yes' AND pPos = 'goalie'
### Instruction: What Persian word has the same meaning as the Domari word na? ### Response:
SELECT "Persian" FROM table_15131 WHERE "Domari" = 'na'
### Instruction: Who was the highest drafted player that attended college at Virginia? ### Response:
SELECT MAX("Pick") FROM table_7903 WHERE "College" = 'virginia'
### Instruction: What is the rating of episode 1.04? ### Response:
SELECT "Rating" FROM table_30447 WHERE "Episode" = '1.04'
### Instruction: Who directed episode number 23 in the season? ### Response:
SELECT directed_by FROM table_27832075_2 WHERE episode__number = "23"
### Instruction: When is the earliest year that there's a judd engine? ### Response:
SELECT MIN("Year") FROM table_39469 WHERE "Engine" = 'judd'
### Instruction: how many changes incolved pattaya united ? ### Response:
SELECT COUNT(*) FROM table_204_805 WHERE "club" = 'pattaya united'
### Instruction: What is the indoor number for the NER region? ### Response:
SELECT COUNT(indoor) FROM table_19534874_2 WHERE region = "NER"
### Instruction: what is the result for 11 august 2010? ### Response:
SELECT result FROM table_name_94 WHERE date = "11 august 2010"
### Instruction: What was the venue where there were 62 runs? ### Response:
SELECT "Venue" FROM table_36331 WHERE "Runs" = '62'
### Instruction: which teams at most have 4 players ? ### Response:
SELECT "team" FROM table_204_93 GROUP BY "team" HAVING COUNT("player") <= 4
### Instruction: What school did Dwight Howard play for ### Response:
SELECT school_club_team FROM table_15621965_8 WHERE player = "Dwight Howard"
### Instruction: What date was the 1500 m freestyle competition? ### Response:
SELECT date FROM table_name_97 WHERE event = "1500 m freestyle"
### Instruction: Which number belonged to the school team from Arizona? ### Response:
SELECT no FROM table_15621965_17 WHERE school_club_team = "Arizona"
### Instruction: What is the name origin of Nike Fossae? ### Response:
SELECT "Name origin" FROM table_21072 WHERE "Name" = 'Nike Fossae'
### Instruction: What is the total for set 2 of 25-19? ### Response:
SELECT total FROM table_name_55 WHERE set_2 = "25-19"
### Instruction: How many Against has Byes smaller than 2? ### Response:
SELECT AVG("Against") FROM table_75700 WHERE "Byes" < '2'
### Instruction: What is every league for coach Jim Burton? ### Response:
SELECT "League" FROM table_22658 WHERE "Coach(es)" = 'Jim Burton'
### Instruction: Who was the Home team at the Western Oval location? ### Response:
SELECT "Home team" FROM table_58234 WHERE "Venue" = 'western oval'
### Instruction: What is the sum of Round, when College is 'Norfolk State'? ### Response:
SELECT SUM(round) FROM table_name_32 WHERE college = "norfolk state"
### Instruction: Bar chart x axis country y axis the total number, list total number from high to low order. ### Response:
SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country ORDER BY COUNT(*) DESC
### Instruction: Which IHSAA class does speedway school belong to? ### Response:
SELECT "IHSAA Class" FROM table_14228 WHERE "School" = 'speedway'
### Instruction: Name the finish for a 39-31 record ### Response:
SELECT "Finish" FROM table_55805 WHERE "Record" = '39-31'
### Instruction: Bar graph to show the total number from different formats, order in descending by the y-axis please. ### Response:
SELECT formats, COUNT(*) FROM files GROUP BY formats ORDER BY COUNT(*) DESC
### Instruction: What is the total time of the vehicle having a navigator of Vandenberg? ### Response:
SELECT total_time FROM table_name_79 WHERE navigator = "vandenberg"
### Instruction: The draft pick that was taken before round 4 went to what college? ### Response:
SELECT "College" FROM table_46804 WHERE "Round" < '4'
### Instruction: What label has RTRADLP 346 as catalogue? ### Response:
SELECT label FROM table_name_90 WHERE catalogue = "rtradlp 346"
### Instruction: Was there a starter when 3 touchdowns were scored? ### Response:
SELECT starter FROM table_14342592_7 WHERE touchdowns = 3
### Instruction: What team got a draft pick player from McGill? ### Response:
SELECT cfl_team FROM table_25085059_3 WHERE college = "McGill"
### Instruction: Who was the finalist in the Monte Carlo Tournament? ### Response:
SELECT "Finalist" FROM table_44689 WHERE "Tournament" = 'monte carlo'
### Instruction: Which source date has an Internet Explorer usage of 60.2%? ### Response:
SELECT source FROM table_name_52 WHERE internet_explorer = "60.2%"
### Instruction: Who was South Melbourne's away team opponent? ### Response:
SELECT "Away team" FROM table_52190 WHERE "Home team" = 'south melbourne'
### Instruction: how many races took place in new south wales ? ### Response:
SELECT COUNT(*) FROM table_203_271 WHERE "city / state" = 'new south wales'
### Instruction: What was the away team for the match at Punt Road Oval? ### Response:
SELECT away_team FROM table_name_39 WHERE venue = "punt road oval"
### Instruction: Who is the away captain for Kingsmead? ### Response:
SELECT "Away captain" FROM table_79976 WHERE "Venue" = 'kingsmead'
### Instruction: What was the name of the leader whose term ended in 2013? ### Response:
SELECT name FROM table_name_49 WHERE term_end = "2013"
### Instruction: What average week number had the Chicago bears as the opponent? ### Response:
SELECT AVG(week) FROM table_name_58 WHERE opponent = "chicago bears"
### Instruction: How much did Universal Studio's film Xanadu gross? ### Response:
SELECT gross FROM table_name_79 WHERE studio = "universal" AND title = "xanadu"
### Instruction: Show me about the distribution of meter_300 and meter_100 in a bar chart. ### Response:
SELECT meter_300, meter_100 FROM swimmer
### Instruction: what year is the first appearance of the platform ps1 ? ### Response:
SELECT MIN("year") FROM table_204_121 WHERE "platform" = 'ps1'
### Instruction: When the Attendance was 4,516, what was the Record? ### Response:
SELECT record FROM table_name_72 WHERE attendance = "4,516"
### Instruction: Which Partner is on 22 april 2002? ### Response:
SELECT partner FROM table_name_35 WHERE date = "22 april 2002"
### Instruction: Name the margin for 4 shot deficit ### Response:
SELECT "Margin" FROM table_25148 WHERE "54 holes" = '4 shot deficit'
### Instruction: Which game is on the date October 16? ### Response:
SELECT AVG("Game") FROM table_71445 WHERE "Date" = 'october 16'
### Instruction: Who was the high point scorer in game number 68? ### Response:
SELECT high_points FROM table_15869204_8 WHERE game = 68
### Instruction: Who was the home team when the opposition was Buller? ### Response:
SELECT home_team FROM table_26847237_1 WHERE opposition = "Buller"
### Instruction: What are Perkins Engineering's fewest laps? ### Response:
SELECT MIN("Laps") FROM table_60964 WHERE "Team" = 'perkins engineering'
### Instruction: WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY? ### Response:
SELECT moving_to FROM table_name_27 WHERE country = "bel"
### Instruction: What prerequisites are advised for Latin American Society and Culture ? ### Response:
SELECT DISTINCT advisory_requirement FROM course WHERE name LIKE '%Latin American Society and Culture%'
### Instruction: What was the score of the game when the record was 35-47? ### Response:
SELECT score FROM table_name_76 WHERE record = "35-47"
### Instruction: What is the episode title of the episode with Ben Okri as the presenter? ### Response:
SELECT episode_title FROM table_name_74 WHERE presenter = "ben okri"
### Instruction: What is the province for Jamao Afuera? ### Response:
SELECT province, _community FROM table_name_13 WHERE hometown = "jamao afuera"
### Instruction: What is the ground of the Geelong Away team? ### Response:
SELECT "Ground" FROM table_7790 WHERE "Away team" = 'geelong'
### Instruction: What was the score of the game on June 28? ### Response:
SELECT "Score" FROM table_11445 WHERE "Date" = 'june 28'
### Instruction: Name the least date for the place which has a building of victoria hall ### Response:
SELECT MIN(date) FROM table_name_37 WHERE building = "victoria hall"
### Instruction: what state came in last in the evening gown competition ? ### Response:
SELECT "state" FROM table_203_523 ORDER BY "evening gown" LIMIT 1
### Instruction: What are Doug Davis' maximum pitching stats? ### Response:
SELECT MAX(stats) FROM table_19839391_3 WHERE pitcher = "Doug Davis"
### Instruction: What is the Thai name for the word abbreviated . .? ### Response:
SELECT thai_name FROM table_name_75 WHERE abbr = "มี.ค."
### Instruction: Which report is for Townsville Entertainment Centre? ### Response:
SELECT "Report" FROM table_49866 WHERE "Venue" = 'townsville entertainment centre'
### Instruction: What is the Year named of the Ganga Valles? ### Response:
SELECT MAX("Year named") FROM table_48665 WHERE "Name" = 'ganga valles'
### Instruction: What is the highest Season, when Super G is 19? ### Response:
SELECT MAX("Season") FROM table_7718 WHERE "Super G" = '19'
### Instruction: Name the date for w 31-28 ### Response:
SELECT "Date" FROM table_14351 WHERE "Result" = 'w 31-28'
### Instruction: What is the total Until when the Titles was 5? ### Response:
SELECT SUM("Until") FROM table_55590 WHERE "Titles" = '5'
### Instruction: How many people attended the match on 1/11? ### Response:
SELECT "Attendance" FROM table_10449 WHERE "Date" = '1/11'
### Instruction: Who is every high points for the Pistons team? ### Response:
SELECT high_points FROM table_23248910_9 WHERE team = "Pistons"
### Instruction: How many attended the game on April 17? ### Response:
SELECT SUM("Attendance") FROM table_58594 WHERE "Date" = 'april 17'
### Instruction: How much does Point Barrow weight? ### Response:
SELECT weight__st, _lb_ FROM table_20095300_1 WHERE name = "Point Barrow"
### Instruction: The EECS 445 class is how many credits ? ### Response:
SELECT DISTINCT credits FROM course WHERE department = 'EECS' AND number = 445
### Instruction: Which is the Authority that has a Roll of 70? ### Response:
SELECT "Authority" FROM table_67485 WHERE "Roll" = '70'
### Instruction: Name the highest game for west (8) high assists ### Response:
SELECT MAX("Game") FROM table_53701 WHERE "High assists" = 'west (8)'
### Instruction: pregnant, or parturient or breast _ feeding female; ### Response:
SELECT * FROM table_dev_61 WHERE pregnancy_or_lactation = 1
### Instruction: For the total of 288 what was the to par? ### Response:
SELECT "To par" FROM table_12950 WHERE "Total" = '288'
### Instruction: how many schools left in 1960 ? ### Response:
SELECT COUNT("high school") FROM table_203_591 WHERE "left" = 1960
### Instruction: What percentage did McCain get in Hamilton county? ### Response:
SELECT "McCain%" FROM table_23932 WHERE "County" = 'HAMILTON'
### Instruction: What is Total, when Player is 'Hale Irwin'? ### Response:
SELECT "Total" FROM table_46655 WHERE "Player" = 'hale irwin'
### Instruction: What is the average pick for clarence mason? ### Response:
SELECT AVG("Pick") FROM table_37752 WHERE "Player" = 'clarence mason'
### Instruction: What was the preliminary average for Miss Mississippi? ### Response:
SELECT "Preliminary Average" FROM table_20675 WHERE "State" = 'Mississippi'
### Instruction: what was the only year that a competition was held in china ? ### Response:
SELECT "year" FROM table_203_734 WHERE "venue" = 'china'
### Instruction: What is the highest rank of a player from Ethiopia? ### Response:
SELECT MAX("Rank") FROM table_41837 WHERE "Country" = 'ethiopia'
### Instruction: What conference was the churchill chargers team in? ### Response:
SELECT conference FROM table_11094950_1 WHERE team = "Churchill Chargers"
### Instruction: How many drivers won the Italian Grand Prix? ### Response:
SELECT COUNT("Winning Driver") FROM table_72171 WHERE "Grand Prix" = 'Italian Grand Prix'
### Instruction: What is the name of the country when the television service is italia 1? ### Response:
SELECT country FROM table_name_95 WHERE television_service = "italia 1"
### Instruction: Which category has a team of Cannondale Vredestein? ### Response:
SELECT category FROM table_name_28 WHERE team = "cannondale vredestein"
### Instruction: When did the Theme of bobsleigh release? ### Response:
SELECT "Date of Issue" FROM table_70084 WHERE "Theme" = 'bobsleigh'
### Instruction: Show order ids and the total quantity in each order. Visualize by scatter chart. ### Response:
SELECT order_id, SUM(product_quantity) FROM Order_Items GROUP BY order_id
### Instruction: List the number of goals scored to equal 58. ### Response:
SELECT MIN("Goals conceded") FROM table_1794 WHERE "Points" = '58'
### Instruction: How many season premiers have a rank of #21? ### Response:
SELECT season AS premiere FROM table_10819266_8 WHERE rank = "#21"
### Instruction: When western carolina university is the school what is the control? ### Response:
SELECT "Control" FROM table_2324 WHERE "School" = 'Western Carolina University'
### Instruction: What are the candidates for new york 35? ### Response:
SELECT candidates FROM table_1342233_32 WHERE district = "New York 35"
### Instruction: Which nation finished with a time of 47.049? ### Response:
SELECT nation FROM table_name_56 WHERE time__sec_ = 47.049
### Instruction: Which To par has a Player of bernhard langer? ### Response:
SELECT "To par" FROM table_62061 WHERE "Player" = 'bernhard langer'
### Instruction: Name the written by for john trefor ### Response:
SELECT "Written by" FROM table_26736 WHERE "Directed by" = 'John Trefor'
### Instruction: what is the mascot when the school is warsaw? ### Response:
SELECT "Mascot" FROM table_64076 WHERE "School" = 'warsaw'