HOW TO CREATE AUTO ALPHA NUMERIC PRIMARY KEY BY PHP
CREATE TABLE student
(
prefix varchar(2) not null default 'RB',
sid int(5) unsigned ZEROFILL not null AUTO_INCREMENT,
name varchar(100) not null,
primary key(sid),
UNIQUE KEY(prefix,sid)
);
HOW TO CREATE AUTO ALPHA NUMERIC PRIMARY KEY BY PHP
CREATE TABLE student
(
prefix varchar(2) not null default 'RB',
sid int(5) unsigned ZEROFILL not null AUTO_INCREMENT,
name varchar(100) not null,
primary key(sid),
UNIQUE KEY(prefix,sid)
);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us