Following on from this: http://stackoverflow.com/questions/3411339/sql-insert-from-select and the correct answer marked there.
I will need to be able to also check whether the row already exists, also by using the username. So would I delete and then insert or is there a better way? And if it is delete, how do I say DELETE FROM table WHERE UserID = do the username select here Thanks