I have to write sql query with two different way, both are giving same output. But Still not understand
what is different between both query?
which one is fast in access?
which is more recommend?
Query # 1
SELECT PageControlDet.PageId, PageMaster.PageName, PageMaster.PageURL,
PageMaster.PageTitle, PageMaster.PageDescription
FROM AgentRoleAccessDet
INNER JOIN PageControlDet ON AgentRoleAccessDet.ControlId = PageControlDet.ControlId
INNER JOIN PageMaster ON PageControlDet.PageId = PageMaster.PageId
and
Query #2
SELECT PageControlDet.PageId, PageMaster.PageName, PageMaster.PageURL,
PageMaster.PageTitle, PageMaster.PageDescription
FROM AgentRoleAccessDet, PageControlDet, PageMaster
WHERE AgentRoleAccessDet.ControlId = PageControlDet.ControlId and
PageControlDet.PageId = PageMaster.PageId
ORDER BY PageControlDet.PageId