class lec HERE aid dba 頭刪 spa nec div

1 select wordbase.name,wb.name,wordconnection.wordid,wordconnection.aid,wordbase.goodsid,goods.hscode,goods.name from wordbase join wordconnection on wordbase.id=wordconnection.wordid ,wordbase wb,goods
2 where wordbase.name=THREAD and wb.id=wordconnection.aid and wb.name=STEEL and wordbase.goodsid=wb.goodsid and wordbase.goodsid=goods.id
3 select * from wordbase
.

標記一下,回頭刪除。

最近學習的sql查詢語句連接查詢,標記一下