شرح SQL Self Join والـ Union والفرق بين Any و All | كورس SQL كامل للمبتدئين 2026

تعلم كيفية إتقان الـ Self Join والـ Union في SQL مع شرح عملي للفرق بين Union و Union All وعوامل المقارنة Any و All. دليلك الشامل لاحتراف قواعد البيانات SQL من الصفر في فيديو واحد.
في هذا الدرس، نتعمق في مفاهيم متقدمة وبسيطة في نفس الوقت داخل لغة SQL. نبدأ بإعادة شرح الربط الذاتي (Self Join) باستخدام مثال "المدير والموظف" الشهير، وكيفية التعامل مع القيم الفارغة (Null) باستخدام Left Join. كما ننتقل لشرح كيفية دمج الجداول باستخدام Union و Union All، وختاماً شرح كيفية استخدام Any و All مع الاستعلامات الفرعية (Subqueries) لتحليل البيانات بكفاءة.
00:00 مقدمة ومراجعة السيلف جوين (Self Join)

00:45 مثال عملي: علاقة المدير والموظف (Hierarchy)

02:14 الفرق بين Inner Join و Left Join في السيلف جوين

04:00 شرح كود SQL لعمل Self Join باستخدام الـ Aliases

07:55 تفصيل علاقة المعرفات (ID vs Manager ID)

11:15 الرد على أسئلة المتابعين حول مسميات الأعمدة الوهمية

14:14 شرح الـ Union والـ Union All (تجميع البيانات)

14:55 مثال عملي على اليونيون (مع وبدون تكرار)

15:50 شرح الـ Any والـ All في الـ Subqueries

17:35 الفرق في النتائج بين Any و All (مثال الرواتب)
#SQL #Databases #SelfJoin #Union #DataAnalysis #تعلم_برمجة #قواعد_بيانات #سيكوال #Programming #DataScience
----------------------------------------­----------------------------------------­---
رابط القناة الاحتياطية:https://bit.ly/3OPfKTp
👈يمكنك دعمنها على paypal لتطوير المحتوى:http://bit.ly/39w4ERv
او من خلال الايميل www.kmteachtechnology333@gmail.com
----------------------------------------­----------------------------------------­---
👈تابعنا على موقعنا الرسمى ليصلك كل جديد :https://bit.ly/2J9wtnL
----------------------------------------­----------------------------------------­---
👍 ___ LIKE ❤ SHARE ❤ SUBSCRIBE ___ 👍
تابعنا عبر مواقع التواصل الاجتماعى
ما عليك سوى الانتساب إلى هذه القناة للاستفادة من المزايا اهمها التواصل بشكل خاص :
https://www.youtube.com/channel/UCbbVnfZDv78L2k4ws69Hbfw/join Receive SMS online on sms24.me

TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.

Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.

Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.

TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.

Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.

@YouTubeReaderBot allows you to subscribe to Youtube channels.

By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.

Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.

Look for new videos or channels and share them with your friends.

You can start using our bot from this video, subscribe now to شرح SQL Self Join والـ Union والفرق بين Any و All | كورس SQL كامل للمبتدئين 2026

What is YouTube?

YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.