MySQL/PRIMARY KEY

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search

Syntax

PRIMARY KEY(index_col_name, ...)

It's not clear what the maximum number of columns is.

Documentation

Official documentation is in CREATE TABLE: