With MySQL, how can i query a column from the table at 3 level depth?
I mean:
[main table] —> [child table 1] —> [child table 2]
> C#1's ID ——– > C#2's ID ———— > String Column
For example:
[transaction]
– id
– bookid *
– date
– staff
[book]
– id
– authorid *
– title
[author]
– id
– name
By knowing only transaction.id, so how can i query for a result including following columns?
.. transaction.date , book.title , author.name ..
1 Answer