الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

المطلوب اظهار الارقام التي في الجدول الاول ولاتوجد في الجدول الثاني

Featured Replies

بتاريخ:

السلام عليكم
في جدولين الاول يحتوي على حقل واحد من نوع رقمي no
والجدول الثاني يحتوي على حقلين من نوع رقمي from_no,to_no
المطلوب اظهار الارقام التي في الجدول الاول ولاتوجد في الجدول الثاني
الجدول الاول يحتوي
no
1
2
3
4
5
6
7
8
9
10
الجدول الثاني يحتوي على
from_no,to_no
2 4
6 9
النتيجة
1
5

تم تعديل بواسطة ناصرمصور

بتاريخ:

السلام عليكم

Select No
 From First_Table
Where Not Exists ( Select 1
                     From Sec_Table
                    Where First.Pk = Sec.Pk);



موفق.

بتاريخ:

ممكن ده يجبلك النتيجه

select no
from table1
where not exist(select 1 from table2 where table1.no <> table2.from_no)
  or not exist(select 1 from table2 where table1.c1 <> table2.to_no

بتاريخ:



select no

from tab1



where not exists (select 1 from tab2 where tab1.NO between tab2.FROM_NO and tab2.TO_NO)



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

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

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

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

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

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.