Howtos for The Rest of Us

Skills

SQL Standards

Style

SELECT
    u.id,
    u.email,
    p.display_name
FROM
    users u
    INNER JOIN profiles p ON p.user_id = u.id
WHERE
    u.is_active = TRUE
ORDER BY
    u.created_at DESC;

Naming

Queries

Schema

Migrations

Transactions

Security