CASE WHEN mailer_id = 5 THEN CONCAT(Edition,' - ',sent_on) END AS Findexporters, CASE WHEN mailer_id = 6)
AS crm_support_inquiry, crm_inquiry_perticipant, crm_countries where crm_inquiry_perticipant.inquiry_idcrm_support_inquiry.inq
我的3张表格如下:location_id,lang_id,路径crm_status_id,crm_status_namestore_crm_id,状态( crm_status_id of crm_statuses表中的引用),location_id ( location_id of locations表中的引用)
我希望通过加入store_crm作为行,我想获得crm</em
我有6个不同的表,它们彼此之间有依赖关系。我正在尝试将所有这6个表中选定的列插入到单个表中。 我必须传递一个参数,以便根据表的输出从一个表中选择数据。如果没有匹配的记录,则应传递null。我正在尝试使用6游标编写一个过程,并将一个游标的值传递给其他游标。 有没有人能帮我实现这一点。WHERE crm_slno=notif_crm_sl_no_var; BEGIN FETCH c1 INTO t1;