Hi @Bone_12 ,
Yes, you can:
from new_cust as a
inner join ex_custr as b
on a.cust_no = b.cust_no
inner join platform as c
on a.mort_no = c.mort_no
left join staff as d
on d.staff_id = b.staff_id
Please refer to the following example.The connected field in the book table does not exist in the Student table, but we can still connect the book table and the Student table through the borrow table:
SELECT * FROM Student
SELECT * FROM book
SELECT * FROM borrow
Output:
SELECT * FROM Student s
JOIN borrow b
ON s.stuID=b.BstuID
JOIN book bo
ON b.BID=bo.BID
Output:
If you have any question, please feel free to let me know.
Regards
Echo
If the answer is helpful, please click "Accept Answer" and upvote it.