Read-only Back to SQLite3 Guide
Northwind › Tables
CustomerCustomerDemo table

Junction table between customers and demographics. Also empty. 0 rows.

Data Structure
Columns
PRAGMA table_info
#NameTypeNot nullDefaultKeyReferences
0 CustomerID TEXT yes — PK 1 Customers.CustomerID
1 CustomerTypeID TEXT yes — PK 2 CustomerDemographics.CustomerTypeID
Indexes
PRAGMA index_list
NameColumnsUniqueCreated by
sqlite_autoindex_CustomerCustomerDemo_1 CustomerID, CustomerTypeID yes PRIMARY KEY
Referenced by

No other table has a foreign key pointing at CustomerCustomerDemo.

Definition
from sqlite_schema
CREATE TABLE CustomerCustomerDemo ( CustomerID TEXT NOT NULL REFERENCES Customers (CustomerID), CustomerTypeID TEXT NOT NULL REFERENCES CustomerDemographics (CustomerTypeID), PRIMARY KEY (CustomerID, CustomerTypeID) )