I need to write a select which will list all of the Clients however here is trick if client has status 1 or 2 it should mark this client with *
before name. It should looks like
Vasya Pupkin
* Masha Pupkina
select looks like
select FirstName + ' '+ LastName, Address, DOB
from Clients
Order By FirstName
that means Masha is active client. Spend almost 2 hours for searching in internet but cannot find anything useful. Because of that asking question here.