Answered step by step
Verified Expert Solution
Question
1 Approved Answer
OUESTION 3 a ) What are the different types of database end users. b ) Describe the difference between a database and a table? c
OUESTION
a What are the different types of database end users.
b Describe the difference between a database and a table?
c Discuss the roles of the following personnel in the database environment:
i Database Administrator
ii Logical database designer
iii. Application Developer
iv Enduser
d Discuss the differences between the candidate keys and the primary key of a relation.
e Describe the differences in meaning between the terms relation and relation schema.
f Explain what is meant by a foreign key.
g Define the term referential integrity constraint and give an example of one.
h How does the referential integrity constraint contribute to database integrity?
i Name three relationships within a relational database.
QUESTION
a
i Identify and discuss each of the indicated dependencies.
ii Create a database whose tables are at least in showing the dependency diagrams for each table.
iii. Create a database whose tables are at least in NF showing the dependency diagrams for each table.
b Differentiate between the different types of SQL joins: INNER JOIN, LEFT OUTER JOIN, RIGHT OUTER JOIN, and FULL OUTER JOIN.
c Write an SQL statement to create a database called CompanyDB.
d Write an SQL statement to create a table called Employees that contains columns: EMPNO, ENAME, JOB, and SALARY.
e Write an SQL statement that will display all information stored on the abovecreated table Employees.
f Write an SQL statement to display the names of all employees that contains in their name.
g Write an SQL statement to add a column called HireDate in the table Employees.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started