ok this works
select idord# FROM astdta.oeind2 WHERE idprt# not like 'frt%' AND iddocd >
20150930

so its the sum part,what is wrong with that?

On Wed, Dec 9, 2015 at 7:55 AM, Hoteltravelfundotcom <
hoteltravelfun@xxxxxxxxx> wrote:

select idord#, sum(idshp# * idntu$) from astdta.oeind2 WHERE idprt# not
like 'frt%' AND iddocd > 20150930

am getting error,

SQL0122 - Column IDORD# or expression in SELECT list not valid. what is
wrong here in the syntax?


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].