What technique is used to retrieve data from more than one
table in a single SQL statement?

Answer Posted / karthik

select <column name of 1st table>,<column name of 2nd table>
from <Table name 1st> join <Table name2nd> where
table1.columnname = table2.columnname;

atleast one column should be unique in both the tables.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is iseries database?

597


How to rename a table in DB2 ?

639


Which component is responsible for processing sql statements and selecting access paths?

670


How is deadlock resolved?

650


What is netezza database?

573






before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?

1714


What is access path in db2?

563


How and when does the db2 enforces the unique key?

615


What is package in db2 mainframe?

559


What is the role of the data page in the db2 database?

587


What is the latest version of ibm db2?

740


What is buffer pool in the db2 database?

617


What is copy pending and check pending in db2?

578


What is db2 stogroup?

675


What's The Percentage Free Space ?

771