Use the column checkboxes to build your query. Header columns sets/unsets all columns
SELECT DocEntry, LineNum, ObjType, LogInstanc, VatGroup, StaCode, StaType, StaIndex, BaseNet, BaseNetFc, BaseNetSc, VatSum, VatSumFc, VatSumSc, DctSum, DctSumFc, DctSumSc, EqSum, EqSumFc, EqSumSc, ApplNet, ApplNetFc, ApplNetSc, ApplVat, ApplVatFc, ApplVatSc, ApplDct, ApplDctFc, ApplDctSc, ApplEq, ApplEqFc, ApplEqSc, PaidNet, PaidNetFc, PaidNetSc, PaidVat, PaidVatFc, PaidVatSc, PaidDct, PaidDctFc, PaidDctSc, PaidEq, PaidEqFc, PaidEqSc, DpApplNet, DpApplNetF, DpApplNetS, DpApplVat, DpApplVatF, DpApplVatS, DpApplDct, DpApplDctF, DpApplDctS, DpApplEq, DpApplEqFc, DpApplEqSc, TaxCode, LineType, BaseGrs, BaseGrsFc, BaseGrsSc, ApplGrs, ApplGrsFc, ApplGrsSc, PaidGrs, PaidGrsFc, PaidGrsSc, DpApplGrs, DpApplGrsF, DpApplGrsS, RvsChrgSum, RvsChrgSc, RvsChrgFc, ApplRvs, ApplRvsSc, ApplRvsFc, PaidRvs, PaidRvsSc, PaidRvsFc, DpApplRvs, DpApplRvsS, DpApplRvsF, IsPrscGood, IsCstmAct FROM IEI15