select lb_objs.id,lb_objs.attrib,lb_trans.action from lb_objs,lb_trans + where lb_objs.attrib = 1 and lb_objs.id = lb_trans.id order by lb_trans.instant desc
Update: Hmm. Didn't understand all the requirements. I'm not sure how to fullfill it in that case.
In reply to Re: (OT) Postgres Query
by mr.nick
in thread (OT) Postgres Query
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |