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
..
I noticed that there were some threads with similar questions, and I did look through them but did not really get a convincing answer. Here s my question: The subquery below returns a Table with 3 ...