To remove a table from your Query, either select the table in the Tables in Use panel (figure 1) and click Remove Table (figure 2), or simply double-click the table (figure 3).
(figure 1)
(figure 2)
(figure 3)