I\'m facing an issue My query is resulting in the correct output but it\'s repeating, I have used DISTINCT as well in my SQL query
SELECT DISTINCT(posts.ID)