document.write("
Create Table UserDetails( DetailId int, Username Varchar(100), Gender char(1) Constraint user_gender check(Gender in ('M', 'F')) --Will allow to enter either 'M' or 'F' in gender column)