MIDRANGE dot COM Mailing List Archive



MIDRANGE-L » February 2013

SQL Break/total question




Hi Folks, this statement runs fine;

SELECT LGSESN, LGDATE FROM anloga
WHERE LGSESN NOT LIKE '%ARCHIVE%'
order by LGSESN


but if I want to only have each LGSESN output a single line with the total number of hits for all the LGSESN's, what's the syntax for that?


Is there any tip sheets or manuals for learning SQL?

Thanks, Frank





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2013 by MIDRANGE dot 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 here. If you have questions about this, please contact