firstname Text(20) Not null For first name of the user. lastname Text(20) For last name if the user. dob varchar(20) For date of birth if the user. gender Text(5) Not null For gender of the user. username varchar(20) Not null For user name of user. password varchar(8) Not null For password of the user. address varchar(100) For address of the user. city Text(50) For city of the user. state Text(50) For state of the user. country Text(50) For country of the user. email varchar(50) Not null For e-mail address of the user. phno Integer(12) For phone number of the user. mobno Integer(12) Not null For mobile number of the user. yques varchar(50) Not null For question . yans varchar(50) Not null For answer.
Table Name : unmpass
Field Type Conatraints Description
id varchar(10) PK For storing unique id. uname varchar(20) For user nameof the user. password varchar(20) For password of the user. yques varchar(50) For question of the user. yans varchar(100) For answer of the user. Table Name : user_profile
Field Type Constraints Description
uid varchar(10) For user ID. firstname Text(20) For first name of the user. lastname Text(20) For last name if the user. dob varchar(20) For date of birth if the user. gender Text(5) For gender of the user. username varchar(20) For user name of user. address varchar(100) For address of the user. city Text(50) For city of the user. state Text(50) For state of the user. country Text(50) For country of the user. email varchar(50) For e-mail address of the user. phno Number(12) For phone number of the user. mobno Number (12) For mobile number of the user.
Table Name : company_detail
Field Type Constraints Description
companyid int(6) PK For Company ID. companyname varchar(50) For Company name.
Table Name : model_detail
Field Type Constraints Description
modelid int(6) PK For Model Id. modelname varchar(20) For Model name. Table Name : shopping_cart
Field Type Constraints Description
cart_id varchar(6) For shopping cart ID. username varchar(20) For user name. productid varchar(6) For product ID. qty int(3) For quantity of the product. price int(10) For price of the product. date varchar(20) For date of the shopping.
Table Name : cust_account
Field Type Constraints Description
username varchar(20) For user name. productid int(6) For Product ID. qty int(3) For quantity of the product. price int(10) For price of the product. total int(10) For total price of the product.
Table Name : review
Field Type Constraints Description
username varchar(30) For user name. review varchar(60) For review of particular product..
Table Name : feedback
Field Type Constraints Description
username varchar(30) For user name. address varchar(100) For address of the user. city Text(12) For city of the user. country Text(12) For country of the user. gender Text(6) For gender of the user. phno int(12) For phone number of the user. review varchar(100) For feedback of the customer.
Student: This entity will store the record of the student registered for the counselling. It is essential for the system as we need a separate unit which has all the information regarding the student and their personal and professional data. So, it will have the 10th and 12th percentage, rank in the entrance exam will also be asked from student to give the preferences according to it. To provide security to the system a password field is there which led to the student authorization while entering the system. This help circumvents anonymous user entering the system who can harm the structure. It has following attributes: Name: This will store the name of the student as it needed while saving the required. DOB: Date of Birth of the student as mention in the high school certificate and will act as the candidate key in the database model and in case of confusion help in differentiating. Student_id: It is a unique alphanumeric number assigned to every student who registers for the coun