Concept explainers
a)
SQL
SQL stands for structured query language. SQL is used basically to manage the data of the data base and to perform the manipulations over the data.
b)
Explanation of Solution
List of employees from personnel department who have worked or are working:
The query used in SQL to execute the following statement is,
SELECT Name, Address from EMPLOYEE, JOB, ASSIGNMENT where EMPLOYEE.EmplId = ASSIGNMENT.EmplId and ASSIGNMENT.JobId = JOB.JobId and JOB.Dept = “Personnel”
Explanation:
The above SQL query list the name and addres...
c)
Explanation of Solution
List of employees from personnel department:
SELECT Name, Address from EMPLOYEE, JOB, ASSIGNMENT where EMPLOYEE.EmplId = ASSIGNMENT.EmplId and ASSIGNMENT.JobId = JOB.JobId and JOB.Dept = “Personnel” and ASSIGNMENT.TermDate = “*”
Explanation:
The above SQL query list the name and address of the employe...
Want to see the full answer?
Check out a sample textbook solutionChapter 9 Solutions
Computer Science: An Overview (13th Edition) (What's New in Computer Science)
- Please answer all my questions by using sql- do it Updating dataarrow_forwardWhat is the difference between SQL and PL/SQL programming languages?arrow_forwardSELECT, FROM, and WHERE statements. What happens if we do not report the attributes exactly as they are in MS SQL Server? How do we resolve the issues?arrow_forward
- A Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology PtrDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781305627482Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781285196145Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos CoronelPublisher:Cengage Learning