Small typo in the sql file provided
Title
Question
There is two typos in the sql file provided. The corrected code is:
create table Users(FirstName varchar(255) NOT NULL,
Surname varchar(255),
Age int,
Gender varchar(255),
email varchar(255),
UserName varchar(255),
Password varchar(255),
UNIQUE(Username));
------------------------------------------
in the following statement:
insert into Checkout(book_id,username,return_date) values('1','ssharma',DATE_ADD(now(),Interval 1 MONTH));
username 'ssharma' is not present in the Users table.
------------------------------------------------
Java-Business-Application General
Answers:
Dear user,
Thank you for the indication. The files are updated.
Login to add comment