Code Better: Programming Skills for Developers
Code Better: Programming Skills for Developers
Categories / sql
Using PostgreSQL's WITH Clause for Complex Array Inserts
2024-08-28    
SELECT destinatario_id, mensagem, remetente_id, ROW_NUMBER() OVER (PARTITION BY destinatario_id ORDER BY created_at) AS row_num FROM mensagens m WHERE to_id = 1 AND created_at IN (SELECT min(created_at) FROM mensagens m2 WHERE m2.destinatario_id = m.destinatario_id)
2024-08-27    
Understanding SQL Joins with Parentheses: Best Practices for Complex Queries
2024-08-27    
Parsing Value Delimited from Both Sides of It into Multiple Rows Using SQL
2024-08-26    
Improving Performance with Parent-Child Relationships in SQL
2024-08-25    
Transforming Pivoted Data in SQL Server: A Step-by-Step Guide
2024-08-23    
Understanding Spring Data JPA and Hibernate Querying: The Limitations of Using Table Names from Parameters
2024-08-21    
Querying Secondary Tables Within Primary Tables in PostgreSQL: A Step-by-Step Approach
2024-08-21    
Simplifying SQL Conditionals: Combining Multiple THEN Statements into One
2024-08-21    
Using Conditional Aggregation in SQL Server: Advanced Data Analysis Techniques
2024-08-20    
Code Better: Programming Skills for Developers
Hugo Theme Diary by Rise
Ported from Makito's Journal.

© 2025 Code Better: Programming Skills for Developers
keyboard_arrow_up dark_mode chevron_left
40
-

115
chevron_right
chevron_left
40/115
chevron_right
Hugo Theme Diary by Rise
Ported from Makito's Journal.

© 2025 Code Better: Programming Skills for Developers