Bitwise And Hackerrank Solution Sql