Good Morning... I seem to be having a problem getting the data that I want from a single query...
I have a table that contains various information on record processing
it has an auto increment field called period_id
also a field called max_pl_trans
What I need to be able to determine is the value of the max_pl_trans field in the record with the max period_id
this is what I am trying, but getting an empty set back.
SELECT max_pl_trans FROM adm_period_pay WHERE period_id=(SELECT max('period_id') FROM adm_period_pay)
Could someone give me an idea what is wrong with this query, because it makes sense to me (but that doesn't necessarilly mean anything).
thanks in advance.
Douglas