Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

dept_no di emp_no 25348 10102 location Dallas emp_fname Matthew Ann dept_no d3 emp_lname Smith Jones d3 dl dept_name Research Accounting Marketing 18316 29346 Seattle d2

image text in transcribedimage text in transcribed

dept_no di emp_no 25348 10102 location Dallas emp_fname Matthew Ann dept_no d3 emp_lname Smith Jones d3 dl dept_name Research Accounting Marketing 18316 29346 Seattle d2 d2 d3 Dallas 2581 John James Elke Elsa Sybill Barrimore James Hansel Bertoni Moser d2 d2 9031 28559 dl Table 1-1 The department Table Table 1-2 The employee Table project_no emp_no 10102 budget 120000 project_no P1 project_name Apollo Gemini pl P3 p2 95000 10102 25348 P2 enter_date 2016.10.1 2018.1.1 2017.2.15 2017.6.1 2016.12.15 2017.10.15 p3 Mercury 186500 18316 job Analyst Manager Clerk NULL NULL Analyst Manager NULL P2 P2 Table 1-3 The project Table P3 29346 2581 9031 28559 P1 2017.4.15 2017.8.1 P1 28559 P2 Clerk Clerk 9031 P3 2018.2.1 2016.11.15 2017.1.4 29346 P1 Clerk Table 1-4 The works on Table 9. Find the employee numbers of all employees whose department is located in Seattle. 10. Find the last and first names of all employees who entered their projects on 04.01.2017 11. Group all departments using their locations. 12. What is a difference between the DISTINCT and GROUP BY clauses? 13. How does the GROUP BY clause manage the NULL values? Does it correspond to the general treatment of these values

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

More Books

Students also viewed these Databases questions