title: Headers and details from database tables
body: <p>I need an editor to create some reports, all reports have header (company name, address, phone, image) that is read from a table called companies and have a detailed, example all customers of the company.</p>
  
  <p>How could I do this in iReports?</p>
  
  <p>Is there any way to link two tables (company and customer) in my report? because the "report query" only allows me a sentence.</p>
  
  <p>I work with Java Swing and MySql database.</p>
  
  <p>Thanks for your helpful comments.</p>
  
  <p><img src="https://i.stack.imgur.com/6Mqan.jpg" alt="Report example"></p>