SlideShare a Scribd company logo
1 of 7
Govt First Grade College Chikkabasur
Department of Computer Applications
CLASS : Bcom III Year
SUBJECT : Computer Applications In Business
TOPIC NAME : DML (Data Manipulation Language) Commands
Presented By : Prof.Rakesh Shettar
Dept of Computer Applications
DML (Data Manipulation Language)
DML Commands are most frequently used SQL Commands.
They are used to query & manipulate existing objects like tables.
COMMANDS IN DML:
1. INSERT Command
2. SELECT Command
3. UPDATE Command
4. DELETE Command
 INSERT Command:
Once creation of the table is completed, it remains a skeletal structure
unless it is populated with rows. The insert command is used to add one or
more rows to a table.
Syntax:
insert into <table_name> values (value_list);
Ex:
insert into emp values(123,‘prasad’,22,15000);
 SELECT Command:
SELECT supports the data retrieval. Data retrieval allows a user or an
application program to retrieve stored data from the database & use it.
Syntax:
Select <column_name> from <table_name>;
Ex:
Select name from emp;
 UPDATE Command:
UPDATE modifies the values of one or more columns in selected rows
of a table. The table to updated is named in the statement. The where clause
selects the rows of the table to modified. The set specifies which columns are to
be updated & calculates the new values from them.
Syntax:
Update <table_name> set <column_name1> = <value1>,
<column_name2> = <value2>………where <logical_expression>;
Ex:
Update emp set salary=20000 where name=’prasad’ ;
 DELETE Command:
Removing rows from the tables in SQL is easier than inserting them.
To delete rows we can use the DELETE Command. Again the where
clause is essential to delete. If we use the delete command without the
where clause, the contents of the entire table will be deleted.
Syntax:
Delete from <table_name> where <logical_expression>;
Ex:
Delete from emp where age=22;
GFGC CHIKKABASUR ( DML COMMANDS )

More Related Content

What's hot (8)

DML Commands
DML CommandsDML Commands
DML Commands
 
SQL Queries - DML Commands
SQL Queries - DML CommandsSQL Queries - DML Commands
SQL Queries - DML Commands
 
Sql DML
Sql DMLSql DML
Sql DML
 
Chapter8 my sql revision tour
Chapter8 my sql revision tourChapter8 my sql revision tour
Chapter8 my sql revision tour
 
CIS282 Midterm review
CIS282 Midterm reviewCIS282 Midterm review
CIS282 Midterm review
 
Mi0034 database management system
Mi0034   database management systemMi0034   database management system
Mi0034 database management system
 
Ch 9 S Q L
Ch 9  S Q LCh 9  S Q L
Ch 9 S Q L
 
Chapter9 more on database and sql
Chapter9 more on database and sqlChapter9 more on database and sql
Chapter9 more on database and sql
 

Similar to GFGC CHIKKABASUR ( DML COMMANDS )

Sql Commands_Dr.R.Shalini.ppt
Sql Commands_Dr.R.Shalini.pptSql Commands_Dr.R.Shalini.ppt
Sql Commands_Dr.R.Shalini.pptDrRShaliniVISTAS
 
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptxMy lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptxEliasPetros
 
Sql smart reference_by_prasad
Sql smart reference_by_prasadSql smart reference_by_prasad
Sql smart reference_by_prasadpaddu123
 
Sql smart reference_by_prasad
Sql smart reference_by_prasadSql smart reference_by_prasad
Sql smart reference_by_prasadpaddu123
 
Ddl &amp; dml commands
Ddl &amp; dml commandsDdl &amp; dml commands
Ddl &amp; dml commandsAnjaliJain167
 
Database Management System (DBMS).pptx
Database Management System (DBMS).pptxDatabase Management System (DBMS).pptx
Database Management System (DBMS).pptxGevitaChinnaiah
 
DML DATA MAINUPULATION LANGUAGE
DML DATA MAINUPULATION LANGUAGEDML DATA MAINUPULATION LANGUAGE
DML DATA MAINUPULATION LANGUAGEAbrar ali
 
