I,m trying this query but don't know what kind join is this inner join or anything else?
select *
FROM abc
JOIN xyz on abc.id =xyz_id;
I,m trying this query but don't know what kind join is this inner join or anything else?
select *
FROM abc
JOIN xyz on abc.id =xyz_id;
This is an INNER join. If you added the INNER keyword before JOIN, it will do the same thing. It's an optional keyword.
The following join types are listed in the PostgreSQL docs
[ INNER ] JOINLEFT [ OUTER ] JOINRIGHT [ OUTER ] JOINFULL [ OUTER ] JOINCROSS JOINThe content in square brackets is optional in the grammar but omitting it still gives the same join type.