Results 2 comments of yodew

> Sorry for not answering, but I could not investigate your issue without more details. > > Feel free to re-open a ticket by please providing a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example)....

I want to execute the below sql: ```sql select count(*) from (SELECT DISTINCT `students_id`, `subject_id`, `school_id` FROM `user_item_score` WHERE `deleted` = 0 AND `score_type` = 2 AND `score_year` = '')...