Dear sir,
i have table machine with colums id,mach_model.
if query select count(mach_model) from machine where mach_model like '%etp%' rows effected are 200
for the same query if filter with '%ttp%' rows effected are 400
i need to right a query to get output like
mach_type | count
etp | 200
ttp |300
i want distinct and count for the same table simultaneously.
Thanks
↧