Subjective, but I like to use named identifiers (e.g. customer_id, item_id, etc.)
My reasoning is that if you name your foreign keys in sequence, this will simplify the union, it is always a.customer_id = b.customer_id. Otherwise, with complex queries that use many connections, you have a sea of ββ"id" columns, and itβs not immediately clear what is happening with what.
ETA:
In addition, if you use MySQL, you can use simpler join syntax, for example:
FROM customers INNER JOIN orders USING customer_id
source share