You can either hit the Backspace key to delete the shot(s) and leave the timeline open, or you can hit the Delete key (to the right) to remove the shot and close up the gap. This is all covered in the manual.
For anybody new to Resolve Editing, be sure to go through the free textbook & training videos:
"The Editor's Guide to DaVinci Resolve 17"
available on Blackmagic's Training website:
https://www.blackmagicdesign.com/produc ... e/trainingYou'll find these are enormously helpful, even if you have experience with other editing & color platforms. There's tons of shortcuts covered, which will help cut precious minutes off every session. The 4060-page manual is good as well, but the textbooks present it in a much more concise way. (Coming soon is an update for Resolve 18.)