feat(distro): add filter table to sql upgrade scripts

related to #CAM-2628
fix(engine): add limitBetweenClob for tables with CLOB columns

- DB2 restrict 'select distinct' statements to not contain CLOB
  columns in the result set

see:
http://www-01.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/com.ibm.db2z10.doc.codes/src/tpc/n134.dita

related to #CAM-2628
fix(engine): add missing filter query sorting

related to #CAM-2628