SQL Interview Question: Find the Last Record in a Table (SOLVED!)
Vložit
- čas přidán 4. 10. 2023
- Ace your SQL interview with this simple query!
In this video, I will teach you the most efficient way to write a SQL query to find the last record of a table. This is a common interview question, so knowing the answer will give you a leg up on the competition.
In addition to the video tutorial, I will also provide you with some tips for answering SQL interview questions effectively. So if you're preparing for a SQL interview, be sure to watch this video!
Whatsapp Channel - whatsapp.com/channel/0029Va8x...
-------------------------------------------------------------------------
►►►Social Media - Where I sort of Live
/ rebellionrider
/ therebellionrider
/ rebellionrider
/ mannbhardwaj
-------------------------------------------------------------------------
►►►Books I refer to
PL/SQL amzn.to/2QE1jX0
Performance Tuning amzn.to/2sgiAw4
1z0-071 Exam amzn.to/2sgfeJw
Python Programming amzn.to/305UEbh
-------------------------------------------------------------------------
►►►Camera Gears
► Video Gears That We Use For Creating Our CZcams Video
www.amazon.in/shop/manishshar...
► Work From Home Essential Tech That We Use Daily
www.amazon.in/shop/manishshar...
AFFILIATE DISCLOSURE:
Some of the links used in the description will direct you to Amazon.in. As an Amazon Associate, I earn from qualifying purchases at no additional cost to you.
#RebellionRider
Whatsapp Channel - whatsapp.com/channel/0029Va8xCKqATRSqp4wAvo3n
How can I follow in whatsapp
But I can feel as an expert in Oracle with reference to your channels
simply click on the link
Link not working
Link is not working sir please share correct link for join
What is the last record of the table is not having the highest employee id number?
Or what if there is no employee id?
At that time you need to make a row number and then you can do the orderby desc to find the last or the bottom most entry.
Select * from (select dense_rank() over(employee_id) as order_id from employees) order by order_id desc limit 0 1;
Do they hard sql question for fresher role for data analyst role or something like this in the video?
Bro if there is emp_id column not present then how
Apply row_number and do the same on row number column
Bhai dono solution galat hain ..
Haha
The what is the correct answer
🤟
Link not working
Try now. I must work. By the way did you get the chance to join my Instagram channel I am posting daily polls there