Explain the difference between INNER JOIN and LEFT JOIN in SQL. - Study24x7
Social learning Network

Warning: include(./views/auth.php): failed to open stream: Permission denied in /var/www/html/live/loginRightSlider.php on line 18

Warning: include(): Failed opening './views/auth.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/live/loginRightSlider.php on line 18

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/live/makepost.php on line 52
19 Mar 2024 11:16 AM study24x7 study24x7

Explain the difference between INNER JOIN and LEFT JOIN in SQL.

A

They are synonymous and can be used interchangeably

B

INNER JOIN returns only matching rows, while LEFT JOIN returns all rows from the left table and matching rows from the right table 

C

 LEFT JOIN returns only matching rows, while INNER JOIN returns all rows from the left table and matching rows from the right table

D

 INNER JOIN is used for numeric data, while LEFT JOIN is used for text data

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles