SQL – How to echo out inside of where statement

SQL – How to echo out

inside of where statement