Innerjoin, inner join using where clause
select * from ngpage p, ngpagehit h where p.PageID = h.PageID and p.ApplicationID = 10025