You need to retrieve data from two related tables, "Customers" and "Orders." Which SQL clause should you use to combine the data from both tables based on a common key?

  • FULL OUTER JOIN
  • INNER JOIN
  • LEFT JOIN
  • RIGHT JOIN
INNER JOIN is used to combine data from two tables based on a common key. It returns only the rows where there is a match in both tables. In this scenario, it will retrieve data from both "Customers" and "Orders" tables where there is a common key, enabling you to link related information.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *