You are on page 1of 3

DEPARTMENT OF COMPUTER

SCIENCE & ENGINEERING

Experiment Title 1.2

Student Name: Mantransh


Laata UID: 21BCS5869
Branch: CSE
Aim/Overview811B
1.Section/Group: of the practical:
=>To explore ‘Select’ clause using where, order by, between, like, order
Semester: 3rd
by, and or:-
Subject Name: DBMS
Table=

1. Where
Syntax:- Select *from tablename where Rollno =26;
2. Like
Syntax:- Select* from tablename where Name like ‘A%’

3. In
Syntax:- Select *from tablename where Name in (‘Mantransh’, ‘Ayush’)

4. Between
Syntax:- Select * from tablename where Rollno between 25 and 27;

5. Order By
Syntax:- Select* from tablename order by Rollno
6. AND,OR

With or-
Syntax:- Select * from tablename where rollno=26 or Name = ‘Ayush’

7. With and-

Syntax:- Select from tablename where rollno=26 and Name = ‘Ritik’

2. Source Code:

Learning outcomes:
a. In this we study different commands in SQL.
b. How to manipulate the data by using different commands.
c. How to implement the different commands.
d. How to manage table.

You might also like