0

此代码是由其他人编写的,我很难实现它,因为我只能访问 SQl Server CE:

SELECT *
FROM Space AS S1
WHERE (Centre_Name = 'Sandton') AND (Revision_No =
 (SELECT        MAX(Revision_No)
 FROM            Spaces AS S2
 WHERE        (S2.Centre_Name = S1.Centre_Name) AND (S2.Space_No = S1.Space_No)
 GROUP BY S1.Centre_Name, S1.Space_No))
4

0 回答 0