Firstly, show us the actual code you are trying: your code will not work as column
pass.sudent_id
doesn't exist in your tables.
And when I fix that, it works:
SELECT * FROM borrow
LEFT JOIN student ON borrow.student_id=student.student_id
LEFT JOIN pass ON borrow.student_id=pass.student_id
With your data as shown, I get all the data:
Borrow_ID Student_ID NoLapTop Lend_Date Pass_Date Send_Date Student_ID Student_Name Class Gender NoHP Borrow_ID Student_ID Lend_Date NoLapTop Pass_date Send_Date
1 12345 LP123 2019-11-01 NULL 2019-10-01 12345 Lee 5A Male 011-111 1 12345 2019-11-01 LP123 2019-11-02 2019-10-01
2 54321 LP321 2019-11-01 NULL 2019-10-01 54321 Lia 5A Female 022-222 NULL NULL NULL NULL NULL NULL
If you want less, then specify exactly which rows you want instead of
SELECT *
BTW: your tables appear to be duplicating a lot of data, which is generally a bad idea. And Gender fields should probably be a FOREIGN KEY to a separate table, instead of storing text directly in the "student" table.
I'd look at what you are storing and why, and consider if that's really the best design - duplicated data easily gets out of step and causes major problems later.
I'd also change the names: use plurals for tables, and use ID as the ID row in each table, and reference it via a columns named after the table and "ID":
Students
ID StudentName Class GenderID NoHP
Borrowings
ID StudentID LaptopID LendDate PassDate SendDate
Passes
ID BorrowID StudentID LaptopID LendDate PassDate SendDate