SELECT lead.fullname, lead.subject AS Topic, lk_leadbase_createdby.fullname AS Owner, lead.statuscode AS Status_Reason, lead.createdon FROM lead LEFT OUTER JOIN systemuser AS lk_leadbase_createdby ON lead.createdby = lk_leadbase_createdby.systemuserid WHERE (date(date(lead.createdon), 'start of year') = date('now', 'localtime', 'start of year')) ORDER BY lead.fullname
Skyvia Query allows you to run SQL queries against databases and cloud applications from web browser. Access and manage your data from anywhere, build reports, arrange your data in the most informative way and simplify your decision-making process easily!