Consider the employee relation in the screenshot provided   and answer the questions that follow. i. Write a query to display the names and salaries of employees who earn a salary in the range of 2500.00 to 4000.00. Sort your results in Ascending order of the salary. ii. Translate the query in i. into a relational algebra statement  iii. Write a relational algebraic expression to find employees whose names end with “E”.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Consider the employee relation in the screenshot provided   and answer the questions that follow.

i. Write a query to display the names and salaries of employees who earn a salary in the range of 2500.00 to 4000.00. Sort your results in Ascending order of the salary.


ii. Translate the query in i. into a relational algebra statement 
iii. Write a relational algebraic expression to find employees whose names end with “E”. 

emp_id | emp_name | job_name | manager_id | hire_date | salary | commission | dep_id
68319
KAYLING
PRESIDENT |
| 1991-11-18
6000.00
1001
68319 1991-05-01
68319 1991-06-09
68319 1991-04-02
65646 1997-04-19
65646 1991-12-03
69062 1990-12-18
66928 1991-02-20 | 1700.00
66928
BLAZE
MANAGER
2750.00
3001
67832
CLARE
| MANAGER
2550.00
1001
65646
JONAS
MANAGER
2957.00
2001
67858
SCARLET
ANALYST
3100.00
2001
69062
FRANK
| ANALYST
3100.00
2001
63679
SANDRINE
CLERK
900.00
2001
64989
ADELYN
SALESMAN
400.00
3001
65271
WADE
SALESMAN
66928
1991-02-22
1350.00
600.00
3001
Transcribed Image Text:emp_id | emp_name | job_name | manager_id | hire_date | salary | commission | dep_id 68319 KAYLING PRESIDENT | | 1991-11-18 6000.00 1001 68319 1991-05-01 68319 1991-06-09 68319 1991-04-02 65646 1997-04-19 65646 1991-12-03 69062 1990-12-18 66928 1991-02-20 | 1700.00 66928 BLAZE MANAGER 2750.00 3001 67832 CLARE | MANAGER 2550.00 1001 65646 JONAS MANAGER 2957.00 2001 67858 SCARLET ANALYST 3100.00 2001 69062 FRANK | ANALYST 3100.00 2001 63679 SANDRINE CLERK 900.00 2001 64989 ADELYN SALESMAN 400.00 3001 65271 WADE SALESMAN 66928 1991-02-22 1350.00 600.00 3001
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY