Computer Networking: A Top-Down Approach (7th Edition)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
Bartleby Related Questions Icon

Related questions

Question
Answer the following questions then copy your code to a text document (with print screens) and
upload it on Blackboard before the due date.
A- Create this Employees table
Department_id
66
First name
salary
1500
Last name
Almahmod
Alnaser
Al badr
Saad
Saleh
10500
50
Abdullah
2000
50
Mohammad
Alabdukarem
18000
50
Almasoud
B- Then apply the following queries:
Nasser
11000
70
1- Retrieve all the employees who got salary more than 2000$
2- Retrieve all the employees who got salary in the range 2000$ to 11000$
3- Retrieve all the employees who got salary out of the range 2000$ to 11000$
4- Retrieve all the employees who got salary 2000$ , 10500$ or 17000$ using the IN operator
5- Retrieve all the employees who got salary other than 2000$ , 10500$ or 17000$ using the
IN operator
6- Retrieve employee first name, last name and display his Full name which is the
concatenation of his first name and last name together.
7- Retrieve the first name, last name and salary for all employees whose first name start with
the letter S.
8- Retrieve the first name, last name and salary for all employees whose last name include the
letter s.
9- Retrieve the first name and last name for all employees whose first name consist of 4 letters.
10- Retrieve the first name and last name for all employees whose first name OR last name
contains _ (underscore symbol).
11- Retrieve the first_name , last_name, department_id and salary for all employees who is
working in department no 50 sorted by their salary in descending order.
12- Retrieve the first_name , last_name, department_id and salary for all employees sorted by
their department_id and their salary in descending order.
13- List out the departments' numbers where employees work.
expand button
Transcribed Image Text:Answer the following questions then copy your code to a text document (with print screens) and upload it on Blackboard before the due date. A- Create this Employees table Department_id 66 First name salary 1500 Last name Almahmod Alnaser Al badr Saad Saleh 10500 50 Abdullah 2000 50 Mohammad Alabdukarem 18000 50 Almasoud B- Then apply the following queries: Nasser 11000 70 1- Retrieve all the employees who got salary more than 2000$ 2- Retrieve all the employees who got salary in the range 2000$ to 11000$ 3- Retrieve all the employees who got salary out of the range 2000$ to 11000$ 4- Retrieve all the employees who got salary 2000$ , 10500$ or 17000$ using the IN operator 5- Retrieve all the employees who got salary other than 2000$ , 10500$ or 17000$ using the IN operator 6- Retrieve employee first name, last name and display his Full name which is the concatenation of his first name and last name together. 7- Retrieve the first name, last name and salary for all employees whose first name start with the letter S. 8- Retrieve the first name, last name and salary for all employees whose last name include the letter s. 9- Retrieve the first name and last name for all employees whose first name consist of 4 letters. 10- Retrieve the first name and last name for all employees whose first name OR last name contains _ (underscore symbol). 11- Retrieve the first_name , last_name, department_id and salary for all employees who is working in department no 50 sorted by their salary in descending order. 12- Retrieve the first_name , last_name, department_id and salary for all employees sorted by their department_id and their salary in descending order. 13- List out the departments' numbers where employees work.
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY