Make sure to pass units in SQL query.