sql - Check if value in column for all rows is exactly value -
For example, I want to follow number 2 as the target
This is a positive sign > ID Status 123 1 432 3 531 2 123 2
This negative signal should return:
ID status 123 1 432 1 531 1 123 1 Code> thanks
EXISTS in priority COUNT then this first Non-mailing lines can return as soon as possible. Select when not existing (choose from your _table status & lt; & gt; 2) Then your message as 'Y' ELSE 'N' END < / Pre> You do not know the status of RDBMS You may have to add DUAL to at the end of the dependency on the taste.
Comments
Post a Comment