Mysql – SQL Query not including current month data
@Query(value = "SELECT o.restaurant_id as restaurantId, YEAR(o.date_created) as year, MONTH(o.date_created) as month, " + " count(1) as tpn, sum(o.total) as tpv " + " FROM ordersDB.orders o " + " WHERE o.provider_id = :providerId " + " AND o.status !=…