insert into nt_nurture_profile (credit,user_id,wallet_key) values (0, select person_id from ct_student where person_id not in(select user_id from nt_nurture_profile), gen_random_uuid ()); this is my code but ran into an error
syntax error at or near "select" but when i use select in single line it works!