Q: Create a stored procedure which returns the employee details.
Data to be retrieved are empid, ename, salary, dname and location.
Input: Dname
Ename:employee name
Dname: department name
I am not getting how to use a stored procedure and table variable.
Please help me go about it.