
16 PUZZLE 4 SECURITY BADGES
PUZZLE
4 SECURITY BADGES
Due to rightsizing (we never say downsizing or outsourcing) at your
company, you are now the security officer and database administrator.
You want to produce a list of personnel and their active security badge
numbers. Each employee can have many badges, depending on how
many job sites they are currently working, but only one of their badges
will be active at a time. The default is that the most recently issued badge
is assumed to be active because it will be issued at a new job site. The
badge numbers are random to prevent counterfeiting. Your task is to
produce a list of personnel, each with ...