codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Join – Complex query – Highest ID using left join

    26th February 2014

    MySql

    mysql codehaven category

    This will get all results from table 1 where they appear in table 2, and get the highest ID of that result, and display the data!

    Another version using WHERE and AND

    Was this code snippet helpful?