Pagination using SQL Query
In this lesson we will create a sql statement with join, execute it using WB ui for demonstration. Later, we will use an API through a function to exercise the same call.
Code: /lessons/Pagination_using_SQL_Query
SELECT
c.id AS customer_id,
c.firstName AS first_name,
c.lastName AS last_name,
li.id AS line_item_id,
li.description,
li.price
FROM
Customer_tbl c
JOIN
LineItem_tbl li ON c.id = li.customerId
WHERE
c.id = {{{id}}};
Last updated