LIKE with % on column names
Try this
SELECT * FROM account_invoice,sale_orderWHERE sale_order.name LIKE '%' || account_invoice.origin || '%'
%
needs single quote because the pattern is a string.
||
is the operator for concatenation.
Try this
SELECT * FROM account_invoice,sale_orderWHERE sale_order.name LIKE '%' || account_invoice.origin || '%'
%
needs single quote because the pattern is a string.
||
is the operator for concatenation.