Efficient Code For Binary Numbers Table Sql