write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SQL PLSQL Interview Questions

What is composite data type in pl sql?

0 Answers  


What is a transaction?

5 Answers  


Difference between SUBSTR and INSTR?

3 Answers  


Can we use update in sql function?

0 Answers  


Define commit, rollback and savepoint?

0 Answers  






Hi All, I am new to both this blog and technology. I was able to see a response for one of the questions on triggers as below. I would like to know why are we using " if rtrim(to_char(sysdate,'day'))=rtrim('sunday') then" instead, can't we use " if sysdate = 'sunday' then". I can understand the use of "rtrim", but dont know y v r using to_char. I have seen this in many cases but did not get a convincible explaination. Please help me with this and do excuse if this question sounds silly. Thanks in advance...... create or replace trigger trg_sun before insert on <table name> begin if rtrim(to_char(sysdate,'day'))=rtrim('sunday') then raise_application_error(-20345,'no transaction in sunday'); end if; end trg_sun;

2 Answers  


What is the requirement of self-join?

0 Answers  


Is sql a backend?

0 Answers  


Whate is use of MOD function in pl/sql.

3 Answers   Oracle,


What is the maximum number of columns in sql table?

0 Answers  


how to calculate expressions with sql statements? : Sql dba

0 Answers  


what is self join and what is the requirement of self join? : Sql dba

0 Answers  


Categories