Solved by verified expert:Hiplease answer the question in the file below Avoid pilgrims and solve it correct thanks
document.docx

Unformatted Attachment Preview

Don't use plagiarized sources. Get Your Custom Essay on
Just from \$10/Page

Q1
Normalize the given table below and functional dependencies into 1NF, 2NF,
3NF and BCNF normal forms
Technician
Technician
Appointment
Appointment
Patient
Patient
ID
Name
Date
Time
ID
Name
192115
Mousa Ali
12 Aug 2017
09:00 am
21018
192115
Mousa Ali
15 Aug 2017
02:00 pm
21020
192119
Abdullah Haji
01 Sep 2017
10:00 am
21119
192119
Abdullah Haji
05 Sep 2017
01:00 pm
21018
Omar
Hassan
Kamal Ali
Khalid
Ahmed
Omar
Hassan
FD1= Technician_id, app_date, app_time  patient_id, patient_name
FD2 = Technician_id  technician_name
FD3 = patient_id  patient_name
Q2
Let the following relation schemas be given:
R = (A, B, C)
S = (D, E, F)
Let relations r(R) and s(S) be given. Give an expression in the tuple relational calculus
that is equivalent to each of the following:
A. A(r)
B. B = 19 (r)
C. r × s
D. A, F (C = D (r × s))
Q3
a) Consider a relation R=(A,B,C,D) with the following instance:
A
B
C
D
1
1
2
3
1
2
2
3
1
3
2
3
2
4
5
6
3
6
7
8
Which of the following function dependencies are satisfied? Why or How?
1. A  B
2. A  CD
3. C  D
b) The SQL like operator is case sensitive, but the lower () function on strings can be
used to perform case insensitive matching. To show how, write a query that finds
departments whose names contain the string “sci” as a substring, regardless of the
case.
Q4
Write the following inserts, deletes or updates in SQL, using the university schema.
a) Increase the salary of each instructor in the Finance department by 10%.
b) Delete all courses that have never been offered (that is, do not occur in the
section relation).
c) Insert every student whose tot_cred attribute is greater than 150 as an
instructor in the same department, with a salary of \$25,000.

attachment

## Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors:
Number of pages
Urgency
Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

# Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

### Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

### Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

### Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.