input and outputs of pl sql
input and outputs of pl sql
============================
...
...
...
<<<<<<<<<<<<<<< Inserting values into emp table (Won't result in an error this
time) >>>>>>>>>>>>>>>
...
...
...
mysql> delimiter //
mysql> create procedure Proc1()
-> begin
-> select EmpNo,Ename,Job from emp;
-> end; //
Query OK, 0 rows affected (0.06 sec)
///////////////////////////////////////////////////////////////////////////////////
/////
PART B
mysql> delimiter ;
mysql> select* from employee;
+--------+------------+-----------+------------+--------+
| emp_id | first_name | last_name | hiredate | salary |
+--------+------------+-----------+------------+--------+
| 7325 | Tom | Hardy | 2022-03-02 | 749000 |
| 7346 | Fatima | Abdulla | 2020-04-02 | 800000 |
| 7369 | Mohammad | Ali | 1980-12-17 | 100000 |
| 7499 | Haamid | Ashraf | 2023-02-20 | 200000 |
| 7521 | Fahim | Abullais | 2021-02-22 | 400000 |
| 7566 | Mariyam | Hassen | 2024-04-02 | 600000 |
+--------+------------+-----------+------------+--------+
6 rows in set (0.00 sec)