21.01.2013 Views

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

QlikView Reference Manual.pdf - QlikCommunity - QlikView

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

If used before join, it specifies that the join between the two tables should be an inner join. The resulting<br />

table contains only combinations between the two tables with a full data set from both sides.<br />

If used before keep, it specifies that the two tables should be reduced to their common intersection before<br />

being stored in <strong>QlikView</strong>.<br />

Example:<br />

QVTable:<br />

Select * from Table1;<br />

inner join select * from Table2;<br />

QVTab1:<br />

Select * from Table1;<br />

QVTab2:<br />

inner keep select * from Table2;<br />

The two tables in the keep example are of course associated via the field A.<br />

Left<br />

The join and keep prefixes in the <strong>QlikView</strong> script language can be preceded by the prefix left.<br />

If used before join, it specifies that the join between the two tables should be a left join. The resulting table<br />

only contains combinations between the two tables with a full data set from the first table.<br />

If used before keep, it specifies that the second table should be reduced to its common intersection with the<br />

first table before being stored in <strong>QlikView</strong>.<br />

Example:<br />

372

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!