hard20 pts · first answer countsdata-modellingconstraints
Two tables that reference each other
departments.head_emp_id references employees, and employees.dept_id references departments, both NOT NULL. You cannot insert the first department or employee. What PostgreSQL feature helps?
Discussion 0
Join free to post in the discussion.
Related questions
- Primary key for order linesData Engineer
- Modelling doctors and patientsData Engineer
- Several phones in one columnData Engineer
- Several unique columnsData Engineer
- Picking the natural keyData Engineer
- Reading crow's foot notationData Engineer
- The model with indexes and typesData Engineer
- Why denormalise a reporting tableData Engineer