Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Diff. b/w Full Outer Join And Cross Join?

Answer Posted / samba shiva reddy . m

Full Outer join it will take all the records from the both the tables.
Example:
Table1 : emp
______________
empid empname
______________
1 samba
______________
2 Anju
______________
NULL Shiva
______________
5 NULL
______________

Table2 : user

______________
uid uname
______________
1 raju
______________
2 Khan
______________
3 Sripal
______________
4 Sathosh
______________
NULL Srinu
______________
9 NULL
______________

We will write the Full Outer join on both the table

Select * from emp full outer join [user] on emp.empid=[user].uid

the result will be both the tables with NULL vslues

but in the cross join it is bsed on the rows

in the cross join it will give the combination of all rows

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are synonyms?

1015


What are the different SQL Server Versions you have worked on?

1060


Why we should not use triggers?

1014


What are user defined functions in ms sql server?

1064


What are the Advantages of using CTE in sql server?

1166


What is the full meaning of dml?

998


What are different types of statements that are supported by sql?

1099


What does select 1 mean?

977


What is set nocount on and what is set nocount off?

993


How to turn off warning messages during php execution?

1106


What is meant by dirty read?

1041


When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

1165


How to create new databases with "create database" statements?

1067


What are the difference between data mart and data warehouse? : sql server analysis services, ssas

1010


What does truncate do?

992