Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
254 views
in Database Management System by (30.5k points)
closed by

The schema of a table is EMPLOYEE(emp_code, emp_name, designation, salary).

Write down the relational expressions for the following: 

1. To get the name and designation of all employees. 

2. To get the details of employees whose salary is above 25000. 

3. To get the names of employees who designation is Manager. 

4. To get the details of Managers with salary less than 25000.

1 Answer

+1 vote
by (30.4k points)
selected by
 
Best answer

1. πname, designation (EMPLOYEE)

2. σsalary>25000 (EMLOYEE)

3. πname(σdesignation=”Manager" (EMPLOYEE))

4. σdesignation = “Manager” and salary < 25000 (EMLOYEE).

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

...