adspace


How many sql statements are used? Define them.

Answer Posted / Mohit Kumar Prasad

There are several SQL statements with defined purposes:n
1. SELECT: Retrieves data from a database.
2. INSERT: Inserts new records into a table.
3. UPDATE: Modifies existing records in a table.
4. DELETE: Deletes records from a table.
5. CREATE: Creates database objects such as tables, indexes, and procedures.
6. ALTER: Modifies the structure of existing database objects.
7. DROP: Deletes database objects.
8. TRUNCATE: Removes all records from a table.
9. COMMIT: Saves changes permanently.n10. ROLLBACK: Undoes all changes since the last commit.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is inner join faster than left join?

1287


If a cursor is open, how can we find in a pl/sql block?

1252


what is bcp? When does it used? : Sql dba

1065


Can we use distinct and group by together?

1146


how many tables will create when we create table, what are they? : Sql dba

1154


Can we rollback truncate?

1083


how to use regular expression in pattern match conditions? : Sql dba

1125


What is the best sql course?

1062


Does group by remove duplicates?

1120


define sql insert statement ? : Sql dba

1108


Can delete statement be rollbacked?

1065


What is the current version of sql?

1106


What is your daily office routine?

2351


Is primary key always clustered index?

1101


what are the advantages of sql ? : Sql dba

1153