SELECT LOG10(value) AS log_value
FROM data_table
WHERE value > 0;