Basic sql query problem
Both your queries are shorthand for this:

SELECT dept.deptno AS deptno, 
       dept.deptname AS deptname, 
       dept.deptsal AS deptname 
  FROM dept AS dept;


SQL is sometimes forgiving and will imply the AS clauses and correlation names, other times it requires them for no logical reason e.g. 

SELECT deptno
  FROM dept JOIN emp USING (deptno);


will complain that deptno is ambiguous

SELECT deptno
  FROM (SELECT deptno FROM dept);


will complain that the derived table has no correlation name.

To answer the question: would would include, omit or revise the default correlation name to make the code to aid the human coder -- easier to read and understand means it will be  easier to maintain -- but tastes vary (when the same table is involved in a query more than once then you need to used an alternative correlation name to disambiguate for the purposes of the parser, obviously).