How to select record from last 6 months in a table using MySQL?
I want to get the last 3-6 months’ records from fund_master table. date_payment is the date type column.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
You can use DATE_SUB() to get the last 6 months’ records.