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

مشكلة ارجو الحل في Sql+

Featured Replies

بتاريخ:

i want to know how to search in the table with concern to upper case or lower case
[يسار][/left]

i want to bring me back both
i wrote this code but if i know a part of the name only as follow

[/يسار]:



for search with a part of the name:
select empno,ename,sal
from emp
where ename like
'sm%';[يسار]



for bring back both names in upper and lower:

[/يسار]


select empno,ename,sal[يسار]


from emp

[/يسار]


where upper (ename)=upper('smith');




but i cannot do it both can any one help me plz
thanks

بتاريخ:

take this for the first

select empno,ename,sal
from emp where lower(ename) like lower('sm%')



or

select empno,ename,sal
from emp where upper(ename) like upper('sm%')





but second correct try again

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

thanks for your fast response but i try it and it came back with result (no row selected) but there is records to show

بتاريخ:

select empno,ename,sal
from emp where (upper(ename) like 'sm%') or (lower(ename) like 'sm%');

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

no my dear :


the query is correct and bring result
my be this row delete from your databse
attention you work in scott schema





[يسار][/يسار]i am sorry i wrote your code with = that is the mistake
i am sorry again you are correct

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

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

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

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

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

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.