Showing posts with label SQL Question. Show all posts
Showing posts with label SQL Question. Show all posts

Interview questions with answers on SQL VOL-IV

Q.1  What is database Trigger?

Ans:  A database trigger is a PL/SQL block that can defined to automatically execute for insert, update, and delete statements against a table. The trigger can e defined to execute once for the entire statement or once for every row that is inserted, updated, or deleted.

Interview questions with answers on SQL VOL-III


Q.1  What is Index?

Ans:  An index is a physical structure containing pointers to the data. Indices are created in an existing table to locate rows more quickly and efficiently. It is possible to create an index on one or more columns of a table, and each index is given a name.

Interview questions with answers on SQL VOL-II


Q.1  Explain the use of the by GROUP BY and the HAVING clause?

Ans:  The GROUP BY partitions the selected rows on the distinct values of the column on which the group by has been done.The HAVING selects groups which match the criteria specified.

 

Interview questions with answers on SQL VOL-I

Q. 1 Define Primary Key?

Ans:  The primary key is the columns used to uniquely identify each row of a table.A table can have only one primary key. No primary key value can appear in more than one row in the table.

Q.2  Define Unique Key?

Ans:  Unique key is a one or more column that must be unique for each row of the table.It is similar to primary key. Primary key column will not accept a null. Whereas the unique key column will accept a null values.

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best Hostgator Coupon Code