select patientid as Patient,cast (addon as Date) as Date from PatientMaster group by patientid, CAST(addon as date) having CompanyID = 150
select patientid as Patient,cast (addon as Date) as Date from PatientMaster order by patientid, CAST(addon as date) having CompanyID = 150
select patientid as Patient,cast (addon as Date) as Date from PatientMaster where CompanyID = 150 order by Patient, Date
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)