Northwind › Tables
Categories table
Eight product groups, each with a bitmap picture stored as a BLOB. 8 rows.
Columns
| # | Name | Type | Not null | Default | Key | References |
|---|---|---|---|---|---|---|
| 0 | CategoryID |
INTEGER |
no | — | PK | |
| 1 | CategoryName |
TEXT |
yes | — | ||
| 2 | Description |
TEXT |
no | — | ||
| 3 | Picture |
BLOB |
no | — |
Indexes
| Name | Columns | Unique | Created by |
|---|---|---|---|
Categories_CategoryName |
CategoryName |
no | CREATE INDEX |
Referenced by
Products.CategoryID → Categories.CategoryID
Definition
CREATE TABLE Categories (
CategoryID INTEGER PRIMARY KEY,
CategoryName TEXT NOT NULL,
Description TEXT,
Picture BLOB
)