Q. Write a query that selects all orders (Order table) except those with zeros or NULLS in the amt field.


Answer =

Select * from Order
Where amt is not null and amt <> 0 ;

5 Comments

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

  1. Select * from Order
    Where amt is not null and 0 ;
    Thi answer is correct or not

    ReplyDelete
  2. SQL Not Equal Operator: !=

    ReplyDelete

Post a Comment

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

Previous Post Next Post