select * from stock inner join stocktype on stock.stocktypeid=stocktype.stocktypeid where stockname like '%hp%9229%' order by stocktype.stocktypeid desc
หาแบบนี้เจองับ
Code
select * from stock inner join stocktype on stock.stocktypeid=stocktype.stocktypeid where stockname like '%hp 9229%' order by stocktype.stocktypeid desc