Professional Documents
Culture Documents
ANDHRA PRADESH
Name : Y. Vijaya Bhaskara Reddy
Designation : Senior Lecturer.
Branch : commercial and Computer
Practice.
Institute : G.P.W Kakinada.
Year/semester : VI semester.
Subject : Visual basics—II.
Subject code : CCP603.
Topic : Database Programming
Duration : 50 minutes.
Sub Topic : Structured Query Language.
Teaching Aids : PPTS.
OBJECTIVES
Statements in DML.
Recap:
CREATE
ALTER
RENAME
DROP
TRUNCATE
Data Manipulation Language
(DML):
Using the Data manipulation language
(DML),you can run queries, add, delete,
and edit records, and otherwise manipulate
the content of your database.
DML statements include:
Syntax:
Select column_names from table_name;
To the above statement the following clauses can be
added:
‘Where’ clause to filter records
‘Group by’ clause to group records
‘Having’ clause to further filter grouped
records
‘order by’ clause is to produced sorted records
Insert:
Insert statement is used to insert records in a table.
Syntax:
Syntax:
Syntax:
SELECT
INSERT
UPDATE
DELETE
Assignment
1. Briefly explain the following:
SELECT, INSERT, UPDATE