DBI202_-_FA_2024_-_PE_-_s_-_6_2892.webp
B

DBI202_-_FA_2024_-_PE_-_s_-_6_2892.webp

Zoom FUD
Paper No: 6
For the submission of your work:
Create a folder named RollNo_Name_DB1202_PaperNo, e.g. hel70145_LongNT_DB1202_01. Do not create any subfolder in this folder. All file created will be located in the above folder.
For each question, you are required to write a database script. Create a file with the name corresponding to the index of the question. For example, for question 1, we will create a file named Q1.sql and create a file Q2.sql for question 2. So, if you do 10 questions, your folder must contain only 10 files Q1.sql, Q2.sql, Q3.sql, Q4.sql, Q5.sql, Q6.sql, Q7.sql, Q8.sql, Q9.sql and Q10.sql.
Do not use any commands having the database name such as create database, alter database, use [database name], etc.
Your response must contain only necessary commands for answering the question. Do not include any other command. For example, if you are required to create a trigger/procedure, then your response should contain only commands for creating the corresponding trigger/procedure; all commands for testing the created trigger/procedure are forbidden.
- Do not use GO command in your code
- On completion, import your work by browsing to the above folder.
- Note that:
+ You could use only SQL Server, SQL Server Management Studio, and paper or offline document in your computer.
+ If any of the previous requirements is not respected, your mark will be 0.
From the 2nd question, you should use the database provided in the sql file which has the following database diagram. Please, run the provided script to create tables and insert data into your database.
Medical Records
AppointmentTests
RecordID
Appointment TestID AppointmentID
AppointmentID
Diagnosis
TestID
Treatment
Status
Result
Notes
Record Date
Tests
TestID
Name
Description
Cost
Departments
Doctors
Appointments
Patients
DepartmentID
DoctorID
AppointmentID
PatientID
FirstName
PatientID
FirstName
Name
LastName
DoctorID
LastName
Location
PhoneNumber
PhoneNumber
AppointmentDate
DateOfBirth
Email
Reason
PhoneNumber
DepartmentID
Status
Email
Address
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
DBI202
Thêm bởi
banana_milk
Ngày thêm
Lượt xem
917
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
DBI202_-_FA_2024_-_PE_-_s_-_6_2892.webp
File size
316.1 KB
Dimensions
1920px x 1008px

Share this media

Back
Bên trên Bottom