• You forgot to put drops for you temp tables (#data, #category) at the end of the code block.