select Distinct Faculty_Name = (select top 1 facname from faculty where facid = bfid), Rating = (case rate when '1' then 'Excellent' when '2' then 'Good' when '3' then 'Fair' when '4' then 'Poor' when '0' then 'Not Applicable' end)
Faculty_Name Rating Ramesh Excellent Ramesh Good Suresh Fair Suresh Poor
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)