Question Mysql. I want to export one row from one table using catch: I want to collect all the rows in all other tables referenced by the source rows by foreign keys, and also refer to new rows, recursively, until I get all the rows that the source "must exist."
How can i do this?
Add additional inner joins until you do this through your data structure
Select * from table1 t1 inner join table2 t2 on t1.pk = t2.fk inner join table3 t3 on t2.pk = t3.fk ....... where t1.pk = {pk id number} limit 0,1
Source: https://habr.com/ru/post/1720808/More articles:Can I use the static (i.e. Predefined) name of the callback function when requesting JSONP using jQuery? - javascriptHTML encoded code expressions - syntaxHow to make trasanction cover multiple stored procedures? - sql-serverHow do you convert audio files (on the fly) to a browser? - linuxjQuery hosted on Google CDN: why do I need internet access? - jqueryLinq Join - Duplicates - c #файл электронной почты через форму php - fileWhy don't structures work in Xcode when they work in Visual C ++? Need help! - c ++Why is there only one WM_DEVICECHANGE message when deleting a multi-volume USB device? - winapiXcode: "The analyzer skipped this file due to parsing errors" - xcodeAll Articles