This is a hypothetical situation based on a real-life experience.
A set of authors recruited the same patient cohort, collected data with two questionnaires, took one blood sample, but tests were done by two research students for two pathogens, and the results were presented separately in two theses. Subsequently, they sent different papers to two journals. No plagiarism has been identified between the papers.