For each query, you can have at least one execution plan. Therefore, in the plan repository, at least one entry exists for each query from the query repository. The following query returns rows from the plan repository:
SELECT * FROM sys.query_store_plan;
You can see four plans for four executed queries in the WideWorldImporters database. The first query is your initial query; the rest are queries against catalog views as shown in the following screenshot. As mentioned earlier in this section, you can see more entries if you execute the code examples from this chapter.
The sys.query_store_plan ...