What are the joins,types of joins and thier functions?

Answers were Sorted based on User's Feedback



What are the joins,types of joins and thier functions?..

Answer / sree

There are two types of joins
1.Inner joins
2.Outer joins
The outer join is of 3 kinds
- Right join
- Left join
- Full join
Inner join have following characteristics
-return only matching rows
allow max of 32 tables to be joined at the same time
Outer joins--can retrive nonmatching as well as matching
rows.
--outer joins are limited to two tables at a time.

Is This Answer Correct ?    10 Yes 1 No

What are the joins,types of joins and thier functions?..

Answer / mehul.v.thakkar@gmail.com

There are basically three types of joins in SAS,
1. Inner Join
2. Left Join
3. Right Join

Inner Join gives the records which are present in both the
datasets.

Left join gives all the records that are present in left
dataset irrespective of whether they have a matching record
in the right dataset.

Right join gives all the records in the right dataset
irrespective of whether they have a matching record in the
left dataset.

Is This Answer Correct ?    4 Yes 1 No

What are the joins,types of joins and thier functions?..

Answer / kush

Joins are used to join the datasets horizontally.

There are 2 types of joins: inner and outer joins.Outer joins includes left,right and full join.

Inner Join gives the matching records which are present in both the datasets.

Left join gives all the records that are present in left
dataset and matching records in right dataset.

Right join gives all the records in the right dataset and matching records in left datasets

full join gives all matching and non matching records found in both the datasets.

Is This Answer Correct ?    2 Yes 0 No

What are the joins,types of joins and thier functions?..

Answer / shwetha

1.simple join:-to report matching data from various tables
2.inner join:- to report data.Conditional clause implemented
by on clause.For inner & outer join.
3.outer join:- left join:-to report data from the left side
table & matching data from right side table,right
join:-report overall data from right side& matching data
from the left side table,full join:- report overall data
from both tables & matching.
union join:- adding & combining.
self join:-the table join with same table
natural join:- report matching data from the variable tables
without using conditions.

Is This Answer Correct ?    2 Yes 1 No

What are the joins,types of joins and thier functions?..

Answer / saifudheen

inner join...outer join...its used in open sql statements
to retrieve data from database..

Is This Answer Correct ?    5 Yes 5 No

What are the joins,types of joins and thier functions?..

Answer / mehul thakkar

There are basically three types of joins,
1. Inner Join
2. Left Join
3. Right Join

Inner Join gives the records which are present in both the
datasets.

Left join gives all the records that are present in left
dataset irrespective of whether they have a matching record
in the right dataset.

Right join gives all the records in the right dataset
irrespective of whether they have a matching record in the
left dataset.

Is This Answer Correct ?    6 Yes 7 No

What are the joins,types of joins and thier functions?..

Answer / rus

There are three types of joins:
1. Cartesian Join
2. Inner Join
3. Outer Join

Cartesian Join gives the records for all the combinations
of both the datasets

Inner Join gives only the matching records from both the
datasets

outer join is of three types:
Left Join
Right Join
Self Join

Left Join gives both matched and unmatched records from the
left table/dataset

Right join gives both matched and unmatched records from
the right table/dataset

self join gives matching or unmatched records from the same
table based on the condition

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More SAS Interview Questions

How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

0 Answers   Oracle,


What is the difference between an informat and a format? Name three informats or formats.

13 Answers   Accenture, IBM,


How to create list output for cross-tabulations in proc freq?

0 Answers  


Do you use PROC REPORT or PROC TABULATE? Which do you prefer? Explain.

3 Answers  


in data set200 observation how to take 110,150,170 using sql procedure?

7 Answers   Accenture,






I use NOCUM/NOPERCENT option in the tables statement like this Proc freq data = deepak; tables x y /nocum nopercent; run; Here I get nopercent and nocum in the output only for variables x and y. How do i do it for all variables? Deepak

1 Answers  


what is the difference between x=substr(name,1,2); and substr(name,1,2)='x';

3 Answers   HSBC,


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

0 Answers  


data task; input id date date9. visit; cards; 101 01jan2015 1 101 02jan2015 2 101 06jan2015 3 102 04jan2015 1 102 07jan2015 2 102 12jan2015 3 103 06jan2015 1 103 13jan2015 2 ; run; write a program to find out missing dates between visits by each subject.

1 Answers  


what is sas? is a package or tool? give me introduction about sas?

11 Answers   Accenture,


How would you include common or reuse code to be processed along with your statements?

3 Answers   Accenture,


How would you delete observations with duplicate keys?

13 Answers   Accenture,


Categories