instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What is the date of the games that saw a record of 43.66 m?
### Response:
| SELECT date FROM table_name_25 WHERE record = "43.66 m" |
### Instruction:
What is the name of the minister from the party of minister for community safety and legal affairs?
### Response:
| SELECT name FROM table_name_45 WHERE party = "minister for community safety and legal affairs" |
### Instruction:
What is the greatest B score when the A score was less than 6.5?
### Response:
| SELECT MAX(b_score) FROM table_name_4 WHERE a_score < 6.5 |
### Instruction:
Which Tie number was played on 9 January 1956?
### Response:
| SELECT tie_no FROM table_name_69 WHERE date = "9 january 1956" |
### Instruction:
Name the cyrillic name for melenci
### Response:
| SELECT "Cyrillic Name Other Names" FROM table_3334 WHERE "Settlement" = 'Melenci' |
### Instruction:
Visualize the general trend of the number of courses over the year, and show x-axis from high to low order.
### Response:
| SELECT year, COUNT(*) FROM section GROUP BY year ORDER BY year DESC |
### Instruction:
On which dates was the value of Bada 0.05%?
### Response:
| SELECT "Date" FROM table_16676 WHERE "Bada" = '0.05%' |
### Instruction:
How many times does the call sign XEZV appear?
### Response:
| SELECT COUNT("Transmitting from") FROM table_1088 WHERE "Call sign" = 'XEZV' |
### Instruction:
What is the lowest figure score when the free is 556?
### Response:
| SELECT MIN("Figures") FROM table_53977 WHERE "Free" = '556' |
### Instruction:
which country was the venue in the most number of times ?
### Response:
| SELECT "venue" FROM table_203_384 GROUP BY "venue" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
What is the average capacity for 150 suites?
### Response:
| SELECT AVG("Capacity") FROM table_70089 WHERE "Suites" = '150' |
### Instruction:
Users in the Greater Baltimore area.
### Response:
| SELECT Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%michigan%' ORDER BY Reputation DESC |
### Instruction:
What is the lowest amount of wins of someone who has 2 losses?
### Response:
| SELECT MIN("Wins") FROM table_58321 WHERE "Losses" = '2' |
### Instruction:
What is the latest first year with 0 total medals and over 0 golds?
### Response:
| SELECT MAX(first) FROM table_name_5 WHERE total > 0 AND gold > 0 |
### Instruction:
what position has a handicap of 10-2?
### Response:
| SELECT position FROM table_25429986_1 WHERE handicap = "10-2" |
### Instruction:
Who had an evening gown score of 9.78?
### Response:
| SELECT "Interview" FROM table_320 WHERE "Evening Gown" = '9.78' |
### Instruction:
On what day(s) did the Gophers play against Michigan?
### Response:
| SELECT "Date" FROM table_6709 WHERE "Opponent#" = 'michigan' |
### Instruction:
who is the mascot of the county 78 switzerland?
### Response:
| SELECT "Mascot" FROM table_63688 WHERE "County" = '78 switzerland' |
### Instruction:
What is the total number of stations with a line that is u 6?
### Response:
| SELECT SUM("Stations") FROM table_10679 WHERE "Line" = 'u 6' |
### Instruction:
When Cementarnica is team 2 what is the aggregate score?
### Response:
| SELECT "Agg." FROM table_12121 WHERE "Team 2" = 'cementarnica' |
### Instruction:
Which tennis team is from the United States?
### Response:
| SELECT team FROM table_name_55 WHERE sport = "tennis" AND nation_of_citizenship = "united states" |
### Instruction:
what's the actor with character being judge joseph ratner
### Response:
| SELECT "Actor" FROM table_72163 WHERE "Character" = 'Judge Joseph Ratner' |
### Instruction:
who directed 'grampires'(part 1)
### Response:
| SELECT "Directed by" FROM table_30993 WHERE "Title" = 'Grampires"(Part 1)' |
### Instruction:
What was the away team's score at Western Oval?
### Response:
| SELECT "Away team score" FROM table_52081 WHERE "Venue" = 'western oval' |
### Instruction:
What is the release date of Martial Law: Take Out?
### Response:
| SELECT "Release date" FROM table_74991 WHERE "Release title" = 'martial law: take out' |
### Instruction:
What is Try Diff, when Points Against is 213?
### Response:
| SELECT try_diff FROM table_name_42 WHERE points_against = "213" |
### Instruction:
Who was the Ole Miss player associated with Chuck Dicus?
### Response:
| SELECT "Ole Miss" FROM table_80220 WHERE "Arkansas" = 'chuck dicus' |
### Instruction:
who , of the years on this list , was the first team to win ?
### Response:
| SELECT "team" FROM table_204_129 ORDER BY "winning years" LIMIT 1 |
### Instruction:
what game had an attendance of 21,629
### Response:
| SELECT "Record" FROM table_37122 WHERE "Attendance" = '21,629' |
### Instruction:
On what date was the Result l 38-14?
### Response:
| SELECT "Date" FROM table_46886 WHERE "Result" = 'l 38-14' |
### Instruction:
Draw a pie chart to show all main industry and total market value in each industry.
### Response:
| SELECT Main_Industry, SUM(Market_Value) FROM company GROUP BY Main_Industry |
### Instruction:
What is the Name of the Player from Albuquerque, New Mexico?
### Response:
| SELECT name FROM table_name_69 WHERE hometown = "albuquerque, new mexico" |
### Instruction:
If collingwood is playing away, who played as the home team?
### Response:
| SELECT "Home team" FROM table_56742 WHERE "Away team" = 'collingwood' |
### Instruction:
How many draws for avia band with over 22 points?
### Response:
| SELECT COUNT(draw) FROM table_name_87 WHERE points > 22 AND artist = "avia band" |
### Instruction:
Name the population 2011 for luxembourg
### Response:
| SELECT "Population (2011)" FROM table_1789 WHERE "Country" = 'Luxembourg' |
### Instruction:
Call sign of k43hb-ld is what virtual channel?
### Response:
| SELECT virtual_channel FROM table_name_13 WHERE call_sign = "k43hb-ld" |
### Instruction:
How many games had a deficit of 175?
### Response:
| SELECT COUNT("played") FROM table_73018 WHERE "against" = '175' |
### Instruction:
Who played men's doubles in 2012?
### Response:
| SELECT "Men's Doubles" FROM table_31785 WHERE "Year" = '2012' |
### Instruction:
What is the away team for the home team wigan athletic?
### Response:
| SELECT "Away team" FROM table_47299 WHERE "Home team" = 'wigan athletic' |
### Instruction:
What tournament since 1973 has a result of 1st?
### Response:
| SELECT tournament FROM table_name_66 WHERE result = "1st" AND year > 1973 |
### Instruction:
What was the earliest week when the New Orleans Saints were the opponents?
### Response:
| SELECT MIN(week) FROM table_name_31 WHERE opponent = "new orleans saints" |
### Instruction:
Which Set 2 has a Set 3 of 20 25?
### Response:
| SELECT set_2 FROM table_name_70 WHERE set_3 = "20–25" |
### Instruction:
in what album did the toadies ' song mister love appear ?
### Response:
| SELECT "album" FROM table_203_751 WHERE "title" = '"mister love"' |
### Instruction:
who shot the most at 91 m
### Response:
| SELECT "round" FROM table_204_234 ORDER BY "100 yd (91 m)" DESC LIMIT 1 |
### Instruction:
What is the Week of the game with a Result of w 48 20?
### Response:
| SELECT week FROM table_name_58 WHERE result = "w 48–20" |
### Instruction:
What is the land area of Hopewell parish in km2?
### Response:
| SELECT "Area km 2" FROM table_21285 WHERE "Official Name" = 'Hopewell' |
### Instruction:
How many dismissals did the player Peter McGlashan have?
### Response:
| SELECT "Dismissals" FROM table_72352 WHERE "Player" = 'Peter McGlashan' |
### Instruction:
What is the State with a home venue of suwon sports complex?
### Response:
| SELECT "State" FROM table_41289 WHERE "Home venue" = 'suwon sports complex' |
### Instruction:
What is the number of the player who attended Delta State?
### Response:
| SELECT MAX("No.") FROM table_20200 WHERE "School/Club Team" = 'Delta State' |
### Instruction:
In the 1958-59 season, what league did the team play in?
### Response:
| SELECT league FROM table_name_7 WHERE season = "1958-59" |
### Instruction:
Who was the incumbent in 1940?
### Response:
| SELECT "Incumbent" FROM table_18372 WHERE "First elected" = '1940' |
### Instruction:
Who directed when the production code is 1.02?
### Response:
| SELECT "Directed by" FROM table_24866 WHERE "Production code" = '1.02' |
### Instruction:
What is the lowest brup when long is 94?
### Response:
| SELECT MIN(brup) FROM table_26176081_29 WHERE long = 94 |
### Instruction:
When 12 is the season number how many series numbers are there?
### Response:
| SELECT COUNT("Series #") FROM table_27968 WHERE "Season #" = '12' |
### Instruction:
Return a bar chart on what is the average age for each gender?, and sort X in descending order please.
### Response:
| SELECT gender, AVG(age) FROM Person GROUP BY gender ORDER BY gender DESC |
### Instruction:
Which venue hosted the Gridiron Development Football League?
### Response:
| SELECT "Venue" FROM table_76702 WHERE "League" = 'gridiron development football league' |
### Instruction:
Who was the runner-up when the margin was 1 stroke?
### Response:
| SELECT "Runner(s)-up" FROM table_80301 WHERE "Margin" = '1 stroke' |
### Instruction:
Which Round has a Position of lb, and a Pick smaller than 25?
### Response:
| SELECT COUNT(round) FROM table_name_3 WHERE position = "lb" AND pick < 25 |
### Instruction:
What is the earliest date of taking office for district 22?
### Response:
| SELECT MIN("Took Office") FROM table_45275 WHERE "District" = '22' |
### Instruction:
What is the Record with a Date with 24 march 2008?
### Response:
| SELECT record FROM table_name_47 WHERE date = "24 march 2008" |
### Instruction:
papers written by oren etzioni
### Response:
| SELECT DISTINCT writes.paperid FROM author, writes WHERE author.authorname = 'oren etzioni' AND writes.authorid = author.authorid |
### Instruction:
Which Commenced operations have an Airline of valuair?
### Response:
| SELECT MAX("Commenced operations") FROM table_63851 WHERE "Airline" = 'valuair' |
### Instruction:
Name the manager for playoffs of missed for 1999
### Response:
| SELECT manager FROM table_name_45 WHERE playoffs = "missed" AND year = "1999" |
### Instruction:
Which Game has an Opponent of @ houston rockets?
### Response:
| SELECT MIN(game) FROM table_name_22 WHERE opponent = "@ houston rockets" |
### Instruction:
Draw a pie chart for how many rooms have king beds? Report the number for each decor type.
### Response:
| SELECT decor, COUNT(*) FROM Rooms WHERE bedType = "King" GROUP BY decor |
### Instruction:
how long has internacional de madrid cf been playing in the 3 division ?
### Response:
| SELECT COUNT(*) FROM table_203_783 WHERE "division" = '3a' |
### Instruction:
what is the county when the year left is 1998?
### Response:
| SELECT "County" FROM table_64078 WHERE "Year Left" = '1998' |
### Instruction:
What is the Height that has a year born before 1977
### Response:
| SELECT COUNT("Height") FROM table_70911 WHERE "Year born" < '1977' |
### Instruction:
What result has texas longhorns as the opponent?
### Response:
| SELECT "Result" FROM table_39764 WHERE "Opponent" = 'texas longhorns' |
### Instruction:
At which stadiums was attendance total 79176?
### Response:
| SELECT "Game Site" FROM table_1401 WHERE "Attendance" = '79176' |
### Instruction:
What day was the attendance 74,285?
### Response:
| SELECT "Date" FROM table_78566 WHERE "Attendance" = '74,285' |
### Instruction:
What is the lowest round of player chris burkett?
### Response:
| SELECT MIN("Round") FROM table_46762 WHERE "Player" = 'chris burkett' |
### Instruction:
Which years have a Decile larger than 4, and an Area of thames?
### Response:
| SELECT years FROM table_name_55 WHERE decile > 4 AND area = "thames" |
### Instruction:
What is the total number of Points- when the Sets- is larger than 51?
### Response:
| SELECT COUNT(points_) FROM table_name_56 WHERE sets_ > 51 |
### Instruction:
when was antonio horvath kiss last elected ?
### Response:
| SELECT "last elected" FROM table_203_447 WHERE "name" = 'antonio horvath kiss' |
### Instruction:
find the drug type of cephalexin.
### Response:
| SELECT prescriptions.drug_type FROM prescriptions WHERE prescriptions.drug = "Cephalexin" |
### Instruction:
Which nationality is the player from the Philadelphia Flyers?
### Response:
| SELECT "Nationality" FROM table_19543 WHERE "NHL team" = 'Philadelphia Flyers' |
### Instruction:
Where was the quake that began at 14:07?
### Response:
| SELECT "Location" FROM table_27963 WHERE "Origin time" = '14:07' |
### Instruction:
When the number of wickets is 29, what was the economy?
### Response:
| SELECT economy FROM table_28797906_3 WHERE wickets = 29 |
### Instruction:
Where did Ben Gordon (8) have the high assists?
### Response:
| SELECT "Location Attendance" FROM table_8148 WHERE "High assists" = 'ben gordon (8)' |
### Instruction:
Visualize a bar chart for how films are produced by each studio?, I want to display in descending by the Y.
### Response:
| SELECT Studio, COUNT(*) FROM film GROUP BY Studio ORDER BY COUNT(*) DESC |
### Instruction:
How many rooms whose capacity is less than 50 does the Lamberton building have?
### Response:
| SELECT COUNT(*) FROM classroom WHERE building = 'Lamberton' AND capacity < 50 |
### Instruction:
what is the points when the club blaengarw rfc?
### Response:
| SELECT "Points" FROM table_76350 WHERE "Club" = 'blaengarw rfc' |
### Instruction:
How many venues had a race called the Australia Stakes?
### Response:
| SELECT COUNT("Venue") FROM table_19756 WHERE "Race" = 'Australia Stakes' |
### Instruction:
What date did 'd.a.w.' Originally air?
### Response:
| SELECT "Original air date" FROM table_73844 WHERE "Title" = 'D.A.W.' |
### Instruction:
What is the type of Kuang-Hsing?
### Response:
| SELECT "Type" FROM table_62899 WHERE "Name (Wade Giles)" = 'kuang-hsing' |
### Instruction:
When galaxy angel aa was the title was the us release date?
### Response:
| SELECT "US Release Date" FROM table_1628 WHERE "Title" = 'Galaxy Angel AA' |
### Instruction:
Which venue was used 11 february 1996?
### Response:
| SELECT venue FROM table_name_45 WHERE date = "11 february 1996" |
### Instruction:
Who was the away captain at Brisbane Cricket Ground?
### Response:
| SELECT away_captain FROM table_name_34 WHERE venue = "brisbane cricket ground" |
### Instruction:
where is the district where the incumbent is del latta?
### Response:
| SELECT "District" FROM table_18274 WHERE "Incumbent" = 'Del Latta' |
### Instruction:
Number of posts by deleted users.
### Response:
| SELECT OwnerDisplayName, COUNT(Id) FROM Posts WHERE OwnerUserId IS NULL GROUP BY OwnerDisplayName ORDER BY COUNT(Id) DESC |
### Instruction:
What week had attendance of 48,667?
### Response:
| SELECT COUNT(week) FROM table_name_59 WHERE attendance = 48 OFFSET 667 |
### Instruction:
Who is the director when the writter is Andrea Newman?
### Response:
| SELECT "Directed by" FROM table_27195 WHERE "Written by" = 'Andrea Newman' |
### Instruction:
what is procedure long title of procedure icd9 code 9955?
### Response:
| SELECT procedures.long_title FROM procedures WHERE procedures.icd9_code = "9955" |
### Instruction:
Which Total has a Set 2 of 19 25?
### Response:
| SELECT "Total" FROM table_5903 WHERE "Set 2" = '19–25' |
### Instruction:
What was the location of the club where the home ground is wilfred taylor reserve?
### Response:
| SELECT location FROM table_name_80 WHERE home_ground = "wilfred taylor reserve" |
### Instruction:
Find all types of store and number of them Visualize by bar chart, rank by the y axis in descending please.
### Response:
| SELECT Type, COUNT(*) FROM store GROUP BY Type ORDER BY COUNT(*) DESC |
### Instruction:
what is discharge time of subject id 16438?
### Response:
| SELECT demographic.dischtime FROM demographic WHERE demographic.subject_id = "16438" |
### Instruction:
polycytaemia ( hct > 52 % ) at randomization
### Response:
| SELECT * FROM table_test_18 WHERE polycytaemia = 1 OR hct > 52 |
### Instruction:
What is the all home when all games percentage is .484?
### Response:
| SELECT "All Home" FROM table_20695 WHERE "All Games %" = '.484' |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.