I have two tables A and B. Both tables are connected with SSN
number as foreign key. I want to retrieve a column data from B
table. How will you write a query?

Answer Posted / harsha

One can use Inner Join to get data from two tables.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the role of union all and union

881


what is the sqlcode -501

12168


How do you select a row using indexes in db2?

859


What is dbrm? What it contains?

920


What is syscat in db2?

783


What is a cursor in programming?

835


What is a db2 table?

779


what is a corelated subquerry?

841


What is check constraint. Explain with example.

860


What is bind package and plan in db2?

811


How to retrieve rows from a db2 table in embedded sql?

1009


How to check sequence on a table in db2?

822


Is db2 a mainframe database?

748


What is precompiler in db2?

783


What is null value in db2?

772