I am modifying some SQL code and I have come across the statement:
SELECT 'pilot' || cast(id as string) AS id from ....
What does || do in this statement?
I thought it would replace falsey values by 'pilot'; but that is not the case, it returns NULL values. There weren't any empty strings, but there were no rows with 'pilot' either.