I wanted to show up total number of agent card number reissue which agents canceled the card before.
(我想显示代理商之前重新发行的代理商卡号的总数。)
I have three types of card status READY,CANCEL,BLOCK. (我的卡状态为READY,CANCEL,BLOCK三种。)
So I only need to get READY status card as reissue. (因此,我只需要重新获得就绪状态卡即可。)
How can I get agents which card canceled before and reissued between the date 23/11/2019 to 25/11/2019. (我如何获得代理商在23/11/2019至25/11/2019之间取消过信用卡并已重新发行的代理商。)
Here is below my query to get all cards as canceled (这是在我的查询下方,以取消所有卡)
SELECT
eofficeuat.cardprintlog_user.agent_id,
eofficeuat.cardprintlog_user.cardnumber,
eofficeuat.cardprintlog_user.cardtype,
eofficeuat.cardprintlog_user.dateofissue,
eofficeuat.cardprintlog_user.cardstatus
FROM
eofficeuat.cardprintlog_user
INNER JOIN eofficeuat.cnf_agents ON eofficeuat.cardprintlog_user.agent_id =
eofficeuat.cnf_agents.agent_id
INNER JOIN eofficeuat.agent_types ON eofficeuat.cnf_agents.agent_type_id =
eofficeuat.agent_types.agent_type_id
where eofficeuat.agent_types.agent_type_id='12'
and eofficeuat.cardprintlog_user.cardstatus='CANCEL'
can you please help me for this?
(你能帮我吗?)
ask by mdkamrul translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…