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

بتاريخ:

اكتب استعلام عندما اضغط على زر استعلام يعرض الموظفين الذين تقع رواتبهم بين أعلى راتب أقل راتب

post-123914-0-41176300-1365976878_thumb.jpg

بتاريخ:

 

السلام عليكم

 

you can use set_block_property to define the where clause of employee block in WHEN-BUTTON-PRESSED trigger and then execute_query on employee block

 

SET_BLOCK_PROPERTY('block_name', default_where,  'your where clause');   build your where clause depending on min & max salary 

 

to get all employees within your salary range

 

Best Regards

 

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

 

select max(sal),min(sal) into :t1,:t2 from emp;
set_block_property('emp',defult_where,'sal between'||:t1||'and'||:t2 );
go_block('emp');
execute_query;
 

 

هذا  الكود بس فيه خطأ

تم تعديل بواسطة Ahmad.Hasan

بتاريخ:

 

your code is right but need some updates B)

1st  default_where not defult_where

2nd  add spaces between your code and the two salaries

 

set_block_property('EMP', default_where,'sal between ' || :min_sal || ' and '||:max_sal

 

--------------------------------------------------------------------------------------------------------------------------------

 

If you have some errors you can display it by  CTRL + SHIFT + E and trace the existing query as a normal select statement

 

 

Regards 

 

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

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

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

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

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

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

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.