Subqueries
When to Use
Search for a command to run...
Articles tagged with #sql
When to Use
When to Use
Aggregate Functions (Used for calculations over a set of rows) SUM(): Calculates the sum of values over a window. AVG(): Calculates the average of values. MIN(): Finds the minimum value. MAX(): Finds the maximum value. COUNT(): Counts rows over ...
When to Use
Indexing Create indexes on columns frequently used in WHERE, JOIN and ORDER BY clauses for faster lookups. Avoid SELECT * Select only the necessary columns instead of using SELECT * to reduce the amount of data retrieved. Query Execution Plan Analysi...
thatjeffsmith.com/archive/2012/08/sql-developer-trick-renaming-your-worksheets -- execute (ctrl+enter) as a single line (no semicolon) SET worksheetname NAME
