Thank you for the help, FullCircles.
I didnt find a table ps_subdomain in database, so I create one, solving the "bad subdomain SQL querry" error, but another error occurred: "Current theme unavailable". I discovered that my theme was missing. I made again a backup. Comparing files and database, I saw that some files and tables were missing, so I restored my backup files and database. Now everything works fine.
!!!You may loose essential data while updating, manual backup is the best practice.
FullCircles, you made my day!
(sorry for my english)