Sql Example to create table and insert data into it


SQL Query
create table user_detail ( id int primary key, name varchar(50) not null, email varchar(50) unique, DOB date ); INSERT INTO user_detail VALUES (1,"Fresherbell","support@fresherbell.in","19-01-2020"); SELECT * FROM user_detail;
Output