Database Table: dudata

From Dreamwidth Notes
Revision as of 16:03, 22 July 2010 by Exor674Bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a clustered table.

Definition

CREATE TABLE dudata (
    userid   INT UNSIGNED NOT NULL,
    area     CHAR(1) NOT NULL,
    areaid   INT UNSIGNED NOT NULL,
    bytes    MEDIUMINT UNSIGNED NOT NULL,
 
    PRIMARY KEY (userid, area, areaid)
)

Relationships