I’m using mysql for my database, I’m fine with, the simple queries are no problem, but now I have to select from two tables and I have no idea how I can do it.
I have two tables, one with suppliers one with articles in it.
Here is my rough schema:
supplierdb
sid,searchname,name,adress
articlesdb
aid,quantities,description,price,->sid<-
My question is: how do I select in a articles select query the searchname of sid without doing two separate queries?
I want that the query returns:
aid,description,price,searchname(from supplierdb)
TRY JOIN