hasancse1991

Untitled

Jul 22nd, 2018
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.51 KB | None | 0 0
  1. String query = "select pi.p_code, pi.brand_name, pi.p_group, pi.pack_s ,  pit.quantity,  " +
  2.                     "pip.T_P, pip.S_P from product_info pi, product_info_price pip, package_items pit\n" +
  3.                     " where pi.p_code in(\n" +
  4.                     " select p_code from package_items where package_id in(\n" +
  5.                     " select package_id from package_info where package_name like '" + packageName + "') )\n" +
  6.                     " and pi.p_code = pip.p_code and pi.p_code = pit.p_code";
Advertisement
Add Comment
Please, Sign In to add comment