Monthly Archives: January 2010

Interview Questions on Sql Server -Part 3

1. What are the Sql Joins? Sql Joins are the way to get data from many tables based on some logical conditions. The different  types of Joins in Sql Server are 1) Inner join or Equi join 2) Self Join … Continue reading

Posted in Interview Questions | Tagged | 22 Comments

Interview Questions On Sql Server -Part 2

1. What is the difference between the Union and Union All? 1) Union is used to select distinct data from the tables but Union All allows duplicate rows to be selected from the tables. 2) The second difference between Union … Continue reading

Posted in Interview Questions | Tagged | 27 Comments

Interview Questions on sql server -Part-1

1. What is the Normalization? Normalization:-Normalization can be defined as the process of organization the data to reduce the redundant table data to the minimum. This process is carried out by dividing the database into two or more than two … Continue reading

Posted in Interview Questions | Tagged | 24 Comments

Group by…..Having Clause

Group By:- Group By clauses is used to groups rows based on the distinct values of the specified columns. The syntax of the Group by clause is:-   Select column1, column2, column3, aggregate_function(expression )            From … Continue reading

Posted in SQL Basic, SQL Server | Tagged | 71 Comments

Difference Between Having and Where Clause in Sql Server

Both Having Clause and Where clause is used to filter the data coming from the Select statement, but still there are some differences between them. These difference are given below:- To show the difference between the Where Clause and the … Continue reading

Posted in Imp SQL Difference, Interview Questions, SQL Group By Having, SQL Server | Tagged | 39 Comments

How to find duplicate values in a table

Sometimes duplicate values in tables can create a major problem when we do not make a primary key or a unique key on a table. In these cases we need to find out the duplicate records and need to delete … Continue reading

Posted in Interview Questions, SQL Basic Concepts, SQL Server | Tagged , | 33 Comments

Sql Server View

Views:- View can be described as virtual table which derived its data from one or more than one table columns.It is stored in the database. It is used to implements the security mechanism in the Sql Server. For example, suppose … Continue reading

Posted in Most Imp SQL Concepts, SQL Server, SQL View | Tagged , , | 31 Comments

Second Normal Form (2NF)

Second Normal Form (2NF) :-A table is said to be in its Second Normal Form if it satisfied the following conditions:- 1) It satisfies the condition for the First Normal Form (1NF), 2) It do not includes any partial dependencies where a … Continue reading

Posted in SQL Normalization, SQL Server | Tagged , , | 36 Comments

Third Normal Form (3NF)

Third Normal Form (3NF) :- A table is said to be in the Third Normal form (3NF) if it satisfy the following conditions:- 1) It should be in the 2NF 2) It should not contain any transitive dependency which means … Continue reading

Posted in SQL Normalization, SQL Server | Tagged , | 46 Comments

First Normal form (INF)

First Normal Form (INF) A table is said to be in a First Normal Form (1NF) if it satisfy the following conditions:- 1)If the columns of the table only contain atomic values (Single, indivisible). 2)Primary key is defined for the … Continue reading

Posted in SQL Normalization, SQL Server | Tagged , | 13 Comments