Unknown column 'status_pd' in 'WHERE'