如果要根据多列关联,请参考:
Dim jb As New SQLJoinTableBuilder("统计表1","产品")Dim Cols1() As String = {"型号","规格"}Dim Cols2() As String = {"型号","规格"}jb.AddTable("产品",Cols1,"订单",Cols2)
上面的代码,产品表作为基表,添加订单表参与统计,两个表之间通过型号、规格两列关联起来。