Hi:
I have a database that has an entry for a piece of equipment, the date it was moved to a new job and the new job. I need a query which shows where the equipment is now - i.e. the the equipment and the job line with the most recent date.
Select equipment, max(date),job
from equipment_list
group by equipment, job
doesn't work because the job is always different. I still get multiple lines per piece of equipment.
Thanks in advance,
Carol
I have a database that has an entry for a piece of equipment, the date it was moved to a new job and the new job. I need a query which shows where the equipment is now - i.e. the the equipment and the job line with the most recent date.
Select equipment, max(date),job
from equipment_list
group by equipment, job
doesn't work because the job is always different. I still get multiple lines per piece of equipment.
Thanks in advance,
Carol