Below code gives me the correct data BUT I would like to display other fields from the table, now it just displays two rows of data. How can I display more ?
$query5="select count(*) AS TOTAL from (select CName,Max([Date/Time]) AS [Date_Time] from $table
where [MS03-013]='NoPatch'
group by CName)";
$querya[5]= "select Distinct CName AS tt,Max([Date/Time]) AS [Date_Time] from $table
where [MS03-013]='NoPatch'
group by CName";
$query5="select count(*) AS TOTAL from (select CName,Max([Date/Time]) AS [Date_Time] from $table
where [MS03-013]='NoPatch'
group by CName)";
$querya[5]= "select Distinct CName AS tt,Max([Date/Time]) AS [Date_Time] from $table
where [MS03-013]='NoPatch'
group by CName";