Compare commits

...

4 Commits

+1 -1
View File
@@ -24753,7 +24753,7 @@ BEGIN
select Docs.DocID, UnitID, SectionID = MIN(SectionID) select Docs.DocID, UnitID, SectionID = MIN(SectionID)
FROM FROM
(SELECT DISTINCT [DocID] (SELECT DISTINCT [DocID]
FROM [VEPROMS_Barakah].[dbo].[tblDocuments]) Docs FROM [tblDocuments]) Docs
INNER JOIN Entries on Docs.DocID = Entries.DocID INNER JOIN Entries on Docs.DocID = Entries.DocID
INNER JOIN Contents on Entries.ContentID = Contents.ContentID INNER JOIN Contents on Entries.ContentID = Contents.ContentID
inner join Items on Items.ContentID = Contents.ContentID inner join Items on Items.ContentID = Contents.ContentID