Posted on:

29 Jun 2025

0

Omission of table indication: a general rule

"You can omit the table indication in the GROUP BY section if the column name is encountered only once throughout the joined tables" 

My question:


Is this generally true for all columns in all parts of the query? For example, I noticed that there is AVG(salary) instead of AVG(s.salary) and the query still works.

0 answers ( 0 marked as helpful)

Submit an answer