12.07.2015 Views

Module 13 (Introduction to SQL - Part 2).pdf

Module 13 (Introduction to SQL - Part 2).pdf

Module 13 (Introduction to SQL - Part 2).pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The INNER JOINThis brings up a design issue:Typically, when designing things likeEmployees table, we probably will never want<strong>to</strong> delete an employee record, <strong>to</strong> prevent this sor<strong>to</strong>f thing from happening.Instead, we might a Boolean field calledCurrentEmployee and a Date/Time fieldcalled TerminationDate <strong>to</strong> indicate when anemployee left the company.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!