الانتقال إلى المحتوى

سؤال فى Set Operators هل ليس له حل


mohamed_suez

Recommended Posts

2. The HR department needs a list of countries that have no departments located in them. Display the country ID and the name of the countries. Use set operators to create this report.




هل له حل عندكم أنا جربت ووصلت لبدايات وهى



column to_number(null) loc_id_dum noprint
select to_number(null) loc_id_dum,country_id,country_name
from countries

where (to_nuber(null) loc_id_dum,country_id) in
                    (select location_id,to_char(null)cou_id_dum,
                              to_char(null) cou_nm_dum
                                        from locations
                                         MINUS
                                         select location_id
                                           from departments)

رابط هذا التعليق
شارك

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية