add awk format to sql