All Dynamics CRM leads in current year
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
Learn how to export all Dynamics CRM leads in current year using Skyvia Query - online SQL query builder
Run This and Other Queries Online in Skyvia Query
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!
Key Features
- Ability to use SQL against cloud data
- Visual query builder
- Data export
- Five free queries per day
Frequently Asked Questions
What can I use gallery queries for?
Our pre-built queries helps you quickly analyze and report on your data without building a query from scratch or perform DML operations and mass data updates.
Which data sources can I run queries on?
Skyvia Query supports cloud apps, databases, and other connected data sources available in Skyvia.
Can I get query results to a spreadsheet?
Yes. You can use Skyvia Query Google Sheets Add-on or Excel Add-in to query data directly to your workbooks. Alternatively, you can export the results of any query to CSV.
Do I need advanced SQL knowledge to use prebuilt queries?
No. Prebuilt queries can be used as ready-made examples and adjusted if needed.