help_outline FAQ chevron_right FAQ chevron_right Detail

What SQL query is used in the LIBRARY report example to fetch book and category data?

book category query sql used data

The SQL query used is: SELECT C.Category AS Category, Book, Writer FROM Books B WITH (NOLOCK) LEFT JOIN Categories C WITH (NOLOCK) ON C.UserTableID=B.CategoryID WHERE B.CategoryID='$PCategories$'