Question

Table Meta:
-------------------------------------
type                  tab_name
new                   tab_news
sports                tab_sps

Table tab_news
------
id

Table tab_sps
-------------------
id
xx

Maintenant je veux utiliser

SELECT id 
  FROM (SELECT tab_name 
          FROM Meta 
         WHERE type = 'news');

Mais cela ne fonctionne pas, des idées?

Pas de solution correcte

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top