mysql pad zeros
snippet in sql

mysql pad zeros

user9735

SELECT LPAD(last4, 4, '0') as last4 FROM numbers;