Q&A about the site for administrators, end users, developers and designers for Craft CMS
SELECT LEFT(CreationDate,4) FROM Posts --WHERE CreationDate