lee mcdermott Posted February 12, 2019 Share Posted February 12, 2019 Hi, I'm trying to setup a widget to show number of calls logged last month. I have this for calls logged in last 7 days. h_requesttype = 'incident' AND h_datelogged >= DATE_SUB(CURDATE(), INTERVAL 7 DAY) What is the syntax for calls logged last month? Also is there a list of common syntax available anywhere i.e. how to get different dates things like that? I'm not particularly familiar with sql code so struggling a bit when trying to setup some new widgets. thanks lee Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now