








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
RDBMS - About the functions of the Database. Insert, Select, Update, Delete.
Typology: Schemes and Mind Maps
1 / 14
This page cannot be seen from the preview
Don't miss anything!









Field Name Data Type Size Note User id int Auto increment and PK FirstName Varchar 8 Not null constraint Last Name varchar 8 Not null constraint Email Varchar 20 Unique constraint Telephone int Not null constraint Address varchar 25 Not null constraint Company Varchar 10 Not null constraint Country varchar 10 Default constraint
Field Name Data Type Size Note User id int Auto increment and PK Telephone id int FK
Field Name Data Type Size Note Telephone id int PK Telephone int Not null constraint
Field Name Data Type Size Note Job id int Auto increment and PK Job title Varchar 10 Not null constraint Company Id int 3 Not null constraint Company Varchar 10 Not null constraint Country varchar 10 Default constraint
Applicant varchar 8 Not null constraint Company contact varchar 10 Not null constraint
Field Name Data Type Size Note User id int Auto increment and PK Sender Name Varchar 10 Not null constraint Sender Id Int Not null constraint Receiver name Varchar 10 Not null constraint Receiver Id varchar 3 Not null constraint Sent date Int Not null constraint Sent time Int Not null constraint Receiver Field Name Data Type Size Note Receiver id int Auto increment and PK Message Id int FK Receiver details Field Name Data Type Size Note Receiver id int Auto increment and PK Receiver name Varchar 10 Not null constraint Receive time time Not null constraint
SQL Script for User Table Table structure of User SQL Script for Telephone Table Table structure of Telephone SQL Script for User Telephone Table
Table structure of Telephone SQL Script for User Jobs Table structure of Jobs SQL Script for Applicant Table structure of Applicant
Table structure of receiver details SQL Script for Account Table structure of Account SQL Script for Bulk email Table structure of Bulk email
SQL Script for Job applicant Table structure of job applicant
Web pages in the Community portal and queries S No Web Pages Queries
2 Registration Page INSERT INTO User (FirstName, LastName, Telephone, Email, Company, Address, Country) VALUES ('hobi', 'leeha', '0508778934', '[email protected]', 'hp', 'Vjay2 road, china', 'china'); 3 Registration Confirmation Page
4 Update Profile Page UPDATE User SET company = 'samsung', Country = 'Thailand' WHERE User_Id = 1; 5 Search Users Page SELECT User_ID, FirstName, LastName, Telephone, Email, Company, Address, Country FROM USER WHERE country='China'; 6 List Search Results Select count First_name, last_name, city, country, company FROM User WHERE First_name=’win’or last_name=’’ or city=’Yuna’ or country=’Thailand’ or company=’google’; 7 Public Profile Page SELECT User_ID, FirstName, LastName, Telephone, Email, Company, Address, Country FROM USER_Profile WHERE country='Sri Lanka'; 8 Registration Confirmation Email
9 Login Page SELECT email, password FROM USER WHERE email, password = ‘[email protected]’, ‘john123’;
10 Forget Password Page Insert into User (email) Values (‘[email protected]’) 11 Forget Password Confirmation Page Update account set password= ‘abc123’ Where user_Id=2;