mysql query query

Posted by nightcoder1 on Stack Overflow See other posts from Stack Overflow or by nightcoder1
Published on 2010-04-17T16:32:09Z Indexed on 2010/04/17 16:33 UTC
Read the original article Hit count: 390

Filed under:

basically i need to write a query for mysql, but i have no experience in this and i cant find good tutorials on the old tinternet.

i have a table called rels

with columns "hosd_id" "linkedhost_id" "text link"

and a table called hostlist with columns "id" "hostname"

all i am trying to achieve is a query which outputs the "hostname" and "linked_id" when "host_id" is equal to "id"

any help or pointers on syntax or code would be helpfull, or even a good mysql query guide

© Stack Overflow or respective owner

Related posts about mysql-query