Hi Pedro , This is example how to apply this conditions in talend i need ur help. SELECT SUBSTRING((SELECT data1.value FROM data1 WHERE data1 .entity_id =data.entity_id AND (data1 .no= 10) GROUP BY VALUE ),1,20) AS NAME FROM data
Hi
As we said before, you can finish the following query by using tMap.
SELECT data1.value FROM data1 WHERE data1 .entity_id =data.entity_id AND (data1 .no= 10)
Then link tMap with tSortRow to do group by value.
Now what we need to do is SUBSTRING.
Link tSortRow with another tMap. Type the expression in the OUT1 like this row3.value.substring(1,20).
Regards,
Pedro
Hi Pedro, from last week i started this query but i didn't get output , everyday i tried different ways but i didn't get output plz give me screen shot about this query
Hi
That's because in the beginning you gave me the query like this.
SELECT data1.value FROM data1 WHERE data1 .entity_id =data.entity_id AND (data1 .no= 10) LIMIT 1 ),1,20)
I just didn't understand why there is LIMIT 1), 1, 20). Then asked you whether this query was correct. You said yes. But in fact, you needed to type SUBSTRING in the beginning of this query.
Then instead, you showed me the entire query with more than 100 words. I got crazy.
Now here are some images about your requirement.
Another workaround is you might run this entire query in tMysqlRow. I'm not sure because I don't have database data and can't test this entire query.
Regards,
Pedro