<% include('/elements/header.html', 'SQL Query' ) %>
SELECT

<% include('/elements/footer.html') %> <%init> die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Raw SQL');