i have this table wich contains id of a post and images linked to the post
i want to select only one image for each post id
i useally use this query : select dir,post from images group by post
but since i upgraded to mysql 5.7 this wont work because of only_full_group_by is enabled
i tried evry thing to disable but i failed
is there is equivalent query that do the same job ??