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

بتاريخ:

. Show the last names of all employees together with the number of years and the number of
completed months that they have been emploed..

بتاريخ:

عايزك تعمل select للlastname ||عدد السنين الاشتغلها الموظف ده ||عدد الشهور الاشتغلها
وعدد السنين والشهور هتجيبهم عن طريق ال hire_date

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

شكرا ياسارة على ردك بس ممكن توضحى اكتر وممكن السؤال دة كمان اعرف عايز اية؟
. Show the names, salaries, and the number of dollars (in thousands) that each employee earns.

بتاريخ:

انا بجرب فيها عدد السنين الكامله عادى هتجبها كده

select employee_id,last_name,trunc(((sysdate-hire_date)/365),0)"no of years"

from hr.employees


بس عدد الشهور المتبقيه هى اللسه بجرب فيها
هو ممكن تستخدم داله months_between
عشان تعرف عدد الشهور بين تاريخين بس انا شابفه ان بكده برده بنجيب عدد السنين

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

بتاريخ:

السؤال التانى مش فاهمه هل هو عايز كده مش فاهمه بصراحه عايز ايه

SELECT  last_name,salary,TO_CHAR(salary,'fm$99,999.00') 
from hr.employees

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

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

شكرا يا سارة جربى السؤال الاول وقولى بس السؤال التانى انا كنت فاكر زيك كدة بس طلع لاء.. انا نفسى مش فاهم السؤال ولما عملتة زى مانتى كاتباة كدة طلع مش هوا دة المطلوب

بتاريخ:
شكرا ياسارة على ردك بس ممكن توضحى اكتر وممكن السؤال دة كمان اعرف عايز اية؟
. Show the names, salaries, and the number of dollars (in thousands) that each employee earns.


عايز يعرف هو بياخد كام الف يعنى ف المرتب بتاعه

[left]select last_name,salary,to_char(salary/1000,'fm99,999')
from employees

[/left]

بتاريخ:
. Show the last names of all employees together with the number of years and the number of
completed months that they have been emploed..


هو عايز اسماء الموظفين والسنوات ال هما اشتغلوها والشهور دا ال فهمته
[left]
select last_name,trunc(months_between(sysdate,hire_date)/12 ,0) years,trunc(months_between(sysdate,hire_date),0) months
from employees[/left]



لو عايزهم مع بعض تستخدم ||

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

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

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

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

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

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.