From the manpage:
ORS The output record separator, by default a newline.
Therefore,
awk 'BEGIN { ORS=" " }; { print $2 }' file
From the manpage:
ORS The output record separator, by default a newline.
Therefore,
awk 'BEGIN { ORS=" " }; { print $2 }' file