Answered step by step
Verified Expert Solution
Question
1 Approved Answer
e) Consider figure 2 to answer this question. 1) Write the field name with the longest character length. [01 mark] ii) Write field names which
e) Consider figure 2 to answer this question. 1) Write the field name with the longest character length. [01 mark] ii) Write field names which are used as primary keys with their data types and table name. [06 marks) iii) Draw an Entity-Relationship (ER) diagram to illustrate the relationships between given 3 entities. [09 marks) course Column c code (Primary) c title ccredit c level Type Null Default Links to varchar(7) No varchar(40) Yes NULL int(1) Yes NULL int(1) Yes NULL marks Column Type st_reg no (Primary) int(4) c_code (Primary) varchar(7) reg year (Primary) date marks int(3) Null Default Links to No student->st reg no No course->c_code No Yes NULL student Column st_reg_no (Primary) st name st dob st_gender st address st tele Type Null Default Links to int(4) No varchar(45) Yes NULL date Yes NULL char(1) Yes NULL varchar(60) Yes NULL int(10) Yes NULL figure 2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started