Oracle PL SQL interview question | SQL to Delete duplicate records

  Рет қаралды 75,070

Siva Academy

Siva Academy

Күн бұрын

Oracle PL SQL interview question | SQL to Delete duplicate records
sivakacademy.blogspot.com/202...
correlated subquery : • Oracle PL SQL intervie...
List of all Interview questions @ sivakacademy.blogspot.com/p/s...
Oracle Interview questions and Answers at • oracle interview quest...
Oracle 18C New features at • Oracle 18C New Feature
Oracle 12C New features at • Oracle 12C New Feature...
Oracle PLSQL records and collections at • oracle plsql records a...

Пікірлер: 98
@jay.shah96
@jay.shah96 4 жыл бұрын
This is how I practice, I read the question in thumbnail and try to solve on my own.. this helps a lot! Today my solution was correct!! Thank you Sir, your videos are great.
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Its my pleasure, thank you 🙏
@vigneshkrish4742
@vigneshkrish4742 4 жыл бұрын
Hi siva, thank you for the wonderful videos and I have a doubt here in the second method (core related sub query) is that mandatory to use min / max keyword in inner query ?
@VinayKumar-ij4eu
@VinayKumar-ij4eu 2 жыл бұрын
Hi Siva, Thanks for this video, just one question when I am deleting the duplicate records and then run select * command and then rollback, so it is deleting entire data of my table...any solution for this?
@sujaa1000
@sujaa1000 4 жыл бұрын
Very clear explanation, and it was very helpful. Thank you very much Siva, Sujaa
@SivaAcademy
@SivaAcademy 4 жыл бұрын
You are welcome 😊. Thanks Again
@bharatbagul9292
@bharatbagul9292 4 жыл бұрын
Thanks Siva.. much clearly you explain the things..
@SivaAcademy
@SivaAcademy 4 жыл бұрын
You are welcome 😊
@joseronald111
@joseronald111 4 жыл бұрын
Thank you sir for another good video:) thank you so much all your videos and for the efforts you are putting for them...thanks much again...keep up the good work
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Welcome 🙏💐 thank you
@ramanaatchala
@ramanaatchala Жыл бұрын
Hi Shiva, Very good training.Nice explanation.Thank you so much
@SivaAcademy
@SivaAcademy Жыл бұрын
Thank you
@sandipjadhao1990
@sandipjadhao1990 3 жыл бұрын
Really it was nice vedio on deleting duplicate rows by different approaches thanks Siva..
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Welcome bro 💐
@yadagirishankar
@yadagirishankar 4 жыл бұрын
Sir, Which is the best way to delete duplicate records if the table is having millions of records?
@muralisethi
@muralisethi 4 жыл бұрын
Thank you sir for such detailed explanation!!!
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Welcome bro 🙏 thank you
@deepakjagdale6215
@deepakjagdale6215 4 жыл бұрын
Hi Siva sir, Is any online training course your providing for expert level or corporates. If yes then pls let me know.
@KaranChaudhary-zt4no
@KaranChaudhary-zt4no 4 жыл бұрын
can i have two databases in my sql developer that is 11g and 19c at the same time?
@alimsheikh1029
@alimsheikh1029 2 жыл бұрын
Thank you so much Siva sir for your dedicated video
@SivaAcademy
@SivaAcademy 2 жыл бұрын
My pleasure bro, thank you
@abinashmandal7925
@abinashmandal7925 Жыл бұрын
hii shiva , you are doing great , my question is why equi join returned matching rows , could be please answer this ?
@naveenp1843
@naveenp1843 4 жыл бұрын
very well explained siva sir thanks for the video :)
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Welcome bro 🙏 thank you 💐
@avijitnagare
@avijitnagare 2 ай бұрын
Nice information. Can we write function in pl/sql block? And call from same block?
@abhisheknittala7181
@abhisheknittala7181 3 жыл бұрын
awesome content !!! very very very handy!!
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Glad it was helpful!
@madhumitakumari2082
@madhumitakumari2082 23 күн бұрын
Hi Sir, from is missing after delete. But still how it worked?
@vickypatekar9532
@vickypatekar9532 4 жыл бұрын
Doubts Cleared Thank you, Sir Please Make Vedios on Analytical Functions
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Its my pleasure 🙏 thank you, please stay tuned for more videos
@nareshchoudhary9774
@nareshchoudhary9774 2 жыл бұрын
sir which of these method is cte method ?
@iswaryarajendran2022
@iswaryarajendran2022 3 жыл бұрын
Is it possible to delete duplicate records using having clause sir?
@venkatapathiuppalapati9673
@venkatapathiuppalapati9673 2 жыл бұрын
Thanks Siva garu we are expecting more videos like this
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Welcome bro, absolutely, please stay tuned for more videos
@vishalsaxena5081
@vishalsaxena5081 2 жыл бұрын
@@SivaAcademy If i enter any number like 100 but output will be display as hundred
@daljeetsingh5192
@daljeetsingh5192 Жыл бұрын
@@vishalsaxena5081 select 100, to_char(to_date(100, 'j') , 'jsp') from dual
@srinivasreddy186
@srinivasreddy186 3 жыл бұрын
Hii Mr. shiva, how r u. whn I see ur new video always , I used to feel like if I dnt watch, I could miss some imp tip frm tht video and I liked the last method... Thank u so much
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Welcome Srinivas, Thank you so much
@devanaidu9406
@devanaidu9406 4 жыл бұрын
Hi Sir thank you so much we got another great video...well explained...pls make an Oracle architecture..and perfoance tuning video like . explain plan and auto trace..tk proof..and analysis
@SivaAcademy
@SivaAcademy 4 жыл бұрын
sure, please stay tuned, will post it soon
@devanaidu9406
@devanaidu9406 4 жыл бұрын
@@SivaAcademy I am waiting sir please post asap.. thank you 😊
@tusharsonwane8468
@tusharsonwane8468 Жыл бұрын
Thank you so much sir
@SivaAcademy
@SivaAcademy Жыл бұрын
Welcome bro
@tejan8804
@tejan8804 Жыл бұрын
can't we do with Ran function?
@sudha2732
@sudha2732 3 жыл бұрын
Hi Siva, there is 3different column and 3different table,like one table have dept id,ename, another table have prod I'd &ename column, another table has dept id, ename - there is different column in3 different table but return a result department wise name----- one table has dept id another table table doesn't have dept id column---ename is common column for entire 3tables
@SivaAcademy
@SivaAcademy 3 жыл бұрын
May I know your question? Can you post a sample example data and expected output
@manochoco23
@manochoco23 4 жыл бұрын
Hi is it that , rowid is assigned to records based on time stamp? if selecting max(rowid) throws the recently inserted record and min(row) throws the original record.
@SivaAcademy
@SivaAcademy 4 жыл бұрын
No, don't rely upon on rowid to get Last inserted record, if few records are deleted, then the empty space would be utilised by subsequent insertion, hence don't depend on rowid to identify latest inserted row
@anilk3233
@anilk3233 4 жыл бұрын
Hi Siva, which method out of 5 will be mostly used in real time?
@SivaAcademy
@SivaAcademy 4 жыл бұрын
I need to test with large volume of data, i will post a video after my analysis with numbers
@gomathinama5876
@gomathinama5876 4 жыл бұрын
Thank you🙏
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Welcome 🙏
@vsr1727
@vsr1727 3 жыл бұрын
Thank you 👍
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Welcome bro
@kirthikamurugesan1514
@kirthikamurugesan1514 4 жыл бұрын
Well explained. Can you explain about performance tuning and explain plan?
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Thank you 🙏, sure please stay tuned
@user-jz2pz5pi6i
@user-jz2pz5pi6i Жыл бұрын
Very good
@SivaAcademy
@SivaAcademy Жыл бұрын
Thank you bro
@vijayarajan2599
@vijayarajan2599 3 жыл бұрын
@Siva, Can you please do a demo on Oracle Concurrency Control, Serilaizationa and Isolation levels with proper expample.
@SivaAcademy
@SivaAcademy 3 жыл бұрын
sure, please stay tuned
@shashank2004
@shashank2004 4 жыл бұрын
Nice explanation bro👍
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Thank you, next video is on NOCOPY bro, I will try to cover remaining you asked later
@shashank2004
@shashank2004 4 жыл бұрын
@@SivaAcademy thanks bro... I am eagerly waiting
@nntrainingandplacementsolu9734
@nntrainingandplacementsolu9734 4 жыл бұрын
thanks sir, what a great teaching skill you have. Please start SQL, PL/SQL course from scratch
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Welcome, sure, please stay tuned
@girishpatil5351
@girishpatil5351 2 жыл бұрын
Delete from emp where rowid>(select emp.*, Min(rowid) as rr from emp) where rr>1;
@ananthaselvi9019
@ananthaselvi9019 4 жыл бұрын
Hi sir could you please help me in below scenario There is a clob column . I want to extract particular line after match pattern Type1: None Typr2: None Type3: Services,re Type4: None My output should be whatever under type 3
@SivaAcademy
@SivaAcademy 4 жыл бұрын
not sure, whether this is what you are looking for substr(c,instr(c,'Type3:')+length('Type3:')+1)
@manjutharak
@manjutharak 4 жыл бұрын
I Brother I have a Question related to INDEX , My Question is 1.Is it possible to create an index on views? And 2.Is it possible to create an index on updatable view?
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Index only on physical data is allowed, since view relay on underlying table data, no indexes are allowed now on views
@kumarbrajesh5051
@kumarbrajesh5051 4 жыл бұрын
Without using rowid. Is it possible to delete duplicate data Please answer me.
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Not by using single statement, but using set of SQL statements you can do, method 4 and method 5 will show you how to do it in the same video
@ssskkk9079
@ssskkk9079 2 жыл бұрын
Sir , can u pls upload vedio on joins and which join yield more records than other joins interview question?please
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Sure, will add soon, please stay tuned
@prashantsisodiya1391
@prashantsisodiya1391 3 жыл бұрын
Sir I have question that ,suppose we 10 records (first name), 5 records in small letters(abc) and 5 records in upper letters (ABC) so I want those records who are in small letters so what will be quary?
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Sample query Select* from table where column_name = lower(column_name)
@prashantsisodiya1391
@prashantsisodiya1391 3 жыл бұрын
@@SivaAcademy thanks team
@SivaAcademy
@SivaAcademy 3 жыл бұрын
🙏💐
@prashantsisodiya1391
@prashantsisodiya1391 3 жыл бұрын
@@SivaAcademy if possible to make video pls try because question asked me 2,3 times in interview
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Sure, please stay tuned
@ravipatisrikanth8331
@ravipatisrikanth8331 3 жыл бұрын
sir,how to findout the dupliate values without using distinct keyword
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Please look into this video kzbin.info/www/bejne/aHibq6h7aq-oi6M
@prashantmate8340
@prashantmate8340 3 жыл бұрын
Hi siva, can u please make a video on "alter table emp_test enable constraint emp_pk exceptions into exceptions;".
@prashantmate8340
@prashantmate8340 3 жыл бұрын
Exceptions is a table here
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Yes Prasanth, will post it couple of days, please stay tuned
@prashantmate8340
@prashantmate8340 3 жыл бұрын
@@SivaAcademy thank you so much!!
@rajanayak8093
@rajanayak8093 4 жыл бұрын
A table has number as well as alphabets in a single column, how to separate this?
@karthickm8042
@karthickm8042 4 жыл бұрын
Update Table_name set column1=reqexp_replace(column1,^[0_9]); Update Table_name set column2=reqexp_replace(column1,^[a-z_A-Z]);
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Please look into this video kzbin.info/www/bejne/kKayaYSjo9-jmrs
@Ramesh-rp6jq
@Ramesh-rp6jq 4 жыл бұрын
Can you please make a video to download database and connect to sql developer
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Do you mean, download and install, and connect to database through SQL developer?
@Ramesh-rp6jq
@Ramesh-rp6jq 4 жыл бұрын
@@SivaAcademy yes I want to install
@SivaAcademy
@SivaAcademy 4 жыл бұрын
Sure Ramesh, I will post a seperate video on how to download, install and connect and start with soon, please stay tuned
@vaniganapathi830
@vaniganapathi830 2 жыл бұрын
Thank you so much sir
@SivaAcademy
@SivaAcademy 2 жыл бұрын
Welcome 🙏💐
@Ronaldo-yl7zv
@Ronaldo-yl7zv 3 жыл бұрын
Thank you Sir
@SivaAcademy
@SivaAcademy 3 жыл бұрын
Welcome
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 36 МЛН
ОСКАР vs БАДАБУМЧИК БОЙ!  УВЕЗЛИ на СКОРОЙ!
13:45
Бадабумчик
Рет қаралды 4,4 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 33 МЛН
Oracle Interview Question oracle index related questions
14:11
Siva Academy
Рет қаралды 141 М.
PL/SQL Interview Questions and Answers | Top 20 PLSQL Interview Questions
9:50
Praveen Kumar Bommisetty
Рет қаралды 3,4 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 7 МЛН
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 348 М.
Опыт использования Мини ПК от TECNO
1:00
Андронет
Рет қаралды 752 М.