hi,
I have to perform "the logical design step" on some ER diagrams. What this basically means is translate them into SQL.
I've never done this before and need a little guidance.
I'll try my best to "draw" the ER diagram. It looks a little something like this:
employees<---->(works on)<---->projects
employee<---->(works in)<---->departments
departments<---->(located in)<--->building
etc...
Am I supposed to create "dummy" tables with attributes to identify primary keys, foreign keys etc in order to write the table declarations in SQL.
For example. Employee would have the fields
emp_num (primary key), first_name, surname, department(foreign key).
or is there another way.
Thanks
