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

What is difference between sas rename and lable?

4 Answers  


What is SAS? What are the functions does it performs?

0 Answers  


describe about metadata object? : Sas-di

0 Answers  


Name and describe three SAS functions that you have used, if any?

2 Answers  


name some data transformation used in sas di? : Sas-di

0 Answers  






name several ways to achieve efficiency in your program? : Sas programming

0 Answers  


firstobs and obs are working only option wise,but we are using infile statement with firstobs and obs in a statement wise? so firstobs,obs working at options and statemnts or not?

1 Answers  


How will you use the WHO Drug Dictionary for Reporting Clinical Trials?

0 Answers  


Have you ever linked SAS code? If so, describe the link and any required statements used to either process the code or the step itself.

2 Answers   Accenture,


data study; input Subj : $3. Group : $1. Dose : $4. Weight : $8. Subgroup; x= input(Weight,5.1); datalines; 001 A Low 220 2 002 A High 90 1 003 B Low 193.6 1 004 B High 165 2 005 A Low 123.4 1 ; Why does X get truncated? X shows up as 22 instead of 220,9 instead of 90 and 19.8 instead of 198? This problem doesnt happen with the values 193.6 and 123.4. This does not happen if x is read on the 5. informat instead of the 5.1 informat

2 Answers  


which domain is better in sas? clinical trails or banking

3 Answers  


how do the in= variables improve the capability of a merge? : Sas programming

0 Answers  


Categories