Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next

...

Info

NOTE: Within an expression, you might choose to use the corresponding operator, instead of this function. For more information, see Logical Operators.

D s lang vs sql
 

D s
snippetBasic

AND
d-code-lang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
and(finalScoreEnglish >= 60, finalScoreMath >=60) as:'promoteStudent'

and(finalScoreEnglish >= 60, finalScoreMath >=60)

Output: If the  Returns true if the values in the finalScoreEnglish and finalScoreMath columns are greater than or equal to 60, then the value in the new promoteStudent column is true. Otherwise, the value is false

D s
snippetSyntax

AND
d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value:
and(value1, value2)

and(value1, value2)


ArgumentRequired?Data TypeDescription
value1YstringThe first value must be a Boolean literal, column reference, or expression that evaluates to true or false.
value2YstringThe first value must be a Boolean literal, column reference, or expression that evaluates to true or false.

...