sql函数
类似
if(len(a2) > 0, SQL("EBS", "select two_lev_sub from subject_code_feel where fir_lev_sub='" + a2 + "'",1,1),"")
https://help.finereport.com/doc-view-608.html
1、新建一个数据集2、B2插入函数【value("新的数据集名","B2需要的字段名称","A2的字段名称",a2)】例:数据集名称 ds1 字段 ID NAME
A2 B2
ID value("ds1","NAME","ID",A2)