Skip to Main Content
Data Analysis for Database Design, 3rd Edition
book

Data Analysis for Database Design, 3rd Edition

by David Howe
May 2001
Intermediate to advanced content levelIntermediate to advanced
336 pages
14h 36m
English
Butterworth-Heinemann
Content preview from Data Analysis for Database Design, 3rd Edition
Questions
1. Could the join condition employee.room_no = telephone.room_no have been
substituted for one of the join conditions in Example 2? (2 min)
2. Write a SELECT statement that returns the names of employees supervised by
employee(s) called 'Smith'. (2 min)
 0RUH-2,1V
There are several other ways of specifying a join, as shown below.
Example 1
SELECT emp_no, emp_name, telephone.room_no, extension
FROM employee JOIN telephone
ON employee.room_no = telephone.room_no
The JOIN itself includes employee.room_no and telephone.room_no columns (which
will have identical values). In this example, the SELECT clause eliminates the
employee.room_no column. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Data Quality Engineering in Financial Services

Data Quality Engineering in Financial Services

Brian Buzzelli

Publisher Resources

ISBN: 9780750650861