How to use sub query or CTE inside values method of insert?
I want to the results from CTE or sub query inside the select
This seems to be a wrong way to do this (TypeScript complains). What is the right way to go about this?
This seems to be a wrong way to do this (TypeScript complains). What is the right way to go about this?