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

A junction table: which employee covers which sales territory (many-to-many). 49 rows.

Data Structure
Columns
PRAGMA table_info
#NameTypeNot nullDefaultKeyReferences
0 EmployeeID INTEGER yes — PK 1 Employees.EmployeeID
1 TerritoryID TEXT yes — PK 2 Territories.TerritoryID
Indexes
PRAGMA index_list
NameColumnsUniqueCreated by
sqlite_autoindex_EmployeeTerritories_1 EmployeeID, TerritoryID yes PRIMARY KEY
Referenced by

No other table has a foreign key pointing at EmployeeTerritories.

Definition
from sqlite_schema
CREATE TABLE EmployeeTerritories ( EmployeeID INTEGER NOT NULL REFERENCES Employees (EmployeeID), TerritoryID TEXT NOT NULL REFERENCES Territories (TerritoryID), PRIMARY KEY (EmployeeID, TerritoryID) )