What are the four main query statements?

Answer Posted / mohan kuamr

# 3

The main four query statements are:-
1.) select
ex:select * from table_name

2.) insert
ex:insert into table_name(c1,c2,c3...) values(v1,v2,v3..)

3.) delete
ex: delete * from table_name

4.) update
ex:update table_name
set col_name='value'
where col_name='something'
note:examples are based on ms sql server database.k

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the definition for sql server 2000?

599


What are click through reports?

99


What are the restrictions that views have to follow?

565


What is the default fill factor value?

587


What do you know about system database? : SQL Server Architecture

499






What is usually the first word in a sql query?

601


Do you know what are pages and extents? : SQL Server Architecture

556


Can two different columns be merged into single column? Show practically?

612


What is meant by indexing files?

583


How we can compare two database data?

521


What is a matrix in ssrs?

101


Write a query to include a constraint, to check whether the employee salary is greater than 5000?

1127


What are the database objects? : SQL Server Architecture

555


Why use update_statistics command in sql server?

558


You want to implement the many-to-many relationship while designing tables. How would you do it?

567