TAILIEUCHUNG - Làm việc với cơ sở dữ liệu SQL Server Object - Thực hiện lần xem

Cosmos Electronics Ltd có hơn 1000 lao động trong các đơn vị của nó. Một số trong số này là ở cấp cơ sở trong khi một số đang ở mức cao cấp phụ thuộc vào chuyên môn của họ và nhiều năm kinh nghiệm. Mỗi nhân viên đều được cho nghỉ phép hàng năm dựa trên chỉ định. Việc quản lý ở Cosmos Electronics Ltd đang có kế hoạch tin học hoá bộ phận nhân sự của họ và tất cả các dữ liệu liên quan đến người lao động sẽ được lưu trữ trong cơ sở dữ liệu. | Working with SQL Server Database Objects Assignments Implementing Views Sr. No. Assignment Question 1. Cosmos Electronics Ltd. employs more than 1000 workers in its units. Some of these are at junior level while some are at senior level depending upon their expertise and years of experience. Each employee is given annual leave based on the designation. The management at Cosmos Electronics Ltd. is planning to computerize their human resources department and all the data pertaining to employees will now be stored in SQL Server 2005 databases. Two of the most vital tables in the Employees database are shown below EmpDetails Table Field Name Data Type Key Field Description Emp_Id varchar 5 Primary Key Stores employee identification number FirstName varchar 30 Stores first name of the employee LastName varchar 30 Stores last name of the employee Address varchar 60 Stores address of the employee PhoneNumber varchar 20 Phone number of the employee it could be landline or mobile Dept_Id varchar 4 Stores department id of the department to which the employee belongs Designation varchar 30 Stores designation or job role of the employee Salary money Stores salary of the employee Join_date datetime Stores date of joining for the employee Performance_Rating int Stores Rating of the employee Table EmpDetails Table 2007 Aptech Ltd Version Page 1 of 2 Working with SQL Server Database Objects Assignments LeaveDetails Table Field Name Data Type Key Field Description Emp_Id varchar 5 Primary Key Stores employee identification number LeaveTaken int Stores the number of leaves taken by the employee FromDate datetime Date when the leave started ToDate datetime Date upto which leave was taken Reason xml Reason for the leave Table LeaveDetails Table 1. Using SQL Server 2005 and Transact SQL statements create the above tables in a database named Employees. Add at least 5 records to the tables. 2. Cosmos Electronics Ltd. has decided to allow the employees to login to the database

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.