Agenda, Agendador, Configurações
This commit is contained in:
14
DBS/2026-03-11/supabase-snippets/Untitled query 938.sql
Normal file
14
DBS/2026-03-11/supabase-snippets/Untitled query 938.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
select
|
||||
tm.id as responsible_member_id,
|
||||
tm.tenant_id,
|
||||
tm.user_id,
|
||||
tm.role,
|
||||
tm.status,
|
||||
tm.created_at
|
||||
from public.tenant_members tm
|
||||
where tm.tenant_id = (
|
||||
select owner_id from public.patient_intake_requests
|
||||
where id = '54daa09a-b2cb-4a0b-91aa-e4cea1915efe'
|
||||
)
|
||||
and tm.user_id = '824f125c-55bb-40f5-a8c4-7a33618b91c7'
|
||||
limit 10;
|
||||
Reference in New Issue
Block a user