SELECT Owner.Name AS "Opportunity Owner", Account.Name AS "Account Name", Opportunity.Name, Opportunity.StageName, Opportunity.Fiscal, Opportunity.Probability, Opportunity.CloseDate, Opportunity."Type", Opportunity.Amount FROM Opportunity INNER JOIN User AS Owner ON Opportunity.OwnerId = Owner.Id LEFT OUTER JOIN Account ON Opportunity.AccountId = Account.Id WHERE (date(date(Opportunity.CloseDate), 'start of year') = date('now', 'localtime', 'start of year') AND Opportunity.IsClosed = False) ORDER BY Opportunity.StageName, Opportunity.Fiscal
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!