The Schengen National Visa (type D) is usually the longest. It is valid for 6 months to 5 years. It does not have the 90-days limit like the others.