instruction
stringlengths
57
490
output
stringlengths
69
1.29k
### Instruction: Who won volleyball when west holmes won basketball and wooster won swimming in 2011-12 ### Response:
SELECT "Volleyball" FROM table_20796 WHERE "Basketball" = 'West Holmes' AND "Swimming" = 'Wooster' AND "School Year" = '2011-12'
### Instruction: What is the 2009 when there's 11.8 in 2005 and less than 12.6 in 2006? ### Response:
SELECT MIN(2009) FROM table_name_45 WHERE 2005 = 11.8 AND 2006 < 12.6
### Instruction: is oregon route 69 newer than oregon route 90 ? ### Response:
SELECT (SELECT "formed" FROM table_204_178 WHERE "number" = 'oregon route 69') > (SELECT "formed" FROM table_204_178 WHERE "number" = 'oregon route 90')
### Instruction: What is the total number of winners when the team classification leader was Kelme-Costa Blanca and the combativity award was won by Jacky Durand? ### Response:
SELECT COUNT("Winner") FROM table_25228 WHERE "Team classification" = 'Kelme-Costa Blanca' AND "Combativity award" = 'Jacky Durand'
### Instruction: What is the average of credit value of courses with more than one prerequisite for each title? Return a bar chart, display Y in asc order. ### Response:
SELECT title, AVG(credits) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY title ORDER BY AVG(credits)
### Instruction: Name the total number of party for willis alston (j) 93.9% george e. spruill 6.1% ### Response:
SELECT COUNT(party) FROM table_2668243_18 WHERE candidates = "Willis Alston (J) 93.9% George E. Spruill 6.1%"
### Instruction: Which party has a first elected of 1966, qld as the state, and donald milner cameron as the member? ### Response:
SELECT "Party" FROM table_6781 WHERE "First elected" = '1966' AND "State" = 'qld' AND "Member" = 'donald milner cameron'
### Instruction: how many fewer maps were present between the 1986 and 1983 editions ? ### Response:
SELECT ABS((SELECT "maps" FROM table_204_843 WHERE "year" = 1986) - (SELECT "maps" FROM table_204_843 WHERE "year" = 1983))
### Instruction: What is the number of patients less than 79 years who had an other body fluid lab test done? ### Response:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "79" AND lab.fluid = "Other Body Fluid"
### Instruction: What are all the 100 m group (mm) with a .308 winchester cartridge type of .300 winchester magnum cartridge type ### Response:
SELECT "100 m group (mm)" FROM table_17502 WHERE ".308 Winchester cartridge type" = '.300 Winchester Magnum cartridge type'
### Instruction: What is the Tonnage that has builder AG Vulcan, and the original operator NDL, and the ship, Prinzess Irene? ### Response:
SELECT "Tonnage" FROM table_59613 WHERE "Builder" = 'ag vulcan' AND "Original Operator" = 'ndl' AND "Ship" = 'prinzess irene'
### Instruction: Can you tell me the total number of Played that has the Position larger than 5, and the Points of 11, and the Drawn smaller than 1? ### Response:
SELECT COUNT("Played") FROM table_48742 WHERE "Position" > '5' AND "Points" = '11' AND "Drawn" < '1'
### Instruction: What is the total series numbers that is directed by Jefferson Kibbee and has a production code of 2398191? ### Response:
SELECT SUM("No. in series") FROM table_56140 WHERE "Director" = 'jefferson kibbee' AND "Production code" = '2398191'
### Instruction: how many patients younger than 27 years have meropenem prescription? ### Response:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "27" AND prescriptions.drug = "Meropenem"
### Instruction: How many goals for where there when draws are less than 11, points of is 54+16 and goals against are less than 39? ### Response:
SELECT COUNT(goals_for) FROM table_name_66 WHERE draws < 11 AND points = "54+16" AND goals_against < 39
### Instruction: What is the sum of skin depth with a resistivity of 1.12 and a relative permeability larger than 1? ### Response:
SELECT SUM(skin_depth), _inches FROM table_name_30 WHERE resistivity__10_−6_ohm_inches_ = 1.12 AND relative_permeability > 1
### Instruction: which other team 's stadium has the same capacity as didcot town 's stadium ? ### Response:
SELECT "stadium" FROM table_204_750 WHERE "team" <> 'didcot town' AND "capacity" = (SELECT "capacity" FROM table_204_750 WHERE "team" = 'didcot town')
### Instruction: how many female patients have lidocaine 2% prescription? ### Response:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "F" AND prescriptions.drug = "Lidocaine 2%"
### Instruction: Which Number of households has a Median household income of $32,806, and a Population larger than 11,291? ### Response:
SELECT MAX("Number of households") FROM table_13013 WHERE "Median household income" = '$32,806' AND "Population" > '11,291'
### Instruction: among patients tested for blood gas, how many of them were aged below 59? ### Response:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "59" AND lab."CATEGORY" = "Blood Gas"
### Instruction: list airports in LOS ANGELES ### Response:
SELECT DISTINCT airport.airport_code FROM airport, airport_service, city WHERE airport.airport_code = airport_service.airport_code AND city.city_code = airport_service.city_code AND city.city_name = 'LOS ANGELES'
### Instruction: What is the total number for July with less than 8.05 in October, more than 4.46 in December, and more than 6.79 in November? ### Response:
SELECT COUNT(july) FROM table_name_12 WHERE october < 8.05 AND december > 4.46 AND november > 6.79
### Instruction: Return a bar chart showing the number of documents stored in each weekday, order from high to low by the total number. ### Response:
SELECT Date_Stored, COUNT(Date_Stored) FROM All_Documents AS T1 JOIN Ref_Calendar AS T2 ON T1.Date_Stored = T2.Calendar_Date ORDER BY COUNT(Date_Stored) DESC
### Instruction: Name the Partner which is in 1979, and Opponents in the final of heinz g nthardt bob hewitt? ### Response:
SELECT partner FROM table_name_68 WHERE date = 1979 AND opponents_in_the_final = "heinz günthardt bob hewitt"
### Instruction: List of all edits where edit summary contains given keyword. ### Response:
SELECT DISTINCT PostId AS "post_link", Comment, UserId AS "user_link", CreationDate, url = 'site://posts/' + CAST(PostId AS TEXT) + '/revisions' FROM PostHistory WHERE Comment LIKE '%##keyword##%' ORDER BY CreationDate
### Instruction: Which project made the most number of outcomes? List the project details and the project id. ### Response:
SELECT T1.project_details, T1.project_id FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007? ### Response:
SELECT result FROM table_name_39 WHERE year > 2007 AND runners_up = "seoul samsung thunders" AND champions = "jeonju kcc egis"
### Instruction: Tagged with submodule and git, but not git-submodule. ### Response:
SELECT Id AS "post_link", Tags FROM Posts WHERE PostTypeId = 1 AND (Tags LIKE '%<git>%<submodule>%' OR Tags LIKE '%<submodule>%<git>%') AND NOT Tags LIKE '%<git-submodule>%' ORDER BY Tags
### Instruction: How many 2008s have 6.9 as a 2006, with a 2007 less than 7.1? ### Response:
SELECT COUNT("2008") FROM table_61010 WHERE "2006" = '6.9' AND "2007" < '7.1'
### Instruction: what is the highest week when the date is october 6, 1975 and attendance is higher than 79,384? ### Response:
SELECT MAX("Week") FROM table_13493 WHERE "Date" = 'october 6, 1975' AND "Attendance" > '79,384'
### Instruction: Which city does staff with first name as Janessa and last name as Sawayn live? ### Response:
SELECT T1.city FROM addresses AS T1 JOIN staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn"
### Instruction: provide the number of patients who have been in the hospital for more than 29 days and whose discharge location was home health care. ### Response:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "HOME HEALTH CARE" AND demographic.days_stay > "29"
### Instruction: Which and how many tags have the questions I answered?. ### Response:
SELECT t.TagName, COUNT(t.TagName) AS Count FROM Tags AS t, PostTags AS pt, Posts AS p WHERE pt.PostId = p.ParentId AND pt.TagId = t.Id AND p.OwnerUserId = @UserId GROUP BY t.TagName ORDER BY Count DESC
### Instruction: How many crops were damaged when the public property damage was 1,03,049.60? ### Response:
SELECT "Crop Damaged (in Lakh INR )" FROM table_23711 WHERE "Public Property Damaged (in Lakh INR )" = '1,03,049.60'
### Instruction: Return a bar chart about the distribution of meter_200 and the sum of meter_100 , and group by attribute meter_200, display Y-axis in asc order. ### Response:
SELECT meter_200, SUM(meter_100) FROM swimmer GROUP BY meter_200 ORDER BY SUM(meter_100)
### Instruction: Return a bar chart showing how many members have visited for each college, sort from low to high by the X-axis. ### Response:
SELECT T1.Name, COUNT(T1.Name) FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID GROUP BY T1.Name ORDER BY T1.Name
### Instruction: Show the names of products and the number of events they are in, sorted by the number of events in descending order. ### Response:
SELECT T1.product_name, COUNT(*) FROM products AS T1 JOIN products_in_events AS T2 ON T1.product_id = T2.product_id GROUP BY T1.product_name ORDER BY COUNT(*) DESC
### Instruction: does m90 have a higher or lower apparent magnitude than m63 ? ### Response:
SELECT (SELECT "apparent magnitude" FROM table_203_569 WHERE "designation" = 'm90') > (SELECT "apparent magnitude" FROM table_203_569 WHERE "designation" = 'm63')
### Instruction: Which Population is the highest one that has an Altitude (mslm) smaller than 229, and an Area (km 2) larger than 32.7? ### Response:
SELECT MAX(population) FROM table_name_19 WHERE altitude__mslm_ < 229 AND area__km_2__ > 32.7
### Instruction: What is the weekly rank of the episode with a 14 share whose original airdate was April 20, 2010? ### Response:
SELECT weekly_rank FROM table_25391981_20 WHERE share = "14" AND original_airdate = "April 20, 2010"
### Instruction: what is the number of patients whose drug name is metformin (glucophage)? ### Response:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "MetFORMIN (Glucophage)"
### Instruction: Who was the lead with John Shuster as skip, Chris Plys in second, and Jeff Isaacson in third? ### Response:
SELECT "Lead" FROM table_77327 WHERE "Skip" = 'john shuster' AND "Third" = 'jeff isaacson' AND "Second" = 'chris plys'
### Instruction: who is the player for the position defence and the college/junior/club team is ottawa 67's (ohl)? ### Response:
SELECT "Player" FROM table_29006 WHERE "Position" = 'Defence' AND "College/junior/club team" = 'Ottawa 67''s (OHL)'
### Instruction: For those records from the products and each product's manufacturer, visualize a scatter chart about the correlation between code and price , and group by attribute headquarter. ### Response:
SELECT T1.Code, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter
### Instruction: Count the number of games taken place in park 'Columbia Park' in 1907. ### Response:
SELECT COUNT(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 1907 AND T2.park_name = 'Columbia Park'
### Instruction: Users accusing other users of plagiarism (double-sigh). ### Response:
SELECT c.PostId AS "post_link", c.Text FROM Comments AS c WHERE c.Text LIKE '%http%plagiari%e%http%' OR c.Text LIKE '%http%cop%http%' OR c.Text LIKE '%http%stole%http%'
### Instruction: how many patients have undergone venous catheterization procedure and are not classified elsewhere? ### Response:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Venous catheterization, not elsewhere classified"
### Instruction: What is the average number of laps with an accident time/retired, aprilia manufacturer and a grid of 27? ### Response:
SELECT AVG("Laps") FROM table_77257 WHERE "Time/Retired" = 'accident' AND "Manufacturer" = 'aprilia' AND "Grid" = '27'
### Instruction: If the event was bantamweight (-63kg), and the quarterfinals did not advance, then who was in round of 32? ### Response:
SELECT round_of_32 FROM table_26335424_86 WHERE quarterfinals = "Did not advance" AND event = "Bantamweight (-63kg)"
### Instruction: Which Rank has an Attendance larger than 24,102, and a Date of september 15, 2012? ### Response:
SELECT "Rank" FROM table_13873 WHERE "Attendance" > '24,102' AND "Date" = 'september 15, 2012'
### Instruction: For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of founder and the sum of revenue , and group by attribute founder. ### Response:
SELECT Founder, SUM(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
### Instruction: Who was the semi-final television commentator when the spokesperson was Colin Berry and the final television commentator was Pete Murray? ### Response:
SELECT "Semi-final television commentator" FROM table_21902 WHERE "Spokesperson" = 'Colin Berry' AND "Final television commentator" = 'Pete Murray'
### Instruction: What is the set 5 for the game with a set 2 of 21-25 and a set 1 of 41633? ### Response:
SELECT "Set 5" FROM table_75754 WHERE "Set 2" = '21-25' AND "Set 1" = '41633'
### Instruction: How many Ends Won have Blank Ends smaller than 14, and a Locale of manitoba, and Stolen Ends larger than 13? ### Response:
SELECT SUM(ends_won) FROM table_name_58 WHERE blank_ends < 14 AND locale = "manitoba" AND stolen_ends > 13
### Instruction: What mintage for the royal canadian mint engravers before 2008 that has an issue price of $102.95? ### Response:
SELECT mintage FROM table_name_98 WHERE artist = "royal canadian mint engravers" AND year < 2008 AND issue_price = "$102.95"
### Instruction: what was the difference in attendance between july 7 and july 8 ? ### Response:
SELECT ABS((SELECT "attendance" FROM table_203_336 WHERE "date" = 'july 7') - (SELECT "attendance" FROM table_203_336 WHERE "date" = 'july 8'))
### Instruction: How many total draws were there with a less than 8 loss, more than 30 points, and a goal diff larger than 26? ### Response:
SELECT COUNT("Draw") FROM table_33191 WHERE "Loss" < '8' AND "Point" > '30' AND "Goal Diff" > '26'
### Instruction: What is the notion when the crystal structure is tetragonal and the formula is bi 2 sr 2 cacu 2 o 8 ### Response:
SELECT notation FROM table_101336_1 WHERE crystal_structure = "Tetragonal" AND formula = "Bi 2 Sr 2 CaCu 2 O 8"
### Instruction: What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982? ### Response:
SELECT gross_revenue__2011_ FROM table_name_6 WHERE gross_revenue__1982_ = "$156,315"
### Instruction: how many of the female patients had icd9 code 4610? ### Response:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.icd9_code = "4610"
### Instruction: How many points have an Engine of ferrari tipo 033 v6 tc, and a Year larger than 1987? ### Response:
SELECT SUM("Pts.") FROM table_59158 WHERE "Engine" = 'ferrari tipo 033 v6 tc' AND "Year" > '1987'
### Instruction: How many movies about Iraq war were produced in 2015 ? ### Response:
SELECT COUNT(DISTINCT (movie.title)) FROM keyword, movie, tags WHERE keyword.keyword = 'Iraq war' AND movie.release_year = 2015 AND tags.kid = keyword.id AND tags.msid = movie.mid
### Instruction: What are my last five active tags?. ### Response:
SELECT TagName, LastActivityDate FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId WHERE Posts.OwnerUserId = @UserId GROUP BY TagName, LastActivityDate ORDER BY LastActivityDate DESC LIMIT 5
### Instruction: What is the 1st round with a 2nd round of 0 - 1, and team 1 sco angers (d1)? ### Response:
SELECT "1st round" FROM table_48483 WHERE "2nd round" = '0 - 1' AND "Team 1" = 'sco angers (d1)'
### Instruction: What is the average 2007 value for a 2006 of 2.8 and 2009 under 20? ### Response:
SELECT AVG("2007") FROM table_79288 WHERE "2009" < '20' AND "2006" = '2.8'
### Instruction: what counties had the least participants for the race ? ### Response:
SELECT "nationality" FROM table_204_849 GROUP BY "nationality" HAVING COUNT("name") = (SELECT COUNT("name") FROM table_204_849 GROUP BY "nationality" ORDER BY COUNT("name") LIMIT 1)
### Instruction: which Category has a Result of nominated, and a Lost to of jennifer westfeldt ( kissing jessica stein )? ### Response:
SELECT "Category" FROM table_64080 WHERE "Result" = 'nominated' AND "Lost to" = 'jennifer westfeldt ( kissing jessica stein )'
### Instruction: What is the lowest number of Golds that has Participants smaller than 14, and Rank of 1, and Total larger than 1? ### Response:
SELECT MIN("Gold") FROM table_35578 WHERE "Participants" < '14' AND "Rank" = '1' AND "Total" > '1'
### Instruction: What is the percentage democrats with democratic plurality of -3, and 2/5 democrat/republican? ### Response:
SELECT "Percentage Democrats" FROM table_52941 WHERE "Democratic seat plurality" = '-3' AND "Democratic/ Republican" = '2/5'
### Instruction: How much Latitude has a Water (sqmi) of 0.267, and an ANSI code larger than 1759605? ### Response:
SELECT SUM(latitude) FROM table_name_9 WHERE water__sqmi_ = 0.267 AND ansi_code > 1759605
### Instruction: What is Outcome, when Opponent is Victoria Azarenka, and when Score is 6 2, 2 6, 7 5? ### Response:
SELECT outcome FROM table_name_63 WHERE opponent = "victoria azarenka" AND score = "6–2, 2–6, 7–5"
### Instruction: What is the average pass def that has green bay packers as the team, 62 as the solo and sacks less than 2? ### Response:
SELECT AVG("Pass Def") FROM table_68108 WHERE "Team" = 'green bay packers' AND "Solo" = '62' AND "Sacks" < '2'
### Instruction: Can you return all detailed info of jobs which was done by any of the employees who is presently earning a salary on and above 12000? ### Response:
SELECT * FROM job_history AS T1 JOIN employees AS T2 ON T1.employee_id = T2.employee_id WHERE T2.salary >= 12000
### Instruction: Who was the General Classification awardee if Sergio Luis Henao was the winner and the Points Classification award was given to Sergio Luis Henao? ### Response:
SELECT "General classification" FROM table_30806 WHERE "Winner" = 'Sergio Luis Henao' AND "Points classification" = 'Sergio Luis Henao'
### Instruction: What is the lowest week that has 7:15 p.m. as the time (cst) and fedexfield as the game site? ### Response:
SELECT MIN("Week") FROM table_41825 WHERE "Time (CST)" = '7:15 p.m.' AND "Game site" = 'fedexfield'
### Instruction: Which Silver is the lowest one that has a Gold larger than 0, and a Rank of total, and a Bronze smaller than 32? ### Response:
SELECT MIN("Silver") FROM table_74949 WHERE "Gold" > '0' AND "Rank" = 'total' AND "Bronze" < '32'
### Instruction: How many gymnasts are from each hometown Plot them as bar chart, rank in asc by the total number please. ### Response:
SELECT Hometown, COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown ORDER BY COUNT(*)
### Instruction: which papers use WordNet or Dbpedia ? ### Response:
SELECT DISTINCT paper.paperid FROM dataset, paper, paperdataset WHERE dataset.datasetname IN ('WordNet', 'Dbpedia') AND paperdataset.datasetid = dataset.datasetid AND paper.paperid = paperdataset.paperid GROUP BY paper.paperid
### Instruction: how many more goals did he have in 2009 than 2005 ? ### Response:
SELECT (SELECT "goals" FROM table_203_34 WHERE "season" = 2009) - (SELECT "goals" FROM table_203_34 WHERE "season" = 2005)
### Instruction: Who won the women's singles before 1958 when dave f. mctaggart won the men's singles? ### Response:
SELECT "Women's singles" FROM table_69957 WHERE "Men's singles" = 'dave f. mctaggart' AND "Year" < '1958'
### Instruction: What was the rainfall by volume in Huetar Atlantico where the rainfall depth (mm/year) was 3527? ### Response:
SELECT "Rainfall by volume (km 3 /year)" FROM table_28221 WHERE "Rainfall by depth (mm/year)" = '3527'
### Instruction: What was the date of the Cubs game that had an attendance over 20,737 and a loss of Dawley (2-3)? ### Response:
SELECT "Date" FROM table_11296 WHERE "Attendance" > '20,737' AND "Loss" = 'dawley (2-3)'
### Instruction: What streak start has a total less than 79, 22t as the rank, and tampa bay as the teams? ### Response:
SELECT "Streak start" FROM table_5879 WHERE "Total" < '79' AND "Rank" = '22t' AND "Teams" = 'tampa bay'
### Instruction: Display a bar chart for what are the names of the technicians and how many machines are they assigned to repair?, rank names in desc order. ### Response:
SELECT Name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_id = T2.technician_id GROUP BY T2.Name ORDER BY Name DESC
### Instruction: provide the number of patients whose admission type is urgent and admission location is trsf within this facility? ### Response:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.admission_location = "TRSF WITHIN THIS FACILITY"
### Instruction: Which Number of electorates (2009) has a District of sheopur, and a Constituency number of 1? ### Response:
SELECT COUNT("Number of electorates (2009)") FROM table_14125 WHERE "District" = 'sheopur' AND "Constituency number" = '1'
### Instruction: tell me the number of patients who had pt lab test and are less than 59 years of age. ### Response:
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "59" AND lab.label = "PT"
### Instruction: How many tickets were sold / available for the venue that had a gross revenue of $333,100 in 2011? ### Response:
SELECT "Tickets Sold / Available" FROM table_69199 WHERE "Gross Revenue (2011)" = '$333,100'
### Instruction: let me know the type of admission and lab test category of patient with patient id 2560. ### Response:
SELECT demographic.admission_type, lab."CATEGORY" FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "2560"
### Instruction: What is the College/Junior/Club Team (League) when the position is rw, and the player is Don Murdoch? ### Response:
SELECT "College/Junior/Club Team (League)" FROM table_9199 WHERE "Position" = 'rw' AND "Player" = 'don murdoch'
### Instruction: where can we find some restaurants on bethel island rd in bethel island ? ### Response:
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'bethel island' AND location.street_name = 'bethel island rd' AND restaurant.id = location.restaurant_id
### Instruction: What is the smallest value for League Cup when the League number is greater than 1, no FA Cups, and Brian Deane scoring? ### Response:
SELECT MIN("League Cup") FROM table_52168 WHERE "League" > '1' AND "Name" = 'brian deane' AND "FA Cup" < '1'
### Instruction: What's the total grid for a Time/Retired of +1:03.741, and Laps larger than 44? ### Response:
SELECT COUNT("Grid") FROM table_51532 WHERE "Time/Retired" = '+1:03.741' AND "Laps" > '44'
### Instruction: What is the FCC info for the translator with frequency over 89.3MHz and licensd in Portales, New Mexico? ### Response:
SELECT "FCC info" FROM table_65522 WHERE "Frequency MHz" > '89.3' AND "City of license" = 'portales, new mexico'
### Instruction: Return a bar chart about the distribution of date_address_from and the average of monthly_rental , and group by attribute other_details and bin date_address_from by time. ### Response:
SELECT date_address_from, AVG(monthly_rental) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC
### Instruction: Name the high assists for madison square garden 19,763 and record is 39 38 ### Response:
SELECT high_assists FROM table_27713583_11 WHERE location_attendance = "Madison Square Garden 19,763" AND record = "39–38"
### Instruction: What is the result for partial thromboplastin time when prothrombin time and bleeding time are prolonged? ### Response:
SELECT "Partial thromboplastin time" FROM table_24819 WHERE "Prothrombin time" = 'Prolonged' AND "Bleeding time" = 'Prolonged'
### Instruction: What date has Vancouver Canucks as the original team, Ryan Kesler as the player, and matched as the Result? ### Response:
SELECT "Date" FROM table_70646 WHERE "Original Team" = 'vancouver canucks' AND "Result" = 'matched' AND "Player" = 'ryan kesler'
### Instruction: find long waiting suggested edits. ### Response:
SELECT CAST((JULIANDAY(COALESCE(ApprovalDate, RejectionDate, CreationDate)) - JULIANDAY(CreationDate)) AS INT) FROM SuggestedEdits WHERE NOT ApprovalDate IS NULL OR NOT RejectionDate IS NULL ORDER BY 1 DESC
### Instruction: Which Round was Player Adam Cracknell Picked after 231 in a Draft year after 1988? ### Response:
SELECT "Round" FROM table_55237 WHERE "Pick" > '231' AND "Draft" > '1988' AND "Player" = 'adam cracknell'