Table sakila.customer Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
customer_id smallint unsigned 5  √ 
payment.customer_id fk_payment_customer R
rental.customer_id fk_rental_customer R
store_id tinyint unsigned 3
store.store_id fk_customer_store R
first_name varchar 45
last_name varchar 45
email varchar 50  √  null
address_id smallint unsigned 5
address.address_id fk_customer_address R
active bit 0 1
create_date datetime 19
last_update timestamp 19 CURRENT_TIMESTAMP

Table contained 541 rows at Thu Aug 12 09:42 MDT 2010

Indexes:
Column(s) Type Sort Constraint Name
customer_id Primary key Asc PRIMARY
address_id Performance Asc idx_fk_address_id
store_id Performance Asc idx_fk_store_id
last_name Performance Asc idx_last_name

Close relationships  within of separation: