标签: r data.table
我知道使用R data.table s,你可以这样做:
data.table
SELECT * FROM t1 LEFT JOIN t2 ON t1.id1 = t2.id2
像这样:
t1[t2, on = c(id1 = "id2")]
但是你会怎样做这样的事情:
SELECT * FROM t1 LEFT JOIN t2 ON t1.text LIKE CONCAT('%', t2.text, '%')
在data.table?