MS SQLSERVER:Retrieving Data From A Database
MS SQLSERVER:Retrieving Data From A DatabaseMS SQLSERVER:Retrieving Data From A Database
MS SQLSERVER:Retrieving Data From A Databasesqlserver content
 
MS SQL SERVER: Retrieving Data From A Database
MS SQL SERVER: Retrieving Data From A DatabaseMS SQL SERVER: Retrieving Data From A Database
MS SQL SERVER: Retrieving Data From A Databasesqlserver content
 
Structured query language
Structured query languageStructured query language
Structured query languageRashid Ansari
 
BCS4L1-Database Management lab.pdf
BCS4L1-Database Management lab.pdfBCS4L1-Database Management lab.pdf
BCS4L1-Database Management lab.pdfKeerthanaP37
 
COMMANDS PPT(1).pdf
COMMANDS PPT(1).pdfCOMMANDS PPT(1).pdf
COMMANDS PPT(1).pdfBrahmamKolli
 
What is SQL Server?
What is SQL Server?What is SQL Server?
What is SQL Server?CPD INDIA
 
Assg2 b 19121033-converted
Assg2 b 19121033-convertedAssg2 b 19121033-converted
Assg2 b 19121033-convertedSUSHANTPHALKE2
 

Similar to GFGC CHIKKABASUR ( DML COMMANDS ) (20)

SQL commands
SQL commandsSQL commands
SQL commands
 
Sql Commands_Dr.R.Shalini.ppt
Sql Commands_Dr.R.Shalini.pptSql Commands_Dr.R.Shalini.ppt
Sql Commands_Dr.R.Shalini.ppt
 
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptxMy lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
 
Sql smart reference_by_prasad
Sql smart reference_by_prasadSql smart reference_by_prasad
Sql smart reference_by_prasad
 
Sql smart reference_by_prasad
Sql smart reference_by_prasadSql smart reference_by_prasad
Sql smart reference_by_prasad
 
Ddl &amp; dml commands
Ddl &amp; dml commandsDdl &amp; dml commands
Ddl &amp; dml commands
 
GFGC CHIKKABASUR ( DDL COMMANDS )
GFGC CHIKKABASUR ( DDL COMMANDS )GFGC CHIKKABASUR ( DDL COMMANDS )
GFGC CHIKKABASUR ( DDL COMMANDS )
 
2
22
2
 
Database Management System (DBMS).pptx
Database Management System (DBMS).pptxDatabase Management System (DBMS).pptx
Database Management System (DBMS).pptx
 
DML DATA MAINUPULATION LANGUAGE
DML DATA MAINUPULATION LANGUAGEDML DATA MAINUPULATION LANGUAGE
DML DATA MAINUPULATION LANGUAGE
 
Retrieving Data From A Database
Retrieving Data From A DatabaseRetrieving Data From A Database
Retrieving Data From A Database
 
MS SQLSERVER:Retrieving Data From A Database
MS SQLSERVER:Retrieving Data From A DatabaseMS SQLSERVER:Retrieving Data From A Database
MS SQLSERVER:Retrieving Data From A Database
 
MS SQL SERVER: Retrieving Data From A Database
MS SQL SERVER: Retrieving Data From A DatabaseMS SQL SERVER: Retrieving Data From A Database
MS SQL SERVER: Retrieving Data From A Database
 
Structured query language
Structured query languageStructured query language
Structured query language
 
BCS4L1-Database Management lab.pdf
BCS4L1-Database Management lab.pdfBCS4L1-Database Management lab.pdf
BCS4L1-Database Management lab.pdf
 
Oracle sql material
Oracle sql materialOracle sql material
Oracle sql material
 
sql.pptx
sql.pptxsql.pptx
sql.pptx
 
COMMANDS PPT(1).pdf
COMMANDS PPT(1).pdfCOMMANDS PPT(1).pdf
COMMANDS PPT(1).pdf
 
