This commit is contained in:
hsafaei
2025-09-02 11:59:08 +03:30
parent 69eb568cf7
commit cfe3cff77c
17 changed files with 1 additions and 202 deletions
+20
View File
@@ -0,0 +1,20 @@
select co.CAPTION
,count(*)
from lwlaw l
left join cmorganization co on l.[F_CMORGANIZATIONIDApprover]=co.id
group by co.CAPTION
order by count(*) desc
select co.CAPTION
,count(*)
from lwlawtext l1 left join lwlaw l on l1.f_lwlawid=l.id
left join cmorganization co on l.[F_CMORGANIZATIONIDApprover]=co.id
group by co.CAPTION
order by count(*) desc
select * from lwlawtext
where txt is not null