Let us create a query for a data set.
- As a data source for the query, select the object (referential) table of the MaterialsAndServices catalog and the virtual table of the Prices.SliceLast information register.
To avoid ambiguous names in the query, let us change the name of the MaterialsAndServices table. - In the Tables list, right-click MaterialsAndServices, click Rename Table, and type MaterialsAndServicesCat.