Student Roll Name Class Marks 1 Akash Singh 11 90 2 Ishita Sinha 12 79 3 Pulkit Sharma 12 65
Student Roll Name Class Marks 1 Akash Singh 11 90 2 Ishita Sinha 12 79 3 Pulkit Sharma 12 65
(i) pushEven(N) - This function accepts a list of integers named N as parameter. It then pushes only even
numbers into the stack named EVEN.
(ii) popEven(EVEN) - This function pops each integer from the stack EVEN and displays the popped
value. When the stack is empty, the message "Stack Empty" is displayed.
STUDENT
1 Akash Singh 11 90
2 Ishita Sinha 12 79
3 Pulkit Sharma 12 65
write SQL command to :-
a. Create table student with following structure :-
Field name type constraints
Roll integer primary key
Name Varchar(50)
Class integer
Marks integer
b. insert row in student table with following value
(Roll-4, Name-“Vina”, Class-11, Marks-85)
c. display the names of the students from the STUDENT table which end with character ‘a’.
Print roll and marks of all the students from the STUDENT table in ascending order of marks.
EMPLOYEE
Customer
Q2 Consider the below given EMPLOYEE and SALARY tables in MySQL company database:
Project