title: How to make a field in a table reference to another table in MySQL/MariaDB?
body: <p>Say I'm setting up an small database with just 2 tables: feeds and feeditems.</p>
  
  <p>In one table I'd store the feedname and url, with an ID as unique key.</p>
  
  <p>In the second table I'd like to store some info coming from feed items (in example: date, title, url of the item and feedname). But instead of storing the feed name, I'd like to reference this feed field to the ID of that feed in the first table.</p>
  
  <p>Thanks</p>