If you’re interested in querying the web for certain HTML, you can do that with our HTML keyword. For example if you wanted to get the HTML for example dot com.
FROM https://example.com |> SELECT HTML
If you would like the data to be returned under a different alias then simply leverage the AS keyword.
FROM https://example.com |> SELECT HTML AS page_html
If you’re not interested in the HTML for the overall page but a particular element then use the GROUP keyword like so:
FROM https://example.com |> GROUP BY h1 |> SELECT HTML as h1_html