| Version 5 (modified by , 2 weeks ago) ( diff ) |
|---|
Relational Design
Notation
- Primary keys - underlined and bold
- NOT NULL attributes - bold
- Foreign keys - marked with a * after the foreign key name
- Other attributes - no marking
Tables
- ADMIN (admin_id, name, email, password)
- ARCHITECT (architect_id, full_name)
- BUILDING (building_id, name, address, description, admin_id*)
- DESIGNS (architect_id*, building_id*)
- FLOOR (floor_id, floor_number, layout_image, building_id*, admin_id*)
- UNIT (unit_id, unit_number, room_number, floor_area, status, price, image, floorplan, vector_image, floor_id*, admin_id*)
- AGENT (agent_id, name, email, password)
- CLIENT (client_id, name, email, phone)
- TIMESLOT (timeslot_id, date, time_start, time_end, status, agent_id*)
- INQUIRY (inquiry_id, message, status, created_at, unit_id*, client_id* , agent_id*)
- APPOINTMENT (appointment_id, status, client_id*, unit_id*, timeslot_id*, agent_id*)
DDL script for creating the database schema and objects
DML script for filling tables with data
Relational Diagram
Attachments (3)
- RelationalDiagram.png (219.9 KB ) - added by 2 weeks ago.
- schema_creation.sql (3.9 KB ) - added by 2 weeks ago.
- data_load.sql (11.1 KB ) - added by 2 weeks ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.

