scottobear: (Default)
[personal profile] scottobear
Scotto, don't forget.

SELECT rpr0324.NAME, rpr0324.OFFICE, rpr0324.SEQ, rpr0324.PREFIX, Count(rpr0324.PREFIX) AS CountOfPREFIX
FROM rpr0324
GROUP BY rpr0324.NAME, rpr0324.OFFICE, rpr0324.SEQ, rpr0324.PREFIX
HAVING (((rpr0324.NAME)="Jennifer Poole"));


simplicity is what matters. Jenny will be much happier, as a result.

dude...

Date: 2001-03-23 11:12 am (UTC)
From: [identity profile] childhood.livejournal.com
why are you re-specifying the table name with the field you're referencing in query? you only need to do that when there's two tables with the same fieldnames..

:)~

Re: dude...

Date: 2001-03-23 11:19 am (UTC)
From: [identity profile] scottobear.livejournal.com
there are, that's a smaller chunk of fat code.

oh so it's partial sql code

Date: 2001-03-23 11:33 am (UTC)
From: [identity profile] childhood.livejournal.com
i.e. a sub select? still sure you shouldn't need to reference it so explictly..

but heck i'm only seeing a small portion of this program. i'm not messing with you bad ass developer types ;) *chuckles*

p.s. how did the newt live test go? was it as cool as the simulation? :)

Re: oh so it's partial sql code

Date: 2001-03-23 12:04 pm (UTC)
From: [identity profile] scottobear.livejournal.com

I always am explicit in my code, just so we know exactly what we're looking at... who knows what table we're referencing a year from now.

no, it's part of a module that'll be plugged into some assorted other codes. :)

Newt's far better in real life than in the simulator.

Re: oh so it's partial sql code

Date: 2001-03-23 04:18 pm (UTC)
From: [identity profile] ckirkman.livejournal.com
Um, Chris lost. Chris not mean what you say. Me go paint on cave wall now.

Re: oh so it's partial sql code

Date: 2001-03-23 06:48 pm (UTC)
From: [identity profile] scottobear.livejournal.com

Ug, after today at work, Mongo am with you.

Profile

scottobear: (Default)
scott von berg

April 2017

S M T W T F S
       1
2 345678
9 10 11 12 13 14 15
16 1718 19 20 21 22
23 2425 26 2728 29
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 4th, 2026 04:57 pm
Powered by Dreamwidth Studios