Data Retrieval language(DRL)
Data Retrieval language(DRL) Data Retrieval Language (DRL) is a part of SQL used to retrieve (fetch) data from a database without modifying it. Main Command: SELECT – used to get data from one or more tables. Examples:
|
1 2 3 4 5 |
SELECT * FROM students; → Retrieves all records from the students table. SELECT name, marks FROM students WHERE marks > 60; → Retrieves names and marks of students who scored more than 60. |
Purpose: ● To view data ● To… Read More

