set statistics time on
select count(*)
from 
[dbo].[nakaza] n join
[dbo].[okres] o on o.ok_kod=n.ok_kod join
[dbo].[kraj] k on k.kr_kod=o.ok_kod
where n.typ_hlaseni='N' and k.kr_nazev like 'Jihom%'
set statistics time off 

