Abstract
In Chapter 14, I explained that an important principle of working with a relational database was the need to break larger units, such as addresses or names, into their component elements and store them in separate columns. Another equally important principle is to get rid of columns that contain repetitive data and move them to a separate table. As long as each record has a primary key to identify it, records in separate tables can be linked by storing the primary key from one table as a reference in the other. This is known as creating a foreign key.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2007 David Powers
About this chapter
Cite this chapter
(2007). Working with Multiple Tables. In: The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP. Apress. https://doi.org/10.1007/978-1-4302-0288-2_16
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0288-2_16
Publisher Name: Apress
Print ISBN: 978-1-59059-859-7
Online ISBN: 978-1-4302-0288-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books