--- title: Remove Joins ms.custom: seo-lt-2019 ms.date: 01/19/2017 ms.prod: sql ms.prod_service: sql-tools ms.technology: ssms ms.topic: conceptual helpviewer_keywords: - "removing joins" - "joins [SQL Server], removing" - "deleting joins" ms.assetid: ccc212a1-fd13-48d6-85e5-5ff310c34bbd author: markingmyname ms.author: maghan ms.manager: jroth ms.reviewer: --- # Remove Joins (Visual Database Tools) [!INCLUDE[appliesto-ss-asdb-asdw-pdw-md](../../includes/appliesto-ss-asdb-asdw-pdw-md.md)] If you do not want tables to be joined via an inner join or an outer join, you can remove the join between them. For example, you might remove a join that the [Query and View Designer](../../ssms/visual-db-tools/query-and-view-designer-tools-visual-database-tools.md) has been created automatically between two tables. > [!NOTE] > Removing a join from a query does not alter the underlying relationship in the database. If two joined tables are part of your query and you remove all join conditions between them, the resulting query becomes the product of both tables - that is, it becomes a CROSS JOIN. ### To remove a join - In the [Diagram pane](../../ssms/visual-db-tools/diagram-pane-visual-database-tools.md), select the join line for the join to remove, and then press the DELETE key. You can select and delete multiple join lines at one time. The Query and View Designer removes the join line and alters the statement in the [SQL pane](../../ssms/visual-db-tools/sql-pane-visual-database-tools.md). ## See Also [Join Tables Automatically (Visual Database Tools)](../../ssms/visual-db-tools/join-tables-automatically-visual-database-tools.md) [Join Tables Manually (Visual Database Tools)](../../ssms/visual-db-tools/join-tables-manually-visual-database-tools.md) [Query with Joins (Visual Database Tools)](../../ssms/visual-db-tools/query-with-joins-visual-database-tools.md)