DateOf Empld FullIName Managerld City Joining 121 John Snow 321 01/31/2014 Toronto 321 Walter White California 986 01/30/2015 421 Kuldeep Rana 876 27/11/2016 New Delhi Empld Project Salary Variable 121 P1 8000 500 321 P2 10000 1000 421 P1 12000 Write an SQL query to fetch common records between two tables. i) Write an SQL query to fetch records that are present in one table but not in another table. iii) ) Write an SQL query to fetch the Emplds that are present in both the tables iv) Write an SQL query to fetch the employee full names and replace the space with -'. v) Write an SQL query to find the employee id whose salary lies in the range of 9000 and 15000.

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
This is syllabus for question in the given picture
Course : Data Base Administration
Module No. 1
Introduction to database architectures and
database management systems, Oracle, SQL
Server, MYSQL, DB2, Core DBA tasks and tools,
creating a database. Managing database
instance
Module No.2
Process architecture, Memory architecture,
Database huffer cache, dedicated vs shared
database
Transcribed Image Text:This is syllabus for question in the given picture Course : Data Base Administration Module No. 1 Introduction to database architectures and database management systems, Oracle, SQL Server, MYSQL, DB2, Core DBA tasks and tools, creating a database. Managing database instance Module No.2 Process architecture, Memory architecture, Database huffer cache, dedicated vs shared database
Solve the given query using the two tables (EmployeeDetails, EmployeeSalary).
Dateof
Empld
FullName
Managerld
City
Joining
121
John Snow
321
01/31/2014
Toronto
321
Walter White
986
01/30/2015
California
421
Kuldeep Rana
876
27/11/2016
New Delhi
Empld
Project
Salary
Variable
121
P1
8000
500
321
P2
10000
1000
421
P1
12000
Write an SQL query to fetch common records between two tables.
i)
Write an SQL query to fetch records that are present in one table but not in another table.
iii)
Write an SQL query to fetch the Emplds that are present in both the tables
iv)
Write an SQL query to fetch the employee full names and replace the space with -'.
v)
Write an SQL query to find the employee id whose salary lies in the range of 9000 and 15000.
Transcribed Image Text:Solve the given query using the two tables (EmployeeDetails, EmployeeSalary). Dateof Empld FullName Managerld City Joining 121 John Snow 321 01/31/2014 Toronto 321 Walter White 986 01/30/2015 California 421 Kuldeep Rana 876 27/11/2016 New Delhi Empld Project Salary Variable 121 P1 8000 500 321 P2 10000 1000 421 P1 12000 Write an SQL query to fetch common records between two tables. i) Write an SQL query to fetch records that are present in one table but not in another table. iii) Write an SQL query to fetch the Emplds that are present in both the tables iv) Write an SQL query to fetch the employee full names and replace the space with -'. v) Write an SQL query to find the employee id whose salary lies in the range of 9000 and 15000.
Expert Solution
steps

Step by step

Solved in 4 steps with 7 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