Problem
1. Write the SQL queries using Data Manipulation Language (DML) statements.
- Insert values into student table with field names using insert command
- Display the table student using select command
- Update student address in student table using update command.
- Delete a row from student table.
>> Writing SQL using DML for each part:
2. Create the payroll database considering table employee.
1. Do simple queries on the above database.
i. list all information of the above both tables.
ii. list the empno, ename, jobtitle,and hiredate of employee from the employee table.
2. list the name, salary of the employees who are clerks.
3. list the name,job,salary of every employee joined on certain date. (say ‘december 17,1980')
4. list name and annual salary of all the employees.
5. list the employees who have salary between certain range (say between Rs. 1000 & 2000)
>> Creating database according to 5 subparts