Díky za radu. Zkusil jsem spodní SQL a hlásí tuhle nepříjemnost:Could not run query: Can't reopen table: 'p'