Sql, Data, Data Engineering, Programming, Data Science.
and hence there is no need of using SELECT DISTINCT. Don’t use SELECT * ever: Selecting unnecessary columns would be a waste of memory and CPU cycle. It is always better to select column names instead of * or extra columns. Avoid sub-query where possible: Sub-query creates temp tables to store data