SQL tutorial 49: CASE - Simple Case Expression in Oracle Database (1/2)

preview_player
Показать описание
Case expression let you perform IF-THEN-ELSE in oracle database. There are two type of case in oracle simple case expression and searched case expression. This SQL Tutorial 49 is about Simple Case Expression.
● What Is Case Expression
● Syntax of Simple Case Expression
● Query 1. Column name of a table as Search expression in CASE
● Query 2. String as Search expression in CASE

Celebrating 1000 subscribers. Thanks a lot guys for all your love and support.
------------------------------------------------------------------------
►►►LINKS◄◄◄

-------------------------------------------------------------------------
Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage

--------------------------------------------------------------------------
►Make sure you SUBSCRIBE and be the first one to see my videos!
--------------------------------------------------------------------------

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
►►►Find me on Social Media◄◄◄
Follow What I am up to as it happens on

You can also Email me at

Please please LIKE and SHARE my videos it makes me happy.
Thanks for liking, commenting, sharing and watching more of our videos

♥ I LOVE ALL MY VIEWERS AND SUBSCRIBERS
Рекомендации по теме
Комментарии
Автор

Gracias a tu ejemplo pude ver qué me faltaba una comillas, eres el mejor.

TheEduardoR
Автор

bro you should put this video in your pl SQL playlist for convenience of viewers, and please speak slowly so that we can understand, and your videos are very helpful for us and full of information, thanks 👍

SunilKumar-iejh
Автор

Hi Manish, your content was good but you have to speak slowly, while you explaining something then everyone can understand easily .

venkysfdcqa
Автор

Sir can u provide a tutorial for mapping like one to many

priyakumarijaiswal
Автор

IF I take a number in condition then error occur, how resolve this error ?
query:
SELECT ENAME, DEPTNO,
(CASE DEPTNO
WHEN 1O THEN 'IT'
WHEN 20 THEN 'COMP'
WHEN 30 THEN 'CIVIL'
WHEN 40 THEN 'ENTC'
ELSE 'OTHER'
END
) AS DEPT_NAME
FROM EMPLOYEE;
error :ORA-00905: missing keyword
00905. - "missing keyword"
*Cause:
*Action:
Error at Line: 140 Column: 17

pradnyeshdoshi