SQL Schema Explorer by Tim Abell

sqlite-chinook

Invoice

Nearest Tables

Tap a table in the diagram to jump straight to it. Tap & drag in a gap to pan around. Tap & drag a table to re-arrange the diagram.

Tap the "enable zoom" button, then use the mouse wheel to zoom in to where the mouse pointer is.

Customised table layout is not remembered. Refresh the page to reset the diagram.

Columns

Name Type Nulls Outbound Foreign Key Inbound Foreign Keys Indexes
Primary Key InvoiceId INTEGER NOT NULL InvoiceLine(InvoiceId) IPK_Invoice
CustomerId INTEGER NOT NULL Customer(CustomerId) IFK_InvoiceCustomerId
InvoiceDate DATETIME NOT NULL
BillingAddress NVARCHAR(70) Nullable
BillingCity NVARCHAR(40) Nullable
BillingState NVARCHAR(40) Nullable
BillingCountry NVARCHAR(40) Nullable
BillingPostalCode NVARCHAR(10) Nullable
Total NUMERIC(10,2) NOT NULL

Foreign Keys

Outbound

From To
CustomerId Customer(CustomerId)

Inbound

From To
InvoiceLine(InvoiceId) InvoiceId

Indexes

Name Columns Unique
IFK_InvoiceCustomerId CustomerId
IPK_Invoice InvoiceId Unique

Data

Skip to Data Controls Show just the data
sort InvoiceId sort CustomerId sort InvoiceDate sort BillingAddress sort BillingCity sort BillingState sort BillingCountry sort BillingPostalCode sort Total Referenced by
48 29RobertBrownrobbrown@shaw.ca 2009-07-24 00:00:00 +0000 UTC 796 Dundas Street West Toronto ON Canada M6J 1V1 0.99 InvoiceLine: InvoiceId - 1 rows
169 29RobertBrownrobbrown@shaw.ca 2011-01-15 00:00:00 +0000 UTC 796 Dundas Street West Toronto ON Canada M6J 1V1 1.98 InvoiceLine: InvoiceId - 2 rows
180 29RobertBrownrobbrown@shaw.ca 2011-02-25 00:00:00 +0000 UTC 796 Dundas Street West Toronto ON Canada M6J 1V1 13.86 InvoiceLine: InvoiceId - 14 rows
235 29RobertBrownrobbrown@shaw.ca 2011-10-26 00:00:00 +0000 UTC 796 Dundas Street West Toronto ON Canada M6J 1V1 8.91 InvoiceLine: InvoiceId - 9 rows
364 29RobertBrownrobbrown@shaw.ca 2013-06-01 00:00:00 +0000 UTC 796 Dundas Street West Toronto ON Canada M6J 1V1 1.98 InvoiceLine: InvoiceId - 2 rows
387 29RobertBrownrobbrown@shaw.ca 2013-09-03 00:00:00 +0000 UTC 796 Dundas Street West Toronto ON Canada M6J 1V1 3.96 InvoiceLine: InvoiceId - 4 rows
409 29RobertBrownrobbrown@shaw.ca 2013-12-06 00:00:00 +0000 UTC 796 Dundas Street West Toronto ON Canada M6J 1V1 5.94 InvoiceLine: InvoiceId - 6 rows
Filter
Clear Filter
CustomerId 29
Page
No earlier pages
No more pages
412 rows in table
7 rows for this filter
7 rows shown
Showing rows 1 to end

Display
Switch to card view
^ top