What is SQL Server?
What is SQL Server?What is SQL Server?
What is SQL Server?
 
Assg2 b 19121033-converted
Assg2 b 19121033-convertedAssg2 b 19121033-converted
Assg2 b 19121033-converted
 

More from GOVT FIRST GRADE COLLEGE CHIKKABASUR

GFGC CHIKKABASUR ( Presidant akila bharata kannada sahity sammelana )
GFGC CHIKKABASUR (  Presidant akila bharata kannada sahity sammelana )GFGC CHIKKABASUR (  Presidant akila bharata kannada sahity sammelana )
GFGC CHIKKABASUR ( Presidant akila bharata kannada sahity sammelana )GOVT FIRST GRADE COLLEGE CHIKKABASUR
 

More from GOVT FIRST GRADE COLLEGE CHIKKABASUR (20)

gfgc Entrepreneural development programme
gfgc Entrepreneural development programmegfgc Entrepreneural development programme
gfgc Entrepreneural development programme
 
GFGC CHIKKABASUR ( Human Resource Manangement)
GFGC CHIKKABASUR ( Human Resource Manangement)GFGC CHIKKABASUR ( Human Resource Manangement)
GFGC CHIKKABASUR ( Human Resource Manangement)
 
GFGC CHIKKABASUR ( human resource management)
GFGC CHIKKABASUR ( human resource management)GFGC CHIKKABASUR ( human resource management)
GFGC CHIKKABASUR ( human resource management)
 
GFGC CHIKKABASUR DETERMINANTS OF WORKING CAPITAL
GFGC CHIKKABASUR DETERMINANTS OF WORKING CAPITALGFGC CHIKKABASUR DETERMINANTS OF WORKING CAPITAL
GFGC CHIKKABASUR DETERMINANTS OF WORKING CAPITAL
 
GFGC CHIKKABASUR ( The theory of consumer behaviour )
GFGC CHIKKABASUR ( The theory of consumer behaviour )GFGC CHIKKABASUR ( The theory of consumer behaviour )
GFGC CHIKKABASUR ( The theory of consumer behaviour )
 
GFGC CHIKKABASUR ( Trade union movement )
GFGC CHIKKABASUR ( Trade union movement )GFGC CHIKKABASUR ( Trade union movement )
GFGC CHIKKABASUR ( Trade union movement )
 
GFGC CHIKKABASUR ( Meaning and functions of central bank )
GFGC CHIKKABASUR ( Meaning and functions of central bank )GFGC CHIKKABASUR ( Meaning and functions of central bank )
GFGC CHIKKABASUR ( Meaning and functions of central bank )
 
GFGC CHIKKABASUR ( BASIC FEATURES OF INDIAN CONSTITUTION )
GFGC CHIKKABASUR (  BASIC FEATURES OF INDIAN CONSTITUTION )GFGC CHIKKABASUR (  BASIC FEATURES OF INDIAN CONSTITUTION )
GFGC CHIKKABASUR ( BASIC FEATURES OF INDIAN CONSTITUTION )
 
GFGC CHIKKABASUR ( Presidant akila bharata kannada sahity sammelana )
GFGC CHIKKABASUR (  Presidant akila bharata kannada sahity sammelana )GFGC CHIKKABASUR (  Presidant akila bharata kannada sahity sammelana )
GFGC CHIKKABASUR ( Presidant akila bharata kannada sahity sammelana )
 
GFGC CHIKKABASUR ( Business Environment )
GFGC CHIKKABASUR (  Business Environment )GFGC CHIKKABASUR (  Business Environment )
GFGC CHIKKABASUR ( Business Environment )
 
GFGC CHIKKABASUR ( CEDOK )
GFGC CHIKKABASUR ( CEDOK )GFGC CHIKKABASUR ( CEDOK )
GFGC CHIKKABASUR ( CEDOK )
 
GFGC CHIKKABASUR ( Preamble of the constitution of india )
GFGC CHIKKABASUR ( Preamble of the constitution of india )GFGC CHIKKABASUR ( Preamble of the constitution of india )
GFGC CHIKKABASUR ( Preamble of the constitution of india )
 
