Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Contact No 9457788891 1 NULL ID Name Salary DepartmentID 1 JIJIN 10000 101 2 Mukesh 20000 102 3 Kunal 30000 103 4 Varun 20000 102
Contact No 9457788891 1 NULL ID Name Salary DepartmentID 1 JIJIN 10000 101 2 Mukesh 20000 102 3 Kunal 30000 103 4 Varun 20000 102 5 Mahesh 30000 105 9877888911 9857768691 NULL 1) Create an Employee Table as picture provided above 2) Insert the above records into the Employee table 3) Answer the questions based on the given Employee table: a) Provide the SQL command to display the Name, Contact No of employees whose salary is more than 20000 b) Provide the SQL command to display the Name and Departmentno of employees whose contactno is unavailable c) Provide the SQL command to display all details of employees who belongs to department 101 or 105 d) Provide the SQL command to display the total salary of employees working for the Department no 102. 4) Write the output of following SQL commands a) Select Max(Salary) from Employee Where DepartmentNo=102; b) Select Name, Contact No from Employee where Name='Kunal or Name='Varun 5) Design a database for University. Choose any one department like Registration, Course, Professor, Student, HR, Administration..... with necessary relations. And also mention the keys(if any)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started