SQLSTATE[42702]: Ambiguous column: 7 ERROR:  column reference "id" is ambiguous
LINE 3:                                         WHERE id = 8 --a.sta...
                                                      ^ (Connection: pgsql, SQL: SELECT a.id,a.doc_number,a.date,a.url_payment_proof,a.amount,a.counting_notify,b.name AS client_name
                                        FROM t_client_deposit a JOIN m_clients b ON b.id=a.client_id
                                        WHERE id = 8 --a.status = 'OPEN' AND (a.date_notify is null OR a.date_notify <= NOW() - INTERVAL '24 hours') AND a.f_notify = 0
                                        ORDER BY a.id ASC
                                    )