I am trying to check if my ID = 4
is within the RESULTS from MySQL but not in the last row and you probably don't understand what I am asking for lol, let me explain now:
I have ID = 4
hard coded
I have MySQL SELECT
statement LIKE:
SELECT * FROM TABLE WHERE GROUP_ID = 10 AND ID = 4 AND (LAST OF THE RECORD FROM THAT GROUP_ID IS NOT (!=) (NOT EQUAL) (IS DIFFERENT) THEN 4
Cannot explain it simpler