skip to Main Content

MySQL: join tables based on table name as a column value

Below is the database base snippet of the database that I am currently working on. Table transactions: id reference_table reference_field reference_id created_at 1 online_recharges online_recharge_id 10 2024-01-31 2 online_recharges online_recharge_id 11 2024-03-03 3 wallet_deductions wallet_deduction_id 10 2024-02-01 ... ... ...…

VIEW QUESTION

mysql breadcrumb with multiple joins

I would like to select all active categories and view it with a breadcrumb. In my database I have the following: id_category category_name velleman_id velleman_parent prestashop_category prestashop_category_2 prestashop_category_3 prestashop_category_4 deleted 1 Car & Bike 10 0 2 Bike 10.10 10…

VIEW QUESTION
Back To Top
Search