we should be able to extract the body of a `language sql` function as yet another statement and provide language intelligence features on it as usual.