SQL BASIC COMMANDS IN DBMS, Slides of Database Management Systems (DBMS)

this document contains detailed explanation for beginners..it has covered each and every topic in details for those who are eager to learn data base management system.

Typology: Slides

2021/2022

Available from 08/19/2022

SamenKhan
SamenKhan 🇵🇰

231 documents

1 / 35

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
SQL BASIC COMMANDS
Lec Ayesha Naseer
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23

Partial preview of the text

Download SQL BASIC COMMANDS IN DBMS and more Slides Database Management Systems (DBMS) in PDF only on Docsity!

SQL BASIC COMMANDS

Lec Ayesha Naseer

SELECT

 The SELECT statement in SQL is used to retrieve data from a relational database.

EXAMPLES

DISTINCT

 In SQL, the DISTINCT keyword is used in the SELECT statement to retrieve unique values from a database table. Any value that has a duplicate will only show up once.

EXAMPLES

WHERE CLAUSE

EXAMPLES

EXAMPLES

LIKE

ORDER BY

TOP EXAMPLE

SELECT TOP 2 store_name, Sales, Date FROM Store_Information ORDER BY Sales DESC;SELECT TOP 25 PERCENT store_name, Sales, Date

SQL FUNCTIONS

EXAMPLES

GROUP BY