adspace


What is left join example?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

define sql insert statement ? : Sql dba

1110


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2102


What is the current version of postgresql?

1188


what are all the common sql function? : Sql dba

1141


Can we use distinct and group by together?

1146


what is sql server agent? : Sql dba

1189


how to start mysql server? : Sql dba

1279


What is the best sql course?

1064


what is schema? : Sql dba

1163


Is primary key clustered index?

1028


What is the current version of sql?

1106


Can delete statement be rollbacked?

1065


what is collation? : Sql dba

1242


how to escape special characters in sql statements? : Sql dba

1124


how many tables will create when we create table, what are they? : Sql dba

1156