{
    "url": "https://delaparra-services.nl/knowledge-hub/full-outer-join",
    "locale": "en",
    "title": "FULL OUTER JOIN: Knowledge hub | DeLaParra Services",
    "description": "Keeps unmatched rows from BOTH sides, filling missing columns with NULL.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/full-outer-join",
        "nl": "https://delaparra-services.nl/nl/kennisbank/full-outer-join"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/full-outer-join.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/full-outer-join.md",
        "json": "https://delaparra-services.nl/knowledge-hub/full-outer-join.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/full-outer-join.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/full-outer-join.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/full-outer-join.csv",
            "encodingFormat": "text/csv",
            "name": "full-outer-join.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/full-outer-join.json",
            "encodingFormat": "application/json",
            "name": "full-outer-join.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/full-outer-join.md",
            "encodingFormat": "text/markdown",
            "name": "full-outer-join.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/full-outer-join.pdf",
            "encodingFormat": "application/pdf",
            "name": "full-outer-join.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/full-outer-join.zip",
            "encodingFormat": "application/zip",
            "name": "full-outer-join.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/full-outer-join/skills.zip",
            "encodingFormat": "application/zip",
            "name": "full-outer-join-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [FULL OUTER JOIN](<https://delaparra-services.nl/knowledge-hub/full-outer-join>)\n\n  \n\nCategory: SQL \n\n# FULL OUTER JOIN\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is FULL OUTER JOIN?\n\n \n\nFULL OUTER JOIN: Keeps unmatched rows from BOTH sides, filling missing columns with NULL. A ` FULL OUTER JOIN ` returns all rows from both tables. Where rows match, they are combined. Where a row has no match on the other side, the missing columns are filled with ` NULL `. It is useful for comparing two data sets. Matching an export from your webshop with an export from your accounting system shows orders that exist in only one of them, and those are exactly the ones you want to investigate.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about FULL OUTER JOIN\n\n  \n\n### What should you keep in mind with FULL OUTER JOIN?\n\n \n\nMySQL does not support ` FULL OUTER JOIN ` directly. You get the same result by combining a ` LEFT JOIN ` and a ` RIGHT JOIN ` with ` UNION `. PostgreSQL and SQL Server support it natively. In everyday application queries it is rare; it mainly appears in reconciliation and reporting, where missing data is exactly what you are looking for.\n\n    \n\n### What does an example of FULL OUTER JOIN look like?\n\n \n\n```\nSELECT u.name, o.total FROM users u FULL OUTER JOIN orders o ON o.user_id = u.id;\n```\n\n \n\n## At a glance\n\n   CategorySQL Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More SQL terms\n\n \n\n- [DISTINCT](<https://delaparra-services.nl/knowledge-hub/distinct>) \n- [EXISTS](<https://delaparra-services.nl/knowledge-hub/exists>) \n- [EXPLAIN / EXPLAIN ANALYZE](<https://delaparra-services.nl/knowledge-hub/explain-explain-analyze>) \n- [GIN index](<https://delaparra-services.nl/knowledge-hub/gin-index>) \n- [GiST index](<https://delaparra-services.nl/knowledge-hub/gist-index>) \n- [GROUP BY](<https://delaparra-services.nl/knowledge-hub/group-by>)\n\n \n\n[All terms starting with F](<https://delaparra-services.nl/knowledge-hub#letter-f>)\n\n \n\n## Skills\n\n \n\n- ### SQL Performance Optimization Assistant\n\n \n\n'Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.'\n\n [View skill](<https://delaparra-services.nl/skills/sql-optimization>) [Download zip](<https://delaparra-services.nl/skills/sql-optimization/download>) \n- ### SQL Code Review\n\n \n\n'Universal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Focuses on SQL injection prevention, access control, code standards, and anti-pattern detection. Complements SQL optimization prompt for complete development coverage.'\n\n [View skill](<https://delaparra-services.nl/skills/sql-code-review>) [Download zip](<https://delaparra-services.nl/skills/sql-code-review/download>) \n- ### Laravel Database Optimization\n\n \n\nLaravel database optimization patterns. Use when writing Eloquent queries, creating migrations, configuring caching, debugging slow queries, or optimizing database performance. Triggers on tasks involving N+1 queries, indexing, Redis caching, pagination, or database transactions.\n\n [View skill](<https://delaparra-services.nl/skills/laravel-database-optimization>) [Download zip](<https://delaparra-services.nl/skills/laravel-database-optimization/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/full-outer-join/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [Writing SQL queries and migrations](<https://delaparra-services.nl/manuals/sql-queries-en-migraties>) \n- [PHP and Composer](<https://delaparra-services.nl/manuals/php-en-composer>)\n\n \n\n## Related services\n\n \n\n- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)\n\nPerhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet. \n- [AI code review](<https://delaparra-services.nl/services#service-05>)\n\nWhen you push your new change, I will review your code, help your agent avoid the same mistake again, and get your app ready for deployment.\n\n \n\n## Need any help?\n\n \n\nStuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/full-outer-join)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/full-outer-join#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/full-outer-join",
                "name": "FULL OUTER JOIN: Knowledge hub | DeLaParra Services",
                "description": "Keeps unmatched rows from BOTH sides, filling missing columns with NULL.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/full-outer-join#term",
                    "name": "FULL OUTER JOIN",
                    "description": "Keeps unmatched rows from BOTH sides, filling missing columns with NULL.",
                    "termCode": "full-outer-join",
                    "url": "https://delaparra-services.nl/knowledge-hub/full-outer-join",
                    "inLanguage": "en",
                    "keywords": "SQL",
                    "dateModified": "2026-11-25T17:46:26+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/full-outer-join#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/full-outer-join#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/full-outer-join#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is FULL OUTER JOIN?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Keeps unmatched rows from BOTH sides, filling missing columns with NULL. A FULL OUTER JOIN returns all rows from both tables. Where rows match, they are combined. Where a row has no match on the other side, the missing columns are filled with NULL. It is useful for comparing two data sets. Matching an export from your webshop with an export from your accounting system shows orders that exist in only one of them, and those are exactly the ones you want to investigate."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with FULL OUTER JOIN?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "MySQL does not support FULL OUTER JOIN directly. You get the same result by combining a LEFT JOIN and a RIGHT JOIN with UNION. PostgreSQL and SQL Server support it natively. In everyday application queries it is rare; it mainly appears in reconciliation and reporting, where missing data is exactly what you are looking for."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What does an example of FULL OUTER JOIN look like?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "SELECT u.name, o.total FROM users u FULL OUTER JOIN orders o ON o.user_id = u.id;"
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/sql-optimization#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/sql-code-review#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/laravel-database-optimization#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/sql-queries-en-migraties#article"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/php-en-composer#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/full-outer-join#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "FULL OUTER JOIN"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/full-outer-join#dataset",
                "name": "FULL OUTER JOIN",
                "description": "Keeps unmatched rows from BOTH sides, filling missing columns with NULL.",
                "url": "https://delaparra-services.nl/knowledge-hub/full-outer-join",
                "identifier": "https://delaparra-services.nl/knowledge-hub/full-outer-join#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/full-outer-join#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "SQL",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:26+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "full-outer-join.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/full-outer-join.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:26+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "full-outer-join.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/full-outer-join.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:26+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "full-outer-join.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/full-outer-join.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:26+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "full-outer-join.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/full-outer-join.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:26+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "full-outer-join.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/full-outer-join.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:26+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "full-outer-join-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/full-outer-join/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:26+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}