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

بتاريخ:

 Create a PL/SQL block to retrieve the last name and department ID of each employee from the (EMP) table for those employees whose EMPID is less than 7500.
1- From the values retrieved calculate the annual commission of every employee and print it out using DBMS_OUTPUT.PUT_LINE.
2- Using a loop, retrieve the employee name information and the salary information from the PL/SQL tables and display it in the window, using DBMS_OUTPUT.PUT_LINE. Display these details for the first 15 employees in the PL/SQL tables


الحل :
select last_name,department_ID from emp where empid<7500
select Employee.Emp_ID,Emp_Name ,sum(commission) From Employee inner join Emp_commission On Employee.Emp_ID=Emp_commission.Emp_ID
Group By Employee.Emp_ID,Emp_Name
declare

cursor Emp is
select
Emp_Name,Sallery
from Employee where ROWNUM<=15;
begin
for r_Emp in Emp loop
dbms_output.put_line(r_Emp.Emp_Name||' '||
r_Emp.salary );
end loop;
end;

iهل هذا الحل صحيح ارجو الرد سريعا

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

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

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

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

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

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.