question

Devesh0124 avatar image
Devesh0124 asked

Table inside another table

Hello ,I want to query data inside a table A...the data inside table A is another table B in the names column....I want to query the data inside B without accessing B...but by A ...How do I write this query which queries on data inside table.I hope you got my question
query
3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Kev Riley avatar image Kev Riley ♦♦ commented ·
You would have to construct some dynamic sql using the results of querying table A, and then execute that dynamic sql
1 Like 1 ·
Kev Riley avatar image Kev Riley ♦♦ commented ·
Can you post some example data to show what you mean?
0 Likes 0 ·
Devesh0124 avatar image Devesh0124 commented ·
Yes...I want to say there are two other tables B and C which contain data...but table B and C are table names in table A column tablename...I want to access data in table B and table C by writing a query on table A
0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.