Computer Lab - Practical Question Bank
Computer Lab - Practical Question Bank
1
( a ) Insert Five Records.
( b ) Calculate Total for Marks field .
( c ) Calculate Average of Marks .
( d ) Increase 5 Percent marks for the students where average is < 40 .
2
12) Create a Emp table for the following fields :
(EmpNO,EmpName,EmpAddress,Salary)
( a ) Insert Five Records.
( b ) Calculate Total for Salary field .
( c ) List all the Employees who get less than 5000 as Salary .
3
19) Create a Emp table with the following fields :
(EmpNO,EmpName,Job,Salary,DeptNO )
( a ) Insert Five Records.
( b )Display the Unique Department Numbers .
( c ) Display all the Tupples .
( d ) Replace the heading ANNSAL instead for Sal * 12 .
4
( b ) Display the lowest course fee along with the Course
( c ) Display the students name who have done the course M.B.A.
5
( c ) Calculate average salesamount in each branch .
39) Create a table by the name Sports with the following fields
( SportsName ,SportsPerson,Gender, Age ,Experience )
( a ) Insert five records.
( b ) Display SportsPerson in upper case .
( c ) Display SportsName in lower case .
6
41) Create a software table with the following fields
( softwarename , Cost, date of manufacture, date of expiry ,NO of copies)
( a ) Insert five records
( b ) Display cost and date of manufacture for each software.
( c ) Display date of manufacture and date of expiry for each software .
46) Create a table by the name Bank with the following fields
( BankName , Branch, InterestRate,CustomerAge, Amount)
( a ) Insert five records .
( b ) Display all the tupples.
( c ) For the CustomerAge > 55 assign InterestRate as 12%on the amount.
7
48) Create Teacher table with the following fields
( Name , DeptNO,DeptName,Location, Salary )
( a ) Insert five records
( b ) Give Increment of 25% salary for Commerce Department .
( c ) Perform Rollback and Commit commands .
*****