|
Just enter SELECT count(*) FROM jrnfile WHERE joentt = 'LD' -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of fbocch2595@xxxxxxx Sent: Tuesday, February 06, 2007 2:49 PM To: midrange-l@xxxxxxxxxxxx Subject: Re: SQL Question Yes, I wanted a value of the # of jojob's where joentt is LD. -----Original Message----- From: mrosinger@xxxxxxxxx To: midrange-l@xxxxxxxxxxxx Sent: Tue, 6 Feb 2007 3:05 PM Subject: Re: SQL Question Frank, Did you mean for each unique value of JOJOB you want a count of that grouping? If so, Don's response is correct. I understood from your posting that you wanted a total where joentt is "LD". -- Regards, Michael Rosinger Systems Programmer / DBA Computer Credit, Inc. 640 West Fourth Street Winston-Salem, NC 27101 336-761-1524 m rosinger at cciws dot com "Don Tully Sr" <donald.tully@xxxxxxx> wrote in message news:mailman.2364.1170791734.2713.midrange-l@xxxxxxxxxxxxxxx
Select JOjob, count(*) from jrnfile where joentt='LD' group by Jojob Don -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of fbocch2595@xxxxxxx Sent: Tuesday, February 06, 2007 1:40 PM To: midrange-l@xxxxxxxxxxxx Subject: Re: SQL Question Hi folks, here's my statement; SELECT * FROM jrnfile WHERE joentt = 'LD' ORDER BY JOJOB I'm looking to get a total of the jojob entries that have joentt of
LD.
How is that done? Thanks, Frank ______________________________________________________________________ __ Check out the new AOL. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
-- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. ________________________________________________________________________ Check out the new AOL. Most comprehensive set of free safety and security tools, free access to millions of high-quality videos from across the web, free AOL Mail and more. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.