Relational Algebra और Operation – Relational Algebra In DBMS In Hindi

Relational Algebra In DBMS In Hindi
3.9/5 - (54 votes)

Relational Algebra और Operation – Select, Project, Union, Intersection etc.. In Hindi, Relational Algebra In DBMS  In Hindi.

Relational Algebra In DBMS In Hindi

Relational Algebra In DBMS In Hindi
Relational Algebra In DBMS In Hindi

Relational Algebra In DBMS In Hindi –  हेल्लो Engineers कैसे हो , उम्मीद है आप ठीक होगे और पढाई तो चंगा होगा आज जो शेयर करने वाले वो DBMS के   के बारे में हैं।

तो यदि आप जानना चाहते हैं की Relational Algebra In DBMS In Hindi   के बारे में तो आप इस पोस्ट को पूरा पढ़ सकते हैं , और अगर समझ आ जाये तो अपने दोस्तों से शेयर कर सकते हैं।

  1. सभी प्रकार के DBMS Key हिंदी में – Keys In DBMS In Hindi
  2. हिंदी में – Aggregation, Generalization, Specialization In Hindi

Relational Algebra In DBMS In Hindi

Relational Algebra In DBMS In Hindi:- Relational Algebra operations का एक समूह होता हैं जिसका प्रयोग relation  से data  को manipulate करने के लिया किया जाता हैं।

Relational  algebra  एक procedural language हैं इसमें operator का प्रयोग queries को perform  करने के लिए जाता हैं और यह DBMS  में प्रयुक्त होने वाली intermediate  language  हैं।


Relational Algebra Operations In DBMS In Hindi

  1. Select Operation (σ)
  2. Project Operation (∏)
  3. Union Operation (∪)
  4. Set Difference (−)
  5. Cartesian Product (Χ)
  6. Intersection ( ∩ )

1.Select Operation(σ) In Hindi 

  • Select operation को sigma  symbol ( σ ) द्वारा दर्शाया जाता हैं, इस operator  का use  tuples को select करने के लिए किया जाता हैं जो की दी हुई condition  को satisfy  करे।
  • यह operation  एक unary operation हैं जो सिर्फ एक ही relation या table में define होता हैं।

Example 1

σ topic = "Database" (Student)

Output – Selects tuples from Student where topic = ‘Database’.

Example 2

σ topic = "Database" and author = "csestudies "( Student)

Output – Selects tuples from Student where the topic is ‘Database’ and ‘author’ is csestudies.

Example 3

σ sales > 50000 (Customers)

Output – Selects tuples from Customers where sales is greater than 50000


2.Project Operation (∏) In Hindi 

  • Project operation को (∏) pi symbol द्वारा दर्शाया जाता हैं, यह भी एक unary operation हैं अर्थात इसमें सिर्फ एक relation  होता हैं।
  • project operation का use  एक relation में से attribute के subset को select करने के लिए किया जाता हैं और जिन attribute  को select  नहींकिया जाता हैं उन्हें eliminate कर दिया जाता हैं या उन्हें हटा दिया जाता हैं।
CustomerIDCustomerNameStatus
1राहुलActive
2रामActive
3श्यामInactive
4साहूजीActive
Project Operation (∏) In Hindi 

Here, the projection of CustomerName and status will give

Π CustomerName, Status (Customers)
CustomerNameStatus
राहुलActive
रामActive
श्यामInactive
साहूजीActive
Project Operation (∏) In Hindi 

3.Union Operation (∪) In Hindi 

  • Union Operation को हम (∪) symbol द्वारा दर्शाया जाता हैं।

R= P∪Q

जहाँ P  and Q दो input relation हैं और R output relation हैं।

  • Union Operation में दो input relation होते हैं जो की union compatible  हो।
  • इस operations का output relation उन tuples (ROW ) को contain करती हैं जो Relation 1  and Relation 2  में हो।
  • और जो duplicate tuples होते हैं उन्हें destroy या eliminate कर दिया जाता हैं।

Example:-

Table A
 
Table B
column 1column 2 column 1column 2
11 11
12 13
Union Operation (∪) In Hindi 

A ∪ B gives

Table A ∪ B
column 1column 2
11
12
13
Union Operation (∪) In Hindi 

4.Set Difference (−) In Hindi

difference operations को (−) symbol द्वारा दर्शाया जाता हैं।

Syntax:- 

R = P –  Q

difference operation, Relation 1 में स्थित common tuples को हटा देता हैं तथा जो हमारा output  आयेग वह Relation 1 में स्थित tuples होंगे जो की Relation 2  में ना हो।

Example:-

Table A
 
Table B
column 1column 2 column 1column 2
11 11
12 13
Set Difference (−) In Hindi

 C = A – B

Table A – B
column 1column 2
12
Set Difference (−) In Hindi

5.Cartesian Product (Χ) In Hindi

  • इस operation को X Symbol द्वारा दर्शाया जाता हैं।

Syntax:- R = PXQ

  • इस operator का use दो विभिन्न relation की information को एक relation में include करने के लिए किया जाता हैं।
Cartesian Product (Χ) In Hindi
Cartesian Product (Χ) In Hindi

6. Intersection ( ∩ ) In Hindi

  • intersection operation को ∩ symbol द्वारा दर्शाया जाता हैं।
  • इस operator का प्रयोग दो relation में से common tuples को select करने के लिए किया जाता हैं।

Syntax:- A ∩ B

Example:-

Table A
 
Table B
column 1column 2 column 1column 2
11 11
12 13
Intersection ( ∩ ) In Hindi
Table A ∩ B
column 1column 2
11
Intersection ( ∩ ) In Hindi

Conclusion Of  Relational Algebra In DBMS In Hindi

दोस्तों इस पोस्ट को पूरा पढने के बाद आप तो ये समझ गये होंगे की Relational Algebra In DBMS In Hindi और आपको जरुर पसंद आई होगी , मैं हमेशा यही कोशिस करता हु की आपको सरल भासा में समझा सकू , शायद आप इसे समझ गये होंगे इस पोस्ट में मैंने सभी Topics को Cover किया हूँ ताकि आपको किसी और पोस्ट को पढने की जरूरत ना हो , यदि इस पोस्ट से आपकी हेल्प हुई होगी तो अपने दोस्तों से शेयर कर सकते हैं।

2 Trackbacks / Pingbacks

  1. DBMS के सभी ज्वाइन Operation - Join Operation In DBMS In Hindi
  2. Normalization और उसके सभी Normal Form हिंदी - Normalization In Hindi

Comments are closed.