The result will depend on the deleted parts, if the (encrypted) master key is intact, it should be able to restore it to a usable state.
Follow this post to use the command:
"bitcoin-wallet" is in the "bin" folder inside Bitcoin Core's installation directory (where bitcoind and bitcoin-cli are located).
To use it, open Terminal, cd to the directory where bitcoin-wallet is.
Then use the command (provide the full path to the wallet.dat file):
It wont return with any response (unless it failed) but you will see a backup file (wallet.dat.xxxxx.bak) where the wallet.dat is located.
The new wallet.dat is the "salvaged" wallet.
If you don't know how to "cd" (change directory), simply type cd "path_to_the_directory" in your Command Prompt window, in this case bitcoin core's bin folder.
e.g. (Windows default): cd C:\Program Files\Bitcoin\bin