What is left join example?



What is left join example?..

Answer / Km. Archana

An example of a left join in SQL can be: SELECT Orders.OrderID, Customers.CustomerName FROM Orders LEFT JOIN Customers ON Orders.CustomerID = Customers.CustomerID; This query returns all orders along with the corresponding customer name, including orders for customers who have not placed any orders.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is procedure explain with example?

1 Answers  


How can I get the number of records affected by a stored procedure?

1 Answers  


What does closing a cursor do?

1 Answers  


If an unique key constraint on DATE column is created, will it validate the rows that are inserted with SYSDATE?

4 Answers  


What is the purpose of using pl/sql?

1 Answers  


How to execute a stored procedure?

1 Answers  


The in operator may be used if you know the exact value you want to return for at least one of the columns.

1 Answers  


is it mandatory to select all the column in a view then what columns should be selected

2 Answers  


Explain the update statement in sql

1 Answers  


What is data modelling in sql?

1 Answers  


What are the types of join and explain each?

1 Answers  


What is a table in a database?

1 Answers  


Categories