Hello everyone,
The following sql
Select Severity,Offender,Descr
from chargeview
where offender = 16744 and eclock is null
produces the following result set
severity offender descr
99300 16744 vop
14200 16744 agg asslt
99904 16744 187
53232 16744 bw
I need the result set to only show the row with the highest severity level. I am not sure how to write the subquery if one is needed , any guidance or assistance would be most appreciated.
Thank you for taking the time to read this post and helping.
The following sql
Select Severity,Offender,Descr
from chargeview
where offender = 16744 and eclock is null
produces the following result set
severity offender descr
99300 16744 vop
14200 16744 agg asslt
99904 16744 187
53232 16744 bw
I need the result set to only show the row with the highest severity level. I am not sure how to write the subquery if one is needed , any guidance or assistance would be most appreciated.
Thank you for taking the time to read this post and helping.