I created Virtual Table in Dataverse using SQL connection to Serverless SQL Pool in Azure Synapse.
According to the following schema:

Virtual Table has numeric not null ID in and primary text field in Serverless SQL Pool.
GUID is generated from numeric not null ID in Dataverse, like 00000001-0000-0000-0000-000000000000, 00000002-0000-0000-0000-000000000000, ...
Records are displayed in advanced find.

But, when I select a specific record the following error appears:
APIM request was not successful : StatusCode : BadRequest, Reason : Primary key is compound by 0 elements but 1 were provided., Response from APIM: { "status": 400, "message": "Primary key is compound by 0 elements but 1 were provided.\r\nclientRequestId: