You just need one command.
sed 's/^/CREATE FROM /' output.txt
See also Counting lines or enumerating line numbers so I can loop over them – why is this an anti-pattern?
0
solved Shell command to print the statements with N number of words present in other file [closed]