Example Company Tables

suggest change

Consider a company where every manager manages one or more employees, and every employee has exactly one manager.

This results in two tables:

EMPLOYEES

EMP_ID FIRST_NAME LAST_NAME MGR_ID
E01 Johnny Appleseed M02
E02 Erin Macklemore M01
E03 Colby Paperwork M03
E04 Ron Sonswan M01

MANAGERS

MGR_ID FIRST_NAME LAST_NAME
M01 Loud McQueen
M02 Bossy Pants
M03 Barrel Jones

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents