Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / siri

1)select ssn from b;
2)select b1.ssn from a a1,b b1 where a1.ssn=b1.ssn
3)seelct b1.ssn from a a inner join b b1 on a1.ssn=b1.ssn

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can there be more than one cursor open for any program?

1143


What is the maximum number of columns in a db2 table?

1240


What is image copy in db2?

973


What is the connection string to connect to the DB2 Database ?

1078


Explain dclgen.

1163


My sql statement select avg(salary) from emp yields inaccurate results. Why?

1061


Discuss about db2 bind?

1064


What is the use of commit in db2?

1031


What is the function of logging in the db2 database?

1082


What are host variables in db2?

1007


Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference

1356


What is phantom read in db2?

1100


Mention the length of physical storage of the given data types of db2 – date, timestamp, time

1055


Which command is used to remove all rows from a table?

1069


Can you tell me how can you find out the # of rows updated after an update statement?

1064