D
dchristo
SELECT dbo.inform.code1, dbo.inform.name, dbo.inform.desc1,
dbo.master.uniq_id, dbo.master.caseno, dbo.master.clnam, dbo.master.state
FROM dbo.inform INNER JOIN dbo.master on dbo.inform.code1=dbo.master.clnam
WHERE DBO.INFORM.CD_TYPE = 'CO' AND DBO.MASTER.CLOSED = '0'
ORDER BY dbo.master.caseno
My problem is there can be one case number with two Uniq_id's, I need to get
the max of the Uniq_ids. I can do it when I only have one table to work
with, but I can't quite understand when I have two or more tables to work
with.
Thank you in advance.
dbo.master.uniq_id, dbo.master.caseno, dbo.master.clnam, dbo.master.state
FROM dbo.inform INNER JOIN dbo.master on dbo.inform.code1=dbo.master.clnam
WHERE DBO.INFORM.CD_TYPE = 'CO' AND DBO.MASTER.CLOSED = '0'
ORDER BY dbo.master.caseno
My problem is there can be one case number with two Uniq_id's, I need to get
the max of the Uniq_ids. I can do it when I only have one table to work
with, but I can't quite understand when I have two or more tables to work
with.
Thank you in advance.