79109127

Date: 2024-10-21 08:15:24
Score: 1
Natty:
Report link

test this:

import org.springframework.data.repository.query.Param;
@Query(value = "SELECT q.id FROM question q Where q.category=:category ORDER BY radiant LIMIT :numQ")
    List<Integer> findRandomQuestionsByCategory(@Param("category")String category,@Param("numQ") int numQ);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: matin mojgani