Is it possible to connect somehow query results and attribute table? I need to have an option to print query results or export them to CSV? I know it is possible to do it through attribute table. But query results are not selected in the attribute table