Category: SQL Server

0

SQL PRIMARY KEY Constraint

SQL PRIMARY KEY constraint uniquely identifies each row in a database table. A primary key column cannot have NULL values. A table can have only one primary key with single or multiple fields. Primary...

0

SQL UNION ALL Operator

SQL UNION ALL operator is used to combine the results of two or more SELECT statements. Each SELECT statement within the UNION ALL must have the same number of columns and all columns should have...

0

SQL UNION Operator

SQL UNION operator is used to combine the results of two or more SELECT statements. Each SELECT statement within the UNION must have the same number of columns and all columns should have same order...

0

SQL CROSS JOIN

SQL CROSS JOIN returns all records where each row from the first table is combined with each row of the second table. CROSS JOIN returns the Cartesian product of the tables involved in join if...

0

SQL FULL JOIN

SQL FULL JOIN returns all the rows from the left table and all the rows from the right table. If there are no matching values in either of the tables then non-matching values returned as NULL....

0

SQL RIGHT JOIN

SQL RIGHT JOIN returns all the rows from the right table mentioned with the RIGHT JOIN clause. If there are no matching rows in left table then output rows will return NULL values. Syntax SELECT...