I would like to know if there is a way to merge all these queries into one.
$sql = "SELECT COUNT(status) as closedtickets FROM tickets WHERE status = \'c