Translating ERD diagrams into SQL DDL statements - Database Administrators Stack Exchange


i establishing database students , courses using erd. style of erd using similar diagram below erd diagram question:

enter image description here

note: picture above not erd, style of erd using.

a simple create statment used attributes of each entity, other ddl statements enforce relationships, weak entities, , multi-way relationships?

the way can enforce relationships between tables creating foreign key referencing primary key other table. both keys defined either creating or modifying table using create statement or alter statement, respectively.


Comments

Popular posts from this blog

analysis of two transistors ib,ic,ie? - Electrical Engineering Stack Exchange

Choosing and replace capacitors for audio amplifier - Electrical Engineering Stack Exchange

sql server 2008 r2 - LogWriter: Operating system error 1117 - Database Administrators Stack Exchange