I have three columns in an sqlite table:
Column1 Column2 Column3 A 1 1 A 1 2 A 12
SQLite has a printf function which does exactly that:
SELECT printf('%s-%.2d-%.4d', col1, col2, col3) FROM mytable