departments table

The departments table in the Hospital Management System Database Schema schema has 5 columns, keyed by id. 5 columns in staff, doctor_schedules, rooms, appointments and 1 more reference it.

Cardiology, Radiology, Emergency and so on. Rooms and staff both belong to one.

Columns (5)

Columns of the departments table
ColumnTypeConstraintsDescription
iduuidprimary key
namevarchar(120)unique, not null
codevarchar(20)unique, not null
floorvarchar(20)
phonevarchar(32)

Relationships