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 / naidu sekhar yandrapu

SELECT SSN FROM B;

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dbrm? What it contains? When it will be created?

589


How does a cursor work?

554


How do I copy a table in db2?

571


What is image copy in db2?

564


What is explain in db2?

579






Give the name of some fields form sqlca.

607


How to rename a table in DB2 ?

631


Which components manage deadlocks in db2?

602


Is db2 relational database?

567


Comment whether dclgen is mandatorily used. If not, then what is the point of using it?

599


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

626


What is the purpose of rollback and commit?

589


What is the difference between cursor stability and repeatable read isolation levels?

670


In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

632


What is db2 plan table?

612