Bitwise Interview Question

syntax for between in sql