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

اريد الحل في اسرع وقت لو سمحتم Sorting By Date

Featured Replies

بتاريخ:

i have three different queries and i want to merge them and sort them by date
how can i do that please as soon as possible

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

بتاريخ:

could you send the queries and the tables that are used in the query or something like this to know what you want exactly

بتاريخ:

السلام عليكم
فهمت من سؤالك أنك تريد جمع نتائج الاستعلامات الثلاثة معا وترتيب النتيجة حسب حقل التاريخ , لجمع النتائج معا استخدم UNION ( لاحظ أن عدد ونوع و ترتيب الاعمدة في الاستعلامات الثلاثة يجب أن يكون متطابقا ) :

SELECT X1,Y1,DT1 FROM TABLE1  ---QUERY1
UNION
SELECT X2,Y2,DT2  FROM TABLE2  ---QUERY2
UNION
SELECT X3,Y3,DT3  FROM TABLE3  ---QUERY3
ORDER BY 3;



حيث أن ORDER BY 3 تشير إلى أن الترتيب يتم حسب قيم العمود الثالث وهو التاريخ .

أرجو أن يكون هذا قصدك من السؤال .
بالتوفيق

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

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

queries الي عندي ليس متطابقين

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

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

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

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

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

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.