answersLogoWhite

0

Different types of joins in DBMS with examples?

Updated: 11/11/2022
User Avatar

MonikaB

Lvl 1
14y ago

Best Answer

Inner Join-: It is also called simple join. It returns all rows from both tables if there is any match.

SELECT * FROM R1, R2 WHERE R1.r1_field = R2.r2_field; SELECT * FROM R1 INNER JOIN R2 ON R1.field = R2.r2_field

Natural Joins -: it is used when two tables have all columens with same name

Left [Outer] Join -: Returns all rows from table 1 even if there is no match in table 2, all mismatch will be printed as null

Right [Outer] Join -: Returns all rows from table 2 even if there is no match in table 1, all mismatch will be printed as null

Cross Join -:This type of join is rarely used as it does not have a join condition, so every row of table 1 is joined to every row of table 2. For example, if both tables contain 100 rows the result will be 10,000 rows. This is sometimes known as a cartesian product and can be specified in either one of the following ways:

SELECT * FROM table 1 CROSS JOIN table2

SELECT * FROM table1, table2

kailash c kandpal

http://www.valve-store.com

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Different types of joins in DBMS with examples?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are some of DBMS Types?

1. Following are the different types of dbmsMySQLMicrosoft SQL ServerMS AccessFoxproSAPdBASETibero 6


Solved examples of normalization in DBMS?

solved examples of normalization


What are different types of hashing techniques are there in DBMS?

there are 2 types of hashing techniques 1- Static hashing 2-Dynamic hashing


What are three types of dbms?

Three types of DBMS (Database Management Systems) include relational DBMS, object-oriented DBMS, and NoSQL DBMS. Relational DBMS organizes data into tables with rows and columns, object-oriented DBMS stores data as objects and classes, and NoSQL DBMS handles unstructured and semi-structured data with flexible schemas.


Examples for dbms and rdbms?

My sql, Microsoft sql , Microsoft Access, dBase, Filemaker pro are the examples for dbms and oracle and sql server are the examples for rdbms


What are Different types of file organisation in DBMS?

Heap file organization Sequential File Organization Hashing File organization


Explain the types of dbms users?

There are four types of DBMS users,Naive UsersOnline UsersApplication Program UsersDatabase AdministratorNote: The description of above points is currently not available.


Hos is DBMS different from a Database?

DBMS is database management. Database is where the information is stored.


What is the Examples of 1 NF in DBMS?

i don't know answer of this ques. properly


What are the types of dbms attributes?

Types of Attributes in Dbms areKey or non key attributesRequired or optional AttributesSimple or composite AttributesSingle-valued and multi-valued AttributesStored, Coded or derived Attributes


Based on type of organization of data what are different types of DBMS?

what i think,regrding the different types of DBMS based on the type of organisation of data are: 1)An Enterprise DBMS which is designed for scalability and high performance. It must be capable of supporting very large databases, a large number of concurrent users, and multiple types of applications. 2)A Departmental DBMS, sometimes referred to as a workgroup DBMS, supports small to medium sized workgroups within an organization, and typically runs on a Unix, Linux, or Windows 2000 (or NT) server. 3)A Personal DBMS is designed to be used by a single user, typically on a low- to medium-powered PC platform. A personal DBMS product is suited only for small scale projects and should not be used to deploy multi-user applications. 4)A Mobile DBMS is a specialized version of a departmental or enterprise DBMS. It is designed to be used by remote users who are not usually connected to the network(eg:laptop or handheld device, such as a Palm PDA or PocketPC). Furthermore, the mobile DBMS provides a mechanism for synchronizing remote database changes to a centralized, enterprise or departmental database server.


How Armstrong rules are complete or sound in dbms?

Armstrong rules are complete or sound in dbms by clarifying the types of situations which need to be achieved and done.