GFGC CHIKKABASUR ( FINANCIAL ACCOUNTING )
GFGC CHIKKABASUR ( FINANCIAL ACCOUNTING )GFGC CHIKKABASUR ( FINANCIAL ACCOUNTING )
GFGC CHIKKABASUR ( FINANCIAL ACCOUNTING )
 
GFGC CHIKKABASUR ( PRINCIPLE OF MARKETING )
GFGC CHIKKABASUR ( PRINCIPLE OF MARKETING )GFGC CHIKKABASUR ( PRINCIPLE OF MARKETING )
GFGC CHIKKABASUR ( PRINCIPLE OF MARKETING )
 
GFGC CHIKKABASUR ( Market segmentation )
GFGC CHIKKABASUR ( Market segmentation )GFGC CHIKKABASUR ( Market segmentation )
GFGC CHIKKABASUR ( Market segmentation )
 
GFGC CHIKKABASUR(HTML)
GFGC CHIKKABASUR(HTML)GFGC CHIKKABASUR(HTML)
GFGC CHIKKABASUR(HTML)
 
GFGC CHIKKABASUR ( ISSUE OF SHARES )
GFGC CHIKKABASUR (  ISSUE OF SHARES )GFGC CHIKKABASUR (  ISSUE OF SHARES )
GFGC CHIKKABASUR ( ISSUE OF SHARES )
 
GFGC CHIKKABASUR(HTML)
GFGC CHIKKABASUR(HTML)GFGC CHIKKABASUR(HTML)
GFGC CHIKKABASUR(HTML)
 
GFGC CHIKKABASUR(HTML)
GFGC CHIKKABASUR(HTML)GFGC CHIKKABASUR(HTML)
GFGC CHIKKABASUR(HTML)
 
GFGC CHIKKABASUR ( Feminist criticism )
GFGC CHIKKABASUR ( Feminist criticism )GFGC CHIKKABASUR ( Feminist criticism )
GFGC CHIKKABASUR ( Feminist criticism )
 

Recently uploaded

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 

GFGC CHIKKABASUR ( DML COMMANDS )

  • 1. Govt First Grade College Chikkabasur Department of Computer Applications CLASS : Bcom III Year SUBJECT : Computer Applications In Business TOPIC NAME : DML (Data Manipulation Language) Commands Presented By : Prof.Rakesh Shettar Dept of Computer Applications
  • 2. DML (Data Manipulation Language) DML Commands are most frequently used SQL Commands. They are used to query & manipulate existing objects like tables. COMMANDS IN DML: 1. INSERT Command 2. SELECT Command 3. UPDATE Command 4. DELETE Command
  • 3.  INSERT Command: Once creation of the table is completed, it remains a skeletal structure unless it is populated with rows. The insert command is used to add one or more rows to a table. Syntax: insert into <table_name> values (value_list); Ex: insert into emp values(123,‘prasad’,22,15000);
  • 4.  SELECT Command: SELECT supports the data retrieval. Data retrieval allows a user or an application program to retrieve stored data from the database & use it. Syntax: Select <column_name> from <table_name>; Ex: Select name from emp;
  • 5.  UPDATE Command: UPDATE modifies the values of one or more columns in selected rows of a table. The table to updated is named in the statement. The where clause selects the rows of the table to modified. The set specifies which columns are to be updated & calculates the new values from them. Syntax: Update <table_name> set <column_name1> = <value1>, <column_name2> = <value2>………where <logical_expression>; Ex: Update emp set salary=20000 where name=’prasad’ ;
  • 6.  DELETE Command: Removing rows from the tables in SQL is easier than inserting them. To delete rows we can use the DELETE Command. Again the where clause is essential to delete. If we use the delete command without the where clause, the contents of the entire table will be deleted. Syntax: Delete from <table_name> where <logical_expression>; Ex: Delete from emp where age=22;