Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] many conditions in expression filter of TMap

How can I write many conditions in the expression filter of TMap (to have the same result than a SQL request). Is it in Talend a symbol to write an "and" function like this? :
SELECT
REF.CMAITRE,
ARTICLE.CART,
REF.LREF,
LIGNE.LLIGNE,
ARTICLE.STATCOM,
ARTICLE.STATSUP
FROM
ARTICLE,
REF,
LIGNE,
MARQUE
WHERE
( REF.CMAITRE=ARTICLE.CMAITRE )
AND ( ARTICLE.CLIGNE=LIGNE.CLIGNE )
AND ( MARQUE.CMARQUE=REF.CMARQUE )
AND (
MARQUE.LMARQUE = 'JEAN DUPOND XX'
AND ARTICLE.STATCOM = 'RECYC'
)
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hello
Is it in Talend a symbol to write an "and" function like this?

Try '&&' for 'and', '||' for 'or', for example:
row1.id>2&&row1.name.equals("John")

Best regards
shong

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hello
Is it in Talend a symbol to write an "and" function like this?

Try '&&' for 'and', '||' for 'or', for example:
row1.id>2&&row1.name.equals("John")

Best regards
shong
Anonymous
Not applicable
Author

How can I put a sql query in entry which displays fields from many tables and not just from one table?
Anonymous
Not applicable
Author

hello,
you can create your own SQL query with the tDBInput :
in Basic settings, use the Query panel to write your custom SQL query. you need to have a Talend built-in schema like your SQL select
Jcs19
Creator II
Creator II

Hello
Is it in Talend a symbol to write an "and" function like this?

Try '&&' for 'and', '||' for 'or', for example:
row1.id>2&&row1.name.equals("John")

Best regards
shong

Thanks you saved me