SQLSERVER?
SELECT DATEADD(DAY,-(DAY(GETDATE())-1),CONVERT(NVARCHAR(10),GETDATE(),120))
---
SELECT * FROM TABLE WHERE 日期字段>='${FORMAT(DATEINMONTH(TODAY(),1),"yyyy-MM-dd 00:00:00")}'