sql - Difficulty in creating a table in mysql database -


this question has answer here:

i have tried creating table manually in mysql database columns id, phone, email, password, paymwnt. here id primary key auto increment when click save, following error message displays

incorrect prefix key. used part isn't string, used length longer key part or storage engine not support unique prefix keys"

someone please help.

create table #user_table  ( userid int primary key identity(1,1),  last_name varchar(50),  first_name varchar(50) ); select * #user_table insert #user_table values('k','raj') 

sol:

userid  last_name   first_name 1           k         raj 

Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -