There is no export as SQL option
I get this effect only when applying a query.

A table, view, or other direct structure seems to export into SQL fine. 

The SQL option seems is not available to a query result set, very sadly.