SD 2052Database SystemsTutorial: 3Topic
:Manipulating SQL on a single tableDiscussion1.What are the relational algebra operations and how are they different from SQLcommands?2.How does SQL implement the relational algebra operations
?3.How does SQL implement the natural, equi and theta joins?Practical: Operations on a single tableObjective: this tutorial lets you learn how to create your own tables using SQL.Start up the Command Centre and make sure that it is set up to use semicolon as thestatement termination character (just like Tutorial 2) and create a new script that does thefollowing:1.Create a new database named tut3.2.Create the PERSON table the attributes are P_IC BIGINT, P_NAME VARCHAR (50), P_HOMETOWN VARCHAR (50), P_STATE VARCHAR (50), P_RELIGIONVARCHAR (50), P_BIRTHDAY DATE and the primary key is P_IC.create table person( p_ic bigint not null,p_name varchar(50),p_hometown varchar(50),p_state varchar(50),p_religion varchar(50),p_birthday date,primary key (p_ic));3.Enter yourself and 10 other people into the database. If you can't find out informationabout 10 other real people it's OK to make up imaginary people. Give yourself theP_IC 0 and the other people P_IC 1 to 10. Remember that P_IC should be NOT NULL. The default year format is YYYY-MM-DD.