The term 'expert' as you know is difficult to justify. It's far easier
to look at qualifications and experience, but I've seen some very
experienced people make the simplest of mistakes. I've spent a few
years re-working a previous developers work as it was very poor and yet
he probably has more experience than me. Would I call myself an expert
? Probably not. I'd leave that to my colleagues to decide. Have I got
anything seriously wrong ? Never. Would I take on any challenge ? Yes,
absolutely. However, when I talk to the people on the forum, I realise
that there is still a lot to learn and understand.
By the way, your question was very simple. I generally work with
complex queries with a lot of tables so I personally would find this
very easy. I do, however, come back here for advice from time to time
just for a little guidance as it's always good to make sure you are on
the right track.
Ryan
p.s. MVP is always a good indicator :-)
Don Vaillancourt wrote:[color=blue]
> I do a lot of hiring for my company and a lot of the people I[/color]
interview[color=blue]
> say that they are experts at SQL queries, but when I give them[/color]
something[color=blue]
> simple just beyond the typical SELECT type of queries, they choke.
>
> For example I have a table that looks like this:
>
> PK_ID - primary key
> PARENT_ID - a FK to another row in the same table
>
> This essentially is a tree structure. I will ask interviewees to[/color]
write[color=blue]
> a query that will return all the rows that have 2 direct children.[/color]
No[color=blue]
> one knows how to do this.
>
> I don't get it. I have done queries which boggle the mind and they[/color]
are[color=blue]
> far more complex than this.
>
> Am I asking too much?
>
>
> --
> * Don Vaillancourt
> Director of Software Development
> *
> *WEB IMPACT INC.*
> phone: 416-815-2000 ext. 245
> fax: 416-815-2001
> email:
donv@web-impact.com <mailto:donv@webimpact.com>
> web:
http://www.web-impact.com
>
>
>
> / This email message is intended only for the addressee(s)
> and contains information that may be confidential and/or
> copyright. If you are not the intended recipient please
> notify the sender by reply email and immediately delete
> this email. Use, disclosure or reproduction of this email
> by anyone other than the intended recipient(s) is strictly
> prohibited. No representation is made that this email or
> any attachments are free of viruses. Virus scanning is
> recommended and is the responsibility of the recipient.
> /[/color]