Lets say I have a table in MySQL called articles, that has a column called article_id. I also have another table called links which have two columns called article_id and link.
Every article can have multiple links attached, let's say that article_id=2 have two links:
articles:
article_id | text
-----------+------
2 | blah
links:
article_id | url
-----------+------
2 | test1
2 | test2
Now I want a query that can somehow select the text from articles and the url from links where article_id=2 is that possible in one query?