DROP DATABASE IF EXISTS DATASERVICE_SAMPLE; CREATE DATABASE DATASERVICE_SAMPLE; GRANT ALL ON DATASERVICE_SAMPLE.* TO 'dsuser'@'localhost' IDENTIFIED BY 'user123'; USE DATASERVICE_SAMPLE; DROP TABLE IF EXISTS Employees; CREATE TABLE Employees( employeeNumber INTEGER, lastName VARCHAR(50), firstName VARCHAR(50), extension VARCHAR(10), email VARCHAR(100), officeCode VARCHAR(10), reportsTo INTEGER, jobTitle VARCHAR(50) ); insert into Employees values (1002,'Murphy','Diane','x5800','dmurphy@classicmodelcars.com','1',null,'President'); insert into Employees values (1056,'Patterson','Mary','x4611','mpatterso@classicmodelcars.com','1',1002,'VP Sales'); insert into Employees values (1076,'Firrelli','Jeff','x9273','jfirrelli@classicmodelcars.com','1',1002,'VP Marketing'); insert into Employees values (1088,'Patterson','William','x4871','wpatterson@classicmodelcars.com','6',1056,'Sales Manager (APAC)'); insert into Employees values (1102,'Bondur','Gerard','x5408','gbondur@classicmodelcars.com','4',1056,'Sale Manager (EMEA)'); insert into Employees values (1143,'Bow','Anthony','x5428','abow@classicmodelcars.com','1',1056,'Sales Manager (NA)'); insert into Employees values (1165,'Jennings','Leslie','x3291','ljennings@classicmodelcars.com','1',1143,'Sales Rep'); DROP PROCEDURE If EXISTS getEmployee; CREATE PROCEDURE getEmployee(empNo INTEGER) SELECT employeeNumber,lastName,firstName,email FROM Employees where employeeNumber = empNo;