CREATE TABLE IF NOT EXISTS clients
(
  client_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
  fio VARCHAR(150) NOT NULL,
  phones VARCHAR(15) NULL,
  adress VARCHAR(150) NULL,
  datereg DATETIME NOT NULL,
  PRIMARY KEY(client_id)
) ENGINE = InnoDB CHARSET = cp1251;