State Taxes

I live in Tennessee, did the work in South Carolina, but the 1099 for the work came from Florida. Which state gets the tax?!