Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Retrieve last name and SSN of employees whose birthday is in June. 2) List first name, last name and salary of employees whose salary

image text in transcribed

1) Retrieve last name and SSN of employees whose birthday is in June.

2) List first name, last name and salary of employees whose salary is greater than the salary of any employee in department 5.

3) Show the resulting salaries if every employee working on the ProductY project with a salary between $20000 and $45000 is given a 20% raise.

4) Retrieve SSNs of all male employees who work on project numbers 1, 2, or 3.

5) For each project on which more than two employees work, retrieve project number, project name, and the average salary of employees who work on the project.

Nanartmant Dependent Dept_locations. Employee Works_on

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

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions