Whats the difference between using On and Where keywords in a Sql query to check conditions.
select * from child_table inner join parent_table p on p.id>0;
select * from child_table inner join parent_table p where p.id>0;
Both these queries are providing me the same result