Bitwise interview question

syntax for between in sql