AND operator allows you to combine two comparisons into one. : AND « Select Query « Oracle PL / SQL






AND operator allows you to combine two comparisons into one.

  

SQL>  BEGIN
  2    IF 1 = 1 AND 2 = 2 THEN
  3     dbms_output.put_line('True.');
  4    END IF;
  5   END;
  6   /
True.

PL/SQL procedure successfully completed.

   
    
  








Related examples in the same category

1.Query specific columns with where clause and 'and' operator
2.AND operator joins two or more conditions in one query
3.AND operator to join conditions: date and integer
4.AND operator takes precedence over the OR operator