here is my user_crime_details table:

When I try this query:
SELECT *
FROM (`user_crime_details`)
WHERE `group_id` = '1'
AND `insert_date` = CURDATE( )
OR `last_update_date` = CURDATE( )
ORDER BY `id` DESC
This is always the result:

You can see the results are wrong because the group_id’s not equal to 1 were also selected.
Is there something wrong with my query? Pls help.
you need to group the condition by adding parenthesis on the
ORpart.and which is the same as
PS: the backticks around the columns are optional since the names are not on the list of reserved keywords in MySQL.