Unknown column 'reportId' in 'where clause'