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

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

sqlite - Unique combination of values - Database Administrators Stack Exchange

linear algebra - Matrix Columns VS Rows - Mathematics Stack Exchange