Пікірлер
@latayadav4642
@latayadav4642 14 сағат бұрын
For min and max salaries ; you can also use this For together min and max salary in one query Method-1) SELECT (SELECT Salary FROM Employee ORDER BY Salary ASC LIMIT 1) AS MinSalary, (SELECT Salary FROM Employee ORDER BY Salary DESC LIMIT 1) AS MaxSalary; Method-2) SELECT MIN(Salary) AS MinSalary, MAX(Salary) AS MaxSalary FROM Employee; For Separate min and max salary for min SELECT Salary FROM Employee ORDER BY Salary ASC LIMIT 1; For max SELECT Salary FROM Employee ORDER BY Salary DESC LIMIT 1; Btw thanks for uploading such videos, really helpful for interviews.🤍
@user-tw1um3zo4y
@user-tw1um3zo4y Күн бұрын
Asked to me for Smartenc company
@saheedmorenikeji4020
@saheedmorenikeji4020 2 күн бұрын
Educational 🎉
@ajaybhatt001
@ajaybhatt001 4 күн бұрын
Hi, is the query for duplicate rows correct, I think we can't use * here, empid should be used instead of *.
@saheedmorenikeji4020
@saheedmorenikeji4020 5 күн бұрын
Nice Content
@passportbro904
@passportbro904 6 күн бұрын
I think for the cast one its better to show the actual decimal point for a better example. ill help you. SELECT CAST(10 AS DECIMAL(5, 2)) AS decimal_value; result = decimal_value 10.00
@debolinaacharjee3199
@debolinaacharjee3199 6 күн бұрын
too much add in your videos
@singingclub2876
@singingclub2876 9 күн бұрын
After watching this video clear the concept Thank you.../@@##
@amolgirase2332
@amolgirase2332 11 күн бұрын
Select salary From employee_info E1 Where 3= (Select count(distinct salary) From employee_info e2 Where e2.salary >= e1.salary)
@jacksparrowbp
@jacksparrowbp 11 күн бұрын
mcq q 8 answer ??
@manojkasana9813
@manojkasana9813 11 күн бұрын
Great Explanation in the correct order!
@rajrawat287
@rajrawat287 11 күн бұрын
thank you code era.
@worldlykrittika4147
@worldlykrittika4147 11 күн бұрын
are there any mock test held before the assessment???
@kavitha-99
@kavitha-99 12 күн бұрын
select manager_id as "Manager" , count(manager_id) as "Subordinates" from emp group by manager_id order by manager_id;
@Rahul-gb3oo
@Rahul-gb3oo 12 күн бұрын
Maam is this real test or just mock test?
@deekay.x
@deekay.x 11 күн бұрын
Tomorrow I have test😊
@atharvah7680
@atharvah7680 11 күн бұрын
@@deekay.x Same
@deekay.x
@deekay.x 11 күн бұрын
@@atharvah7680 can we use mobile to copy right
@user-uz8wq4xn2l
@user-uz8wq4xn2l 15 күн бұрын
mam is this test organised in campus or in online mode?
@shitaldesai9139
@shitaldesai9139 18 күн бұрын
Hello madam
@passportbro904
@passportbro904 18 күн бұрын
im from the uk, can i come and marry you
@Aditya_Kulkarni_BACS
@Aditya_Kulkarni_BACS 18 күн бұрын
4) select department,avg(salary) as avg_salary from employee Group by department;
@shitaldesai9139
@shitaldesai9139 18 күн бұрын
Hello saloni didi help mi solve this problem write quries to display manager id who have 2 emplayee
@sajalshrivastava2202
@sajalshrivastava2202 19 күн бұрын
Very well explained ma'am
@funandfood_hyderabad
@funandfood_hyderabad 19 күн бұрын
Thank you very very much 🙏🙏🙏🙏🙏🙏
@aliviaansarigazi392
@aliviaansarigazi392 19 күн бұрын
Watched this video for revision before my interview. Luckily the interviewer asked many questions from SQL and I had to write down the queries. This really helped 😍❤️
@AnandMishra-ou3tv
@AnandMishra-ou3tv 21 күн бұрын
Very helpful videos thnx ❤
@sandhyalavudya9347
@sandhyalavudya9347 23 күн бұрын
select id,name, date_sub(dob,interval 3 years) as update_date_of_birth from employees
@sandeeptripurana4496
@sandeeptripurana4496 24 күн бұрын
Good one
@diyadeb
@diyadeb 25 күн бұрын
Isme toh mam duplicate entry ke vaja se error aa raha hai
@PranayNaranje-iu9gg
@PranayNaranje-iu9gg 26 күн бұрын
You are explaining in my sql
@Anushree350
@Anushree350 26 күн бұрын
mam can you make vedios on views , window functions , rank .......................,,like advance topics please 🙂🙂🙂🙂🙂🙂🙂🙂
@RaviTejaMeruva
@RaviTejaMeruva 27 күн бұрын
Excellent Explanation
@tanishtha-dj1wu
@tanishtha-dj1wu 28 күн бұрын
I answered wrong in puzzle.Except that everything was fine in my digital interview.Will they reject me on that basis??
@rneditz3250
@rneditz3250 28 күн бұрын
Are this tables are given in our interview rounds while asking query to us????
@SadabKhan-zd9ts
@SadabKhan-zd9ts Ай бұрын
This same question how to solve subquery please tell me mam
@bluesparrow2.027
@bluesparrow2.027 Ай бұрын
Hi saloni me interview me join ki query me bar bar fail ho rha ab mujhe smjh nhi aa rha h kya kru
@poojam271
@poojam271 Ай бұрын
Thank You so much Mam
@great.Indian.culture
@great.Indian.culture Ай бұрын
Thanks sister best and easiest explanation
@VigneshVeravalli229
@VigneshVeravalli229 Ай бұрын
hi saloni
@adityarajbhandare5166
@adityarajbhandare5166 Ай бұрын
SELECT C.prod_id, A.cust_name, A.cust_city, B.order_date, C.prod_price FROM customers as A INNER JOIN orders as B ON c.cust_id = o.cust_id INNER JOIN product_details as P ON B.order_id = C.order_id WHERE A.cust_name = 'David';
@chfadi2201
@chfadi2201 Ай бұрын
Thank you sooo much ❤❤❤❤
@allurianusha6111
@allurianusha6111 Ай бұрын
Excellent teaching skills 😊
@talknow2859
@talknow2859 Ай бұрын
You're amazing 🎉!
@user-dt8dg9qf7f
@user-dt8dg9qf7f Ай бұрын
channel owner disappeared or not in mood to reply
@akashbasak1759
@akashbasak1759 Ай бұрын
in the first question if there are duplicates of highest salary and if we put a limit, then after sorting how can the third row will be having the third highest salary? my approach using a distinct keyword select * from employeeinfo where salary=(select * from (select distinct(salary) from employeeinfo) as e1 order by age desc limit 2,1); correct me if I am wrong Thank You
@ptechsolutions9575
@ptechsolutions9575 Ай бұрын
Very helpful
@vijay_madane03
@vijay_madane03 Ай бұрын
Top clause is not working in MySQL workbench
@AgyatBihari
@AgyatBihari Ай бұрын
It will not work, in MySQL limit and offset will work
@amevegeta
@amevegeta Ай бұрын
Hi Saloni i want to subtract date from 2 different columns and want the output in days but it is not working kindly suggest
@vijay_madane03
@vijay_madane03 Ай бұрын
Except is not working in SQL workbench please reply.
@snehalgajbhiye1454
@snehalgajbhiye1454 Ай бұрын
Thank you so much saloni😊
@user-lf6lg5yg7e
@user-lf6lg5yg7e Ай бұрын
create on how to delete duplicate rows;
@user-lf6lg5yg7e
@user-lf6lg5yg7e Ай бұрын
finally my doubt cleared in simple way very thanks hope you upload this kind of videos which are helpful