how to join two table?

Answer Posted / partha

There are two types of join inner join and outer join.

(1)Inner join will return all the common records in both the
table
Ex: Select e.ename from Employee e,Dept d where e.did=d.did;

(2)Outer join is of 3 types Left Outer,Right Outer and full
outer.
Left outer retrieves common records from both the table and
all the record from the left table.
Similarly Right Outer all the records from right table and
Full outer from both the tables

Is This Answer Correct ?    21 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a database in computer?

480


What is string in database?

459


How is data stored in a relational database?

501


What are the benefits of modeling?

485


What is user and end user?

505






Define transaction and transaction isolation levels?

542


Which free database is best?

450


What is the best database for big data?

568


Who is communication horizons?

507


What is order by clause?

545


Why are recursive relationships are bad? How do you resolve them?

581


What is the 3-tier architecture?

508


How to retrive a single data from a database

581


Explain the term entity set in dbms?

598


What do you understand by cursor? Mention the different types of cursor?

464