how to use the order by and aggregate function together in sql query
- by Ranjana
SELECT count(distinct req.requirementid), req.requirementid, org.organizationid,req. locationofposting,org.registereddate
FROM OrganizationRegisteredDetails AS org,
RequirementsDetailsforOrganization AS req
WHERE org.organizationid =req.requirementid order by org.RegisteredDate desc
this shows me the error :
Column…