how can i build the attached file in QlikView?
If you are fetching data directly from Database, you can use the same SQL statement in QlikView script.
Otherwise use as below
Load * From Table1:
Left join (A)
Load * From Table2:
You should be able to implement a Venn-diagram from google charts into your application.
See Venn Diagram in Qlikview using google chart api
You can simply write your sql script using SQL keyword as
SQL Select <list>
From TableA A
Left join TableB B
ON A.Key = B.Key
where B.Key is NULL;
Load Key, field1, field2From TableAA Left JoinLoad Key filed3 field4From TableBB where Isnull(Key);
Retrieving data ...