No words to explain how valuable this video... Take a bow ma'am..🙏🙏🙏
@LearnatKnowstar3 жыл бұрын
Thanks so much!
@srat8593 жыл бұрын
Nice and great explanation more to come as videos. It helps a lot people like me
@LearnatKnowstar3 жыл бұрын
Glad it helped
@BnfHunterr Жыл бұрын
can we do this with cte
@kishorkumar0073 жыл бұрын
Thxs for sharing this. I always stuck in this scenario question. This video will help
@LearnatKnowstar3 жыл бұрын
Glad it was helpful!
@alwaysbehappy13373 жыл бұрын
Thanks a lot...👍👍👍
@LearnatKnowstar3 жыл бұрын
Thank you
@RajaSekhar-qs2lz2 жыл бұрын
Find out top 2 salaries from each department and list them out: Table1 ====== DEPT id dept_name Table2 ========== EMP emp_id dept_id # foreign_key salary
@ariumboroseno2 жыл бұрын
It is a great video, but it would be nice if you put .sql file in description so we can practice with same example 😁😁 just advice
@LearnatKnowstar2 жыл бұрын
Thank you. Sure, we will try to add the sql files for upcoming videos👍
@jirkablaha1562 Жыл бұрын
@@LearnatKnowstarCould you please put the URL to that test database? I tried several but none were right.
@RK-wf7re Жыл бұрын
Can't we use subquery to derive these outputs??
@selvan80003 жыл бұрын
Nice video and helpful
@LearnatKnowstar3 жыл бұрын
Thanks so much!!
@Sanath42724 күн бұрын
Hi in place of maxsal=1 I want max salary value for all records is it possible let me know
@ukkashs4442 жыл бұрын
How to get max salary as well as min salary on department wise with employee other details as well.
@LearnatKnowstar2 жыл бұрын
You can use windows function - rank as explained in the second approach in the video. Max Sal = Rank = 1 Order sal desc Min Sal = Rank = 1 Order Sal Asc
@S170519852 жыл бұрын
Mam, how to find out number of transactions including current and historical transactions for an id if records are maintained in different database??
@pavanyeluri87282 жыл бұрын
Can we use correlated sub query using each where clause with dept as the joining condition?
@Beyondhorizons-i5z4 жыл бұрын
Very helpful
@LearnatKnowstar4 жыл бұрын
Thank you
@sibilyantv4013 жыл бұрын
Display the 35 years old and above with the highest salary ., pls help me
@MrRagerrrr77773 жыл бұрын
Can i please see the ERD table of this example? thanks!
@arshadpathan80403 жыл бұрын
Query : list the name of the employee and department having salary >50000
@hv00321134 жыл бұрын
Great tutorial
@LearnatKnowstar4 жыл бұрын
Thank you
@rajeshbathula55052 жыл бұрын
Ma'am, How to find the difference between punch in & punch out times of each employee, if those values are not in the same record?
@LearnatKnowstar2 жыл бұрын
You can try to do a self join to fetch the two related records.
@rajeshbathula55052 жыл бұрын
@@LearnatKnowstar Thank you...
@TheVaibhavdang2 жыл бұрын
Nice video. Kindly share the same data aswell .That would be really helpful
@LearnatKnowstar2 жыл бұрын
The same query is covered in our latest tutorial on complex queries kzbin.info/www/bejne/e5CZmZR7lJZjm6c There is practice data available for that tutorial. Hope it helps!
@TheVaibhavdang2 жыл бұрын
@@LearnatKnowstar Thank you so much. In real time scenerio of HR database,I used cte to make a temp table joing employees and departments table to practice your question.😀😀 Thank you so much for the dataset.It will save some time.
@hafizqasimxprt8553 жыл бұрын
show the ERD table
@jaitiwari2412 жыл бұрын
Maam where is sql script
@LearnatKnowstar2 жыл бұрын
You can find it here - know-star.blogspot.com/2021/01/sql-interview-queries-on-employee.html?m=1