Either as or that can be used before a clause: only as can be used before a noun or pronoun. It's the same hat as/that I wore last year. It's the same hat as mine.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.