ERROR: 42803: column "wage_histories.wage" must appear in the GROUP BY clause or be used in an aggregate function
If you just need one row: 

SELECT wage 
FROM wage_histories 
WHERE uid = ? 
  AND start &lt;= ? 
ORDER BY start DESC
LIMIT 1