



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
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
1 / 35
This page cannot be seen from the preview
Don't miss anything!




























Lec Ayesha Naseer
The SELECT statement in SQL is used to retrieve data from a relational database.
EXAMPLES
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.
SELECT TOP 2 store_name, Sales, Date FROM Store_Information ORDER BY Sales DESC; SELECT TOP 25 PERCENT store_name, Sales, Date