Q Write a query to display the name, job title and salary of employee who do not have manager.

Table :-

Answer :-

Select ename , job , sal from Empl
Where job <> "manager" ;

26 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

  1. where is not equal sign?

    ReplyDelete
  2. Select ename , job , sal
    from Empl
    where mgr IS NULL;

    ReplyDelete
    Replies
    1. Output is :-
      AMIR, PRISIDENT, 5000.00

      Delete
    2. thank u a lot. needed that too

      Delete
    3. Is it correct?

      Delete
  3. manager pe quotes bhi hone chahiye..

    ReplyDelete
  4. Select ename , job , sal
    from Empl
    where mgr IS NULL;
    Can't this be the answer to this question as MGR in table stands for manager only

    ReplyDelete
    Replies
    1. He was asking for output not telling us answer.

      Delete
  5. select ename,job,sal from empl where job <>"manager";

    ReplyDelete
  6. where is not equal to sign

    ReplyDelete
  7. we can also write like this select ename,job,sal from empl where job not in manager

    ReplyDelete
  8. Why <> this symbol ?

    ReplyDelete

  9. )Increment the salary of all clerks by 25/-.

    ReplyDelete
  10. Wrong answer
    It should be --> select ename, job, sal from Empl where mgr is Null;

    ReplyDelete
  11. bro but in paper we can write the syblol of not equal to right?

    ReplyDelete

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post