RE: not all rows returned when using order by and null values?

2005-01-04 Thread John McCaskey
: Re: not all rows returned when using order by and null values? Even more interesting...: mysql> (SELECT avg FROM event_log_5minute_20050104 WHERE monitor_id=479139 AND monitor_server_id=1 AND timestamp >= 2005010408 AND timestamp < 2005010508) order by avg; +---

Re: not all rows returned when using order by and null values?

2005-01-04 Thread John McCaskey
wrote: > > > - Original Message - > > > From: "John McCaskey" <[EMAIL PROTECTED]> > > > To: > > > Sent: Tuesday, January 04, 2005 5:22 PM > > > Subject: not all rows returned when using order by and null values? > > > >

Re: not all rows returned when using order by and null values?

2005-01-04 Thread John McCaskey
> > Sent: Tuesday, January 04, 2005 5:22 PM > > Subject: not all rows returned when using order by and null values? > > > > > > > See below: > > > mysql> (SELECT avg FROM event_log_5minute_20050104 WHERE > > > monitor_id=479139 AND monitor_se

Re: not all rows returned when using order by and null values?

2005-01-04 Thread John McCaskey
On Tue, 2005-01-04 at 17:43 -0500, Rhino wrote: > - Original Message - > From: "John McCaskey" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, January 04, 2005 5:22 PM > Subject: not all rows returned when using order by and null values? > > >

Re: not all rows returned when using order by and null values?

2005-01-04 Thread Rhino
- Original Message - From: "John McCaskey" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 04, 2005 5:22 PM Subject: not all rows returned when using order by and null values? > See below: > mysql> (SELECT avg FROM event_log_5minute_20050104 WHER

not all rows returned when using order by and null values?

2005-01-04 Thread John McCaskey
See below: mysql> (SELECT avg FROM event_log_5minute_20050104 WHERE monitor_id=479139 AND monitor_server_id=1 AND timestamp >= 2005010408 AND timestamp < 2005010508 order by avg); +-+ | avg | +-+ |NULL | |NULL | |NULL | |NULL | |NULL | | 55854.1 | | 5