Table 2
Table 2
STACK
1. Write a Menu Driven Program to IMPLEMENT A STACK
using LIST.
2. Write a program to create a Stack for storing only odd
numbers out of all the numbers entered by the user. Display
the content of the Stack along with largest odd number in the
Stack.
MYSQL
1. Create a database ‘EMP_data’ on the database server, show the
list of databases and select the database you want to use.
2. Create the following table named ‘Dept’ and ‘Emp’ with
appropriate data type, size and constraint(s).
3. Insert few records/tuples into the table. Verify the entered
records.
4. Display all the information of employees whose job is
NEITHER Salesman NOR Clerk.
5. Display the details of all the employees whose hiredate is after
April 1991. (Considered the SQL’s standard date format)
6. Display the details of all the employees whose Hiredate is
maximum.
7. Display all information of Salesman and Manager in
descending order salary wise. (method 1, method 2)
8. List all employees whose name has the character ‘a’.