DBI202_-_FA_2024_-_PE_-_s_-_4_2888.webp
Hanami2001

DBI202_-_FA_2024_-_PE_-_s_-_4_2888.webp

stion 1:
Create one database and then write SQL statements to create, in this database, all tables derived from the ERD given in the following picture with appropriate attributes, primary keys and foreign keys.
NOTE that when creating the SQL commands as request, you MUST keep the name of tables, relationship, attributes and data type of attributes as SAME as given in the given ERD.
Attributes with underline are Primary Key of each entity.
Attributes which reference to the primary key of another table must have the same name as the attributes in the primary key of the referencing table.
If a table must be created for representing a relationship, the name of the table must be the same as the name of the relationship.
When submitting the responses for this question, submit only SQL statements for creating tables with corresponding keys and foreign keys. Do not use "create database", "Alterdatabase", "use database_name" or any statements using database's name in your submission.
You must use ER style conversions for subclasses in this diagram if exists.
empCode:
varchar(20)
hours: int
job Title: text
name:nvarchar(50)
N
do
Employee
1
manages
N
Tasks
N
has
Project
N
1
taskNumber:
int
description:nvarchar(100)
code:
title: text
Zoom
Question 2:
Picture 1.1
varchar(30)
+ 91%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
DBI202_-_FA_2024_-_PE_-_s_-_4_2888.webp
File size
232.3 KB
Dimensions
958px x 850px

Share this media

Back
Bên trên Bottom