By clicking
To select a note, click on the note head with the Object Selection tool. The note head gets colored to indicate that it is selected.
To select more notes, hold down Shift and click on them.
To deselect notes, hold down Shift and click on them again.
If you hold down Shift and double-click on a note, this note and all the following notes in the same staff are selected.