Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3: Write SQL Queries for following set of tables: EMPLOYEE (EmpNo, Name, DoB, Address, Gender, Salary, DNumber) DEPARTMENT (DNumber, Dname, EmpNo, Location). i) Display

image text in transcribed

Question 3: Write SQL Queries for following set of tables: EMPLOYEE (EmpNo, Name, DoB, Address, Gender, Salary, DNumber) DEPARTMENT (DNumber, Dname, EmpNo, Location). i) Display the Address of 'Female' employees who are born after 1990. ii) Display all employees in Department named Marketing and which is situated in Islamabad. iv) Display the department number of highest salary paid 'female' employee. Which employee is oldest in company? Display the name of department of all the employees whose salaries are greater than 60,000. v) (Hint: Both tables will join on the basis of DNumber)

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

More Books

Students also viewed these Databases questions

Question

5 The mechanics of the circular flow model.

Answered: 1 week ago

Question

1 The difference between a command system and a market system.

Answered: 1 week ago

Question

4 How the market system adjusts to change and promotes progress.

Answered: 1 week ago