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

بتاريخ:

عند عرض التقرير يلاحظ حقل المرتب واذا كان اقل من 100 مثلا يضاف الية 10 ليصبح 110 خلال كل التقرير لجميع موظفى الادارة رقم 2 مثلا

بتاريخ:

الاخ الكريم
ما هو المطلوب ارجو التوضيح ؟!!!!!!!

بتاريخ:
  • كاتب الموضوع

المطلوب عرض تقرير يختار من جدول مرتبات الموظفين واذا كان المرتب اكبر من 100
جنية يضيف فى عمود مجاور فى التقرير نسبة 10% والشرط هو ان يكون الموظف يتبع ادارة رقم 2 فقط من بين الادارات
مع الشكر

بتاريخ:

you can do this by select
look at this select:
select deptno, ename, sal,
decode(deptno, 2, decode( sign(sal-100), -1, sal, sal*1.1), sal) new_sal
from emp;

and you can solve this problem by using formula item in you group

تم تعديل بواسطة chayah

بتاريخ:

الاخ الكريم
يمكن اضافة formula في الجروب حيث تضع معادلة فيها كالتالي
وتضع نوع formula
number
والقيمة 10.2

temp number(10.2);
begin if deptno=2 then
 if sal>100 then
    temp:=sal+(sal*0.1 );
    return(temp);
  end if;
end if;
end ;



وتظهره بالتقرير وهذه الطريقة افضل

تم تعديل بواسطة Admin05

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

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

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

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

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

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.