Re: HardCORE QUERY HELP!!!

From: Erwin Moller <erwin(at)_removespam_dexus(dot)nl>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: HardCORE QUERY HELP!!!
Date: 2003-03-03 18:24:15
Message-ID: 3E639DCF.9000705@_removespam_dexus.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

This is your prof speaking:
"DO YOUR OWN HOMEWORK YOU CHEATER!"

Seriously,

I'll give you a hint:
Try using
SELECT * FROM emp WHERE
(
sal >
(SELECT sal FROM emp AS EMP2
WHERE (EMP2.mgr=emp.mgr))
)

or something like that.
Use a ALIAS for the same table to distinguish them.

Hmm I am doing your homework.
Did I deserve a beer now?
;-)

Regards,
Erwin

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Joe Conway 2003-03-03 18:25:26 Re: Querying Hierarchical Data
Previous Message Josh Berkus 2003-03-03 18:18:10 Re: Beginner needs help