sql >> Base de Datos >  >> RDS >> Mysql

Comparando valores binarios en MySQL

SELECT BIT_COUNT( CONV( '001011', 2, 10 ) ^ CONV( '001111', 2, 10 ) )