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 responsibility of the construction superintendent

1654


What is the difference between drop table and delete table?

541


can all users have the privilage to use the sql statement select * (dml)?

633


What r the comman abends in db2, jcl and cobol???????

1812


What is host variable in db2 cobol?

591






I HAVE 500 ROW TO UPDATE I WOULD LIKE TO USE ROLLBACK ALONG WITH COMMIT.WHAT IS THE SYNTAX TO CODE COMMIT AND ROLLBACK FOR EVERY 100 ROWS.AND HOW THE CURSOR ROLLBACK TO THE LAST COMMITTING POINT.

2748


What is package in db2 mainframe?

552


Give the name of some fields form sqlca.

607


What is database manager in db2?

543


What is dbrm library?

571


Is db2 free?

678


How can you find out the # of rows updated after an update statement?

631


What is copy pending and check pending in db2?

570


How do you eliminate duplicate values in db2?

677


List out the data types available.

694