lj(leftTable, rightTable, matchingCols, [rightMatchingCols])合并的是两个表,我有十几个表,每个表之间只有一列是不同的,如何一次性把所有的表合并在一起,而不是两两合并?
lj(leftTable, rightTable, matchingCols, [rightMatchingCols])
可以嵌套查询,例如:
t1=table(1..3 as id,1..3 as value1) t2=table(1..3 as id,1..3 as value2) t3=table(1..3 as id,1..3 as value3) lj(lj(t1,t2,`id),t3,`id)
1.4m articles
1.4m replys
5 comments
57.0k users