Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please depending on the tables information I need the answers for view.... in SQL language Thank You. Create Works ON Table: ESSN: Employee Social Security

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Please depending on the tables information I need the answers for "view".... in SQL language Thank You.

Create Works ON Table: ESSN: Employee Social Security Number (Primary key) + (Foreign Key) PNO: Project Number (Primary Key) + (Foreign Key) HOURS: Project Working Hours Create Project Table: PNAME: Project Name PNUMBER: Project Number (Primary key) PLOCATION: Project Location DNUM: Department Number which Project belongs to (Foreign Key) O Create Department Table: DNAME: Department Name DNUMBER: Department Number (Primary Key) DLOCATION: Department Location MGRSSN: Manager Social Security Number (Foreign Key) MGRSTARTDATE: Manager Work Start Date Create new Database named: Company Create Employee Table: FNAME: First Name LNAME: Last Name SSN: Social Security Number (Primary key) BDATE: Birth Date ADDRESS: Employee's Address Gender: F (Female) OR M (Male) SALARY SUPERSSN: Emplyee's Supervisor SSN DNO: No. of the Department the Emp. Works in (Foreign Key) 9. View the names and numbers of all departments located in Dammam or Dharan. 10- View the names of all projects which hours is greater than 20. 11- View all employees whose first names contain the letter a as the second character. 12- View employee number of all employee who the birth date in 1958. 1 13- View all project number who their location begin with letters K or R

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

Lab Manual For Database Development

Authors: Rachelle Reese

1st Custom Edition

1256741736, 978-1256741732

More Books

Students also viewed these Databases questions

Question

=+ What topics are contained in the contracts?

Answered: 1 week ago

Question

=+Are they specific or general in nature?

Answered: 1 week ago