June 29, 2005 at 10:36 am
I conceed Noel. The repeated use of MAX isn't right. Your query is better.
Francis
June 29, 2005 at 10:36 am
Let's just hope he has QA to catch up bugs, or that it's just a school homework...
June 29, 2005 at 10:38 am
Better might be a strong word here. We still don't know the requirement of the query are and we're ready to close down this thing. Maybe we're getting ahead of ourselves.
June 29, 2005 at 10:38 am
I don't think so Sushila.
I guess we'll hear again from this guy today .
June 29, 2005 at 10:40 am
Agree with Remi here. We STILL don't know what was actually needed
* Noel
June 29, 2005 at 10:41 am
Remi - read through the second half of my response (you're NOT paying attention!!)...
I've said that Jay's requirements and table def could actually work with Francis' solution!
**ASCII stupid question, get a stupid ANSI !!!**
June 29, 2005 at 10:43 am
I don't think so I believe he didn't payed attention because of the fact that names returned had some sence. Pretty sure he'll be back, just not when
* Noel
June 29, 2005 at 10:44 am
How likely is that, a flawed query that works on flawed design with flawed data with flawed lookup of the answer?? If you reread what I said, I said "I don't think so", not "it's not possible". But this is starting to be a moo point, so I'll go have some lunch. L8r.
On second thaught that might be very possible .
June 29, 2005 at 10:44 am
Looks like we are thinking in the same line today
* Noel
June 29, 2005 at 1:01 pm
thank you for everyone's help. the query from fhanlon was indeed had some problems.
I used the one provided by noeld and it worked fine.
June 29, 2005 at 1:09 pm
Cool. Could you please provide the required information next time so that we don't have to guess again? That way we can provide a tested solution in far less time. Everyone gains from this.
June 29, 2005 at 1:11 pm
hth
* Noel
June 30, 2005 at 8:12 am
There is one significant (potential) problem with this query. Max(emp_id), max(fname), max(lname) and max(job_lvl) could all be from different rows in the table; they're _probably_ not going to be from the same row.
June 30, 2005 at 8:13 am
We know that... the 2nd page of posts is all about that.
June 30, 2005 at 8:26 am
Yes - it was when Noel pointed out the exact same flaw that started off the whole discussion...and led me to help another user with a similar problem....
**ASCII stupid question, get a stupid ANSI !!!**
Viewing 15 posts - 16 through 29 (of 29 total)
You must be logged in to reply to this topic. Login to reply