Redshift
Database Management
How to Create a TableHow to Use DISTKEY, SORTKEY and Define Column Compression EncodingHow to Drop a TableHow to Rename a TableHow to Truncate a TableHow to Duplicate a TableHow to Add a ColumnHow to Drop a ColumnHow to Rename a ColumnHow to Add or Remove Default Values or Null Constraints to a ColumnHow to Create an IndexHow to Drop an IndexHow to Create a ViewHow to Drop a View
Dates and Times
Analysis
How to Use CoalesceHow to Get First Row Per GroupHow to Avoid Gaps in DataHow to Do Type CastingHow to Write a Common Table ExpressionHow to Import a CSVHow to Compare Two Values When One is NullHow to Write a Case StatementHow to Query a JSON ColumnHow to Have Multiple CountsHow to Calculate Cumulative Sum-Running TotalHow to Calculate Percentiles