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
23 59PujaSrivastavapuja_srivastava@yahoo.in 2009-04-05 00:00:00 +0000 UTC 3,Raj Bhavan Road Bangalore [null] India 560001 3.96 InvoiceLine: InvoiceId - 4 rows
45 59PujaSrivastavapuja_srivastava@yahoo.in 2009-07-08 00:00:00 +0000 UTC 3,Raj Bhavan Road Bangalore [null] India 560001 5.94 InvoiceLine: InvoiceId - 6 rows
97 59PujaSrivastavapuja_srivastava@yahoo.in 2010-02-26 00:00:00 +0000 UTC 3,Raj Bhavan Road Bangalore [null] India 560001 1.99 InvoiceLine: InvoiceId - 1 rows
218 59PujaSrivastavapuja_srivastava@yahoo.in 2011-08-20 00:00:00 +0000 UTC 3,Raj Bhavan Road Bangalore [null] India 560001 1.98 InvoiceLine: InvoiceId - 2 rows
229 59PujaSrivastavapuja_srivastava@yahoo.in 2011-09-30 00:00:00 +0000 UTC 3,Raj Bhavan Road Bangalore [null] India 560001 13.86 InvoiceLine: InvoiceId - 14 rows
284 59PujaSrivastavapuja_srivastava@yahoo.in 2012-05-30 00:00:00 +0000 UTC 3,Raj Bhavan Road Bangalore [null] India 560001 8.91 InvoiceLine: InvoiceId - 9 rows
Filter
Clear Filter
CustomerId 59
Page
No earlier pages
No more pages
412 rows in table
6 rows for this filter
6 rows shown
Showing rows 1 to end

Display
Switch to card view
^ top