Advertisement
Syput

kemaren

Nov 25th, 2021
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. select a.*
  2. from tr_product_store a
  3. inner join tr_product_supplier b on (a.i_product=b.i_product)
  4. where
  5. (upper(a.i_product) like '%$cari%' or upper(a.e_product_name) like '%$cari%')
  6. and a.i_store in(select i_store from tm_user_storex where i_user='$iuser')
  7. and a.i_product in(select i_product from tr_product_satuan)
  8. order by a.i_product
  9.  
  10. select a.*
  11. from tr_product_bom a
  12. left join tr_product_supplier b on(a.i_product=b.i_product)
  13. where b.i_product_type in('24','26','24','26','41','45','47','52','93','B5','B7','B8','B9','C1')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement