الانتقال إلى المحتوى
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.

جملة Select للأكثر من شرط

Featured Replies

بتاريخ:

إخواني ارجو مساعدتي في هذا الموضع هل هناك طريقة لعمل التالي :

select  sum(qui) where stock = '0' 
          sum(qui) where stock = '1'  
          sum(qui) where stock = '2'
          sum(qui) where stock = '3'
          sum(qui) where stock = '4'
          sum(qui) where stock = '5'
          sum(qui) where stock = '6'
          sum(qui) where stock = '7'

from transaction



كيف ممكن اعمل مجاميع لكل صنف في جملة واحدة ؟ هل ممكن

بتاريخ:

SELECT SUM (qui), stock
FROM TRANSACTION GROUP BY stock


SELECT SUM (qui)
 FROM TRANSACTION WHERE stock = :stock

تم تعديل بواسطة K a n d i L

  • بعد 7 سنة...
بتاريخ:

 

select  sum(emp_sal)

from emp 

where DEPTNO=1 

union

select  sum(emp_sal)

from emp 

where DEPTNO=2

union

select  sum(emp_sal)

from emp 

where DEPTNO=1 

union

select  sum(emp_sal)

from emp 

where DEPTNO=4

union

select  sum(emp_sal)

from emp 

where DEPTNO=1 

union

select  sum(emp_sal)

from emp 

where DEPTNO=5;

 

بتاريخ:

لو عايزهم جنب بعض

select ...... from ..... , (select ....... from......) );

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

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

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

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

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

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.