Answer Posted / kuldeep sharma
SQL Cross Join...>Cartesian product of both tables.
Example:
Let left table has 10 rows and right table has 8 rows then
SQL CROSS Join will return 180 rows combining each record
of left table with all records of right side table.
Consider the following example of CROSS Join:
USE PUBS
SELECT AU_FNAME, AU_LNAME, PUB_NAME
FROM AUTHORS CROSS JOIN PUBLISHERS
ORDER BY AU_FNAME
Above cross join will return 23 * 8 = 184 results by
multiplying each row of authors table with publishers table.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
List the types of recovery model available in sql server?
How to change the password of a login name in ms sql server?
What are sql dirty pages?
How does stuff differ from the replace function?
While migrating Microsoft SQL Server 2008 database to SQL Azure, what can be done to ensure the database connectivity does not degrade?
What is a not null constraint?
How to filter out duplications in the returning rows in ms sql server?
What is the preferred way to create a clustered and non-clustered index? Which index should you create first the clustered or non-clustered?
Suppose we have a table "MyTable" containing 10 rows, what query should be executed to update the odd rows "Salary" as 9000?
What are different types of constraints?
Characterize join and name diverse sorts of joins?
What is indexed view? How to create it?
How to create database with physical files specified in ms sql server?
What is subquery in sql?
Explain the different types of joins?