p_SQL is Select A.product_weight, A.Name, A.Price, A.description, A.product_catid, A.customproduct_id, A.product_qnty_id, A.allowed_sizes, B.size_type, B.print_type, B.view_type from ilogo_product AS A INNER JOIN ilogo_category AS B ON A.product_catid = B.category_id where ID=26703p_SQL is Select A.* from ilogo_customproduct AS A where A.id=26836p_SQL is Select A.product_weight, A.Name, A.Price, A.description, A.product_catid, A.customproduct_id, A.product_qnty_id, B.size_type, B.print_type, B.view_type from ilogo_product AS A INNER JOIN ilogo_category AS B ON A.product_catid = B.category_id where ID=16p_SQL is select * from ilogo_product where id=16p_SQL is select * from ilogo_product_parts where id IN (1,2,3,4,5,6,8,13,14,44)