You run static queries the same way as you run other queries. See Use the Database Explorer to select an existing query.