CSE3055 Database Systems Fall 2017 Homework #3 Answered – MS SQL Server Database Implementation & SQL Queries

$24.99

Covers Microsoft SQL Server database implementation, Excel data imports, default column values, database backups, and six SQL queries. Explore table joins, conditional filtering, sorting, and student and staff data retrieval. The downloadable ZIP file contains the assignment solution and relevant database materials.

Original Work ?

Download Details:

  • Name: HW3-pebe5w.zip
  • Type: zip
  • Size: 2.97 MB

Category: Tags: , , You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (2 votes)

CSE3055 Database Systems Homework #3 (Fall 2017) focuses on database implementation and SQL querying using Microsoft SQL Server. The assignment covers database creation, default column values, importing Excel data, database backups, and writing SQL SELECT statements involving table joins, filtering, sorting, and date comparisons to retrieve student and staff information.

Assignment Description

1) [58 pts] Database Implementation.
a) [30 pts] Implement the following database on MS SQL Server. Name your database as your
LASTNAME-FIRSTNAME using English letters.
b) [3 pts] Assign default values “İstanbul” and “34722” for the fields city and postalCode of table
STUDENT, respectively.
c) [20 pts] After implementing your database, use the MS Excel file “cse3055-fall2017-homework-3-
data.xlsx” to import data. In order to import data on MS SQL Server, right click on your database
(LASTNAME-FIRSTNAME), point to “Tasks” and click on “Import Data…”.
d) [5 pts] Backup your database. In order to take a backup on MS SQL Server, right click on your database
(LASTNAME-FIRSTNAME), point to “Tasks” and click on “Back Up..”. Name your backup file as “hw3-
LASTNAME-FIRSTNAME.bak”.
2/2
2) [42 pts] Write the following SQL statements on your MS SQL Server database. For each of the following
query, take a screenshot of both your SQL query and output of the query on MS SQL Server.
a) [7 pts] List first name, last name, birthdate and city of students.
b) [7 pts] List first name, last name, department name, advisor’s first name and last name. Order the list
by department name ascending and student’s last name.
c) [7 pts] List distinct first and last name of students whose department is Computer Engineering.
d) [7 pts] List all attributes of the students whose first name contains ‘at’.
e) [7 pts] List staff ID, first name and last name of married managers who is older than 40 and have at
least 2 children. Order the list by birthdate.
f) [7 pts] List student ID, first and last name, department name and graduation date of students who
have graduated after 21.05.2010.
3) Compress your database backup file with the screenshots in a zip file. Name it as hw5-LASTNAMEFIRSTNAME.
zip and submit it.

The solution covers implementing the specified MS SQL Server database, configuring default values, importing Excel records, and creating a database backup. It also addresses six SQL queries involving student records, department relationships, advisors, staff conditions, graduation dates, and query output screenshots.