Can sales tax deduction encompass two states?

We have recently constructed our new primary residence in TN (Cert of Occupancy 12/20/19).  TN has a 9.75% sales tax and we have accumulated over $10k in sales tax for items for the new home.  Our MD state tax deduction as less than $6k.  Does the same rule of "one or the other" (state or sales) apply if it involves two states?