Download Tutorial Big Data Analytics and more Assignments Software Engineering in PDF only on Docsity!
Advanced Databases and Big Data Analytics Intake 36 Tutorial 01 Lab 01
Create a new database named ‘SuperMarket’.
Create table ‘Employee’.
Fill the table with following data.
Create a procedure to update the email address of the employees by appending the lastname, first letter of first name and @supermarket.com (All the letters should be in lower case). Ex: EmployeeID : 1 Email address :[email protected] EmployeeId: 2 Email address :[email protected]
Create a procedure to retrieve all the employee details whose salary is greater than a given value.
Create a procedure to insert a new employee record (Don’t insert the email address) Lab 02
Create the following table in the previous database. Students (StuID, LastName, FirstName, Email, ClassYear, Major)
Fill the table with sample data
Create a stored procedure to insert a student record only if the ClassYear<2015.