Professional Documents
Culture Documents
Sqlassignment
Sqlassignment
Sqlassignment
Write the outputs of SQL commands given in (h) with the help of
the table shown.
EmpNo
Name
Job
Mgr
Hiredate Sal
Deptno
Integer
Character Character Float
Date
Float
Integer
1.
2.
Write the SQL command for (a) to (f) on the basis of the table
No
1
2
3
4
5
6
7
8
Customer
Fname
Lname
Phone
Address
Character(20) Character(20) Number(8)
Character(20)
Create the table
Enter following data
Fname
Lname
Phone
Address
Ajay
Batra
27111333
Rohini
Deepak
Chopra
25656891
Ashok Vihar
Rajesh
Mehta
23455511
Ashok Vihar
Priya
Kumar
23456334 Rohini
Ramit
Arya
24567565 Model Town
Arpit
Jain
23222334 Shailmar Bagh
Rahul
Kundra
24567856 Model Town
Kisan
Kumar
27898981
Rohini