الانتقال إلى المحتوى

عندي واجب بيتسلم وأحتاج مساعدة الخبراء


Miss Neon

Recommended Posts

السلام عليكم و رحمة الله وبركاته
إخوتي الأعضاء ........
اللي عنده علم ياليت يتفضل عليه به لأنني طالبة لسا مبتدأه في هالشغلات
لدي واجب و أتمنى أن تساعدوني في حله .......... ولكم خالص الشكر والتقدير
الواجب كالتالي:

Write a complete PL/SQL program that's manage a new year budgets as follow:

1) increase all salaries with 30% of employee curent salary( this is a Royal Grant)

2) The annual increase for each employee depending on it's job (note that if the employee reaches the maximum salary of its job then no the annual increase for him )

3) There is a new Allowance for all employees in Sales department because of the work pressure it is equal to 15% of employee current salary.

4) For each of the above budget jobs (1,2.3) the processing should be either complete for all employees under condition or you should not confirm any changes for that job so you can process it later separately.

5) Print a report of your changes in the salary order by salary list pervious salary and new salary for each employee and a massage note one or more changes that perform for each employee ('30% Royal Grant ','Annual increase = 500', '15% pressure Allowance') .

6) Print another report to find the total number of salaries for each department .


ولكم خالص دعائي بالتوفيق

أختكم نيون
رابط هذا التعليق
شارك

  • بعد 2 أسابيع...

اختي نيون حقيقة أنا ما عندي خبره واسعة في برمجة Pl/sql لكن طلع معي هالجواب للسؤال الأول وماني متأكد لكن ان شاء الله الأخوان في المنتدى يساعدونك



الجواب:
update employees
set salary = salary + salary*.3

هذا على اعتبار ان هناك جدول اسمه employees يحتوي بيانات الموظف ومن ضمنها salary

رابط هذا التعليق
شارك

اشكرك يا باشا على تفاعلك ............. والله يجزاك خير ويعطيك العافية ما قصرت
وان شاء الله
راح اقيس السؤال الثاني والثالث على جوابك
*************************************
ويتبقى لدي المشكلة الأكبر وهي السؤالين الأخيرين (عجزت بجد عن حلهم)

اتمنى لو احد يقدر يفيدني فيهم لأني حاولت احلهم وبحثت كثير ما لقيت شي يفيدني

شكرا

رابط هذا التعليق
شارك

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

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

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

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

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

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