Unix Technical Forum

RE: SUM in WHERE

This is a discussion on RE: SUM in WHERE within the MySQL General forum forums, part of the MySQL category; --> I tried it also with 5.0.24-community-nt and it still didn't work! Randall Price Microsoft Implementation Group Secure Enterprise Computing ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:17 PM
Price, Randall
 
Posts: n/a
Default RE: SUM in WHERE

I tried it also with 5.0.24-community-nt and it still didn't work!

Randall Price

Microsoft Implementation Group
Secure Enterprise Computing Initiatives
Virginia Tech Information Technology
1700 Pratt Drive
Blacksburg, VA 24060

Email: Randall.Price@vt.edu
Phone: (540) 231-4396

-----Original Message-----
From: Ahmad Al-Twaijiry [mailto:ahmadt@gmail.com]
Sent: Tuesday, September 19, 2006 10:06 AM
To: Edward Macnaghten
Cc: mysql@lists.mysql.com
Subject: Re: SUM in WHERE

I tried it also with 4.1.21-log and still didn't work !

On 9/19/06, Ahmad Al-Twaijiry <ahmadt@gmail.com> wrote:
> I tried that before and it also doesn't work, is it because I'm using
> mysql version 4.1.19 ?
>
> On 9/19/06, Edward Macnaghten <eddy@edlsystems.com> wrote:
> > Ahmad Al-Twaijiry wrote:
> >
> > > Hi everyone
> > >

> > <snip>
> >
> > > SELECT * FROM tbl_name WHERE SUM(Total)=100 ORDER BY ID
> > >
> > >

> >
> > SELECT ID FROM tbl_name GROUP BY ID HAVING SUM(Total)=100 ORDER BY

ID
> >

>
>
>
> --
>
> Ahmad Fahad AlTwaijiry
>



--

Ahmad Fahad AlTwaijiry

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/mysql?unsub=Randall.Price@vt.edu

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:17 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com