Changes between Initial Version and Version 1 of RelationalDesign


Ignore:
Timestamp:
05/05/26 11:17:07 (28 hours ago)
Author:
232012
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalDesign

    v1 v1  
     1Relational Design ¶
     2Descriptive representation of the relational schema (syntax as used in lectures/exercises - listed relational schemas, attributes, marked primary and secondary keys)
     3
     4DDL script for creating the database schema and objects:
     5
     6The script should (re-)create the schema, all the tables, with all constraints, and all other relevant database objects.
     7The script should work in an empty database to fully construct everything needed for the project, and should also work in a database where the schema, tables and other objects are already created and they need to be re-created. So drop existing objects and create them again.
     8The script should be named schema_creation.sql
     9Link the script in this section in the RelationalDesign wiki page as an attachment to the page.
     10DML script for filling tables with data:
     11
     12The script should (re-)create all the data in your tables
     13The script should work with empty tables to fully load all needed data for the project, and should also work in a database where the tables already have data and need to be emptied and the data should be imported again.
     14The script should be named data_load.sql
     15Link the script in this section in the RelationalDesign wiki page as an attachment to the page.
     16Relational diagram
     17
     18DBeaver is the recommended tool for working with the assigned database, if you follow the instructions for connecting to the database.
     19In DBeaver it is possible to create a relational schema diagram for the entire project schema. Double click on the project schema to open it's properties dialog, then switch to the ER diagram tab. The diagram will be automatically created based on the created objects in the schema.
     20Switch the diagram to use crow-feet notation.
     21Visually adjust the diagram to have the same positioning of tables and relations as the corresponding entities and relations in the ER diagram in the previous phase.
     22Export the diagram to a file named relational_schema.jpg and attach it in this section.