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

Oracle Basic Interview Questions

Featured Replies

بتاريخ:

[وسط]Oracle Basic interview questions




1. What's the command to see the current user name?

Sql> show user;




2. What is the command to change the SQL prompt name?

SQL> set sqlprompt 'TYRO->'
TYRO-1 >




How do you switch to DOS prompt from SQL prompt?

SQL> host





How do I eliminate duplicate rows in an Oracle database?

DELETE FROM table_name WHERE ROWID NOT IN (SELECT   MAX (ROWID)
                             FROM table_name GROUP BY duplicate_values_field_name);




5. How do I display row number with records?
Use the row-num pseudocolumn with query, like

SQL> select rownum, ename from emp;




6. How do you display the records within a given range?SELECT ROWNUM, empno, ename

FROM emp WHERE ROWID IN (SELECT ROWID
                  FROM emp WHERE ROWNUM < = &rangeend
                MINUS
                SELECT ROWID
                  FROM emp WHERE ROWNUM < &rangebegin);




7. The NVL function only allows the same data type. But here's the task: if the commission field is null, then the text 'Not Applicable' should be displayed, instead of blank space. How do you write the query?

SQL> select nvl(to_char(comm.),'Not Applicable') from emp;





8. How do you view version information in Oracle?

SQL> select banner from $version;





who answer this questions ?[/وسط]

  • بعد 1 شهر...
بتاريخ:

الله ينور عليك

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

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

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

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

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

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.