Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
NSC | JOIN Types: INNER JOIN
An inner join is a type of SQL join that combines rows from two tables based on a shared or common value. It matches and retrieves data where there is an intersection between the specified columns of both tables. As a result, only the rows that satisfy this condition are included in the output.
Sample Query:
The following is an example of an inner join between the "customer" and "employee" tables:
SELECT customer.entityid, customer.email, employee.entityid FROM customer INNER JOIN employee ON customer.salesrep = employee.id;
In this query, the customer table is joined with the employee table based on the common value of customer.salesrep and employee.id.
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see
Tagged:
0
