MySQL Forums
Forum List  »  Newbie

Re: Problems with a query
Posted by: Space Enterprises
Date: July 27, 2016 06:22AM

SELECT titles.title, departments.dept_name, employees.hire_date, COUNT(*) AS number_of_employees

FROM titles

JOIN offices ON titles.title

JOIN workers ON titles.title

WHERE hire_date BETWEEN '1995-01-01' and '2005-01-01'

Bunch BY title, dept_name, hire_date;

Options: ReplyQuote


Subject
Written By
Posted
July 26, 2016 04:09PM
July 26, 2016 11:21PM
Re: Problems with a query
July 27, 2016 06:22AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.