Table dellstore2.public.orders 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
orderid serial 10  √  nextval('orders_orderid_seq'::regclass)
orderlines.orderid fk_orderid C
orderdate date 13
customerid int4 10  √  null
customers.customerid fk_customerid N
netamount numeric 12,2
tax numeric 12,2
totalamount numeric 12,2

Table contained 12,000 rows at Tue May 24 11:41 EDT 2016

Indexes:
Column(s) Type Sort Constraint Name
orderid Primary key Asc orders_pkey
customerid Performance Asc ix_order_custid

Close relationships  within of separation: