Another way to say "Each country has a different flag" is "A different flag is had by each country."