Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: array of arrays calculations

by Generoso (Parson)
on Jan 19, 2011 at 17:12 UTC ( #883166=note: print w/ replies, xml ) Need Help??


in reply to Re: array of arrays calculations
in thread array of arrays calculations

SELECT h.e_id, h.cus, h.gd1-ifnull(t.gd1,0) as dif1, h.gd2-ifnull(t.gd2,0) as dif2 FROM tabla1 h left join tabla2 t on h.e_id = t.e_id and h.cus = t.cus;

This works


Comment on Re^2: array of arrays calculations
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://883166]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2015-07-29 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls