I want to take one row of data, compare it with another row of data by using certain mathematcial equations, and return that data to some place. How would I go about doing that?
Well, given that amount of information about the task, along with the amount of sample input data, intended output data and attempted code you've given us, I think the way you'd go about it is:
Perhaps that wasn't very helpful, but it's the best I could do with what I know.- select one row of data somehow - select another row of data (either in the same way, or differently +) - do some arithmetic on the two pieces of data and compare the resul +ts - Insert or otherwise store some suitable result data somewhere
How about you try something out, and if it works, great! If it doesn't, show us the code you tried, what data went into it, what it produced, and how that differed from what you wanted. (Or, if all you get is error messages, show the code and the error messages.)
In reply to Re: DBI for noobs
by graff
in thread DBI for noobs
by jdlev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |