How do I write a query to join two tables

More
07 Mar 2019 02:19 #6758 by Daniel
Replied by Daniel on topic How do I write a query to join two tables
Hello,
To write a query, you must have knowledge of MySql. The query would be like the following: select a.name, b.value from table1 as a join table2 as b on a.catid=b.id

Thanks
Daniel

Please Log in to join the conversation.

  • Kelechi Kalu
  • Topic Author
  • Offline
  • New Member
  • New Member
More
07 Mar 2019 01:28 #6756 by Kelechi Kalu
How do I write a query to join two tables was created by Kelechi Kalu
Hello,
I would like to create a Table Chart Type containing values from two different tables within an existing Database in my Joomla website. How can I write a query to join two tables?
See the attached screenshot showing two tables that I need to extract information to populate my Table Chart Type.
Kindly provide me a sample query.

Please Log in to join the conversation.

Cron Job Starts