3rd Max sal (co-related sub-query) Select e1. ename , e1sal From emp as e1 Where 2=(select count (distinct e2.sal) From emp as e2 Where (e1.sal< e2.sal);
@shubhamkushwaha5381 Жыл бұрын
select max(sal) from emp where sal
@smgyt4550 Жыл бұрын
♥️♥️♥️♥️Sab maa baba ji ki jai is bharmand mein sab bharmand mein sabko acha or swast rakhiye ham sabke maa baba ji♥️♥️♥️♥️
@karthick2523 Жыл бұрын
Thank you it's very useful🎉
@kenywest-ex7de Жыл бұрын
he is good guy & interviewer as well
@osoriomatucurane9511 Жыл бұрын
Awesome interview and feedback! I have learnt a lot!
@anithaadaka8738 Жыл бұрын
Very useful for freshers
@Ananthapu_ramu_abbai Жыл бұрын
Hi
@SabaMirza-q6w Жыл бұрын
Thanks with this i realized on which stage i am?
@isanju_rai Жыл бұрын
Dense_rank function is wrong re check ✔️
@nagasai7681 Жыл бұрын
Keep posting
@sivap5241 Жыл бұрын
Delete duplicate records: Delete from tablename where rowid in (select rowid from ((select id, count(name) from table_name group by id having count(name) >1) ) ) ; 3rd maximum salary: With qury as (Select emp_id, first_name, salary, dence_rank() over(order by salary desc) as Rnk from tablename) Select * from qury where Rnk=3 ;
@Payroking Жыл бұрын
❤❤❤❤
@rahultalwar4847 Жыл бұрын
nice interview got good knowledge
@hardiknaik9124 Жыл бұрын
How to handle null values in a column while inserting data we can use constraints not null
@hardiknaik9124 Жыл бұрын
For removing duplicates row from the table we can use self join, row_number() partition by windows function,then we can also use min function and add condition in where clause,we can also do it by using cte but it's long procedure and I would not recommend that.
@paterugopi3189 Жыл бұрын
Great👍👍👍
@tomlee1266 ай бұрын
when asked "what",..just list the "whats" dont try explaining all "whats" in detail. only when asked
@killer82906 Жыл бұрын
How can i apply for job in this line..i have no rerfrnce yet..bt i completed my sql.
@KingJagguYT11 ай бұрын
Go for Naukri
@somusagumale64408 ай бұрын
Select country, max (salary) as total sales employee order by county,having county >50000;
@jagannathramdasbarde6528 Жыл бұрын
Pls share application support interview
@aniquekhan5640 Жыл бұрын
okay so for further details Hr will contacts you😂😂 ye bhaari tha Raao 😄
@chinnayoutuber50946 ай бұрын
Asking how are you to interview was personal 😅😅😂😂
@supriyayerbage Жыл бұрын
Nice
@Payroking Жыл бұрын
😮
@madhudaddy Жыл бұрын
madam or sir in u r company job are there myself santhosh reddy
@devi_drawings Жыл бұрын
Delete Duplicate Values DELETE From Table Name Where row_id NOT IN ( SELECT MAX(row_id) From table_name GROUP BY column_name);
@nitinsalunke257811 ай бұрын
types of schema 1) star schema 2) semantic shema These are two answers you but I am a little confused about whether this second answer is correct or not
@saulgoodmanxd Жыл бұрын
These guys applying for freshers
@technicalsyntax Жыл бұрын
Great interview
@ashutoshkhedkar5198 ай бұрын
He's asking How are u? 😂 Is it a fresher interview
@Lozzymee3 ай бұрын
Ye fresher interview hai😮😂?
@neetusingh4765 Жыл бұрын
Very freshers
@bhavya1732 Жыл бұрын
Did he got selected or what
@harishealukapally403 Жыл бұрын
This is only mock interview
@mahiroman3554 Жыл бұрын
😂😂😂
@ankurghosh28848 ай бұрын
Useless
@devi_drawings Жыл бұрын
3rd Maximum Salary SELECT * FROM ( SELECT department_id , hire_date , salary , DENSE_RANK ( ) OVER(partition by department_id order by Salary DESC) "max_salary" FROM employees ) WHERE max_salary = 3;
@madhankumar1810 Жыл бұрын
Creat a duplicate table? Syntax is Creat table # table name ( Emp_id number(5), Emp_namr varchar(20) ); Insert values in the table? Insert into # table name Values(40265,'John');
@maheshtiwari2297 Жыл бұрын
U can use insert into tbl_name followed by select * from previous_tblName.