Cognizant interview question

Give examples of some SQL commands

Interview Answer

Anonymous

9 Jun 2026

I mentioned the Major categories of SQL commands like DDL and DML .DDL commands are used for defining and modifying database structure while DML commands are used for working with data in the table or to manipulate data on to the tables.Some examples are:Insert,Delete,Select,Alter,Create,Drop,Update