Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はデータベースのスタックを持っていますが、すべて同じ構造です。必要なのは、テーブル「config」、列「serial」の値、および各データベースのデータベース名です。
データベースを自動的に反復処理し、データベース名とそのconfig.serialの値を取得する方法はありますか?
乾杯、グウェン
SELECT <db>.<table>.config,<db>.<table>.serial,<otherdb>.<othertable>.config,<otherdb>.<othertable>.serial FROM <db>.<table>,<otherdb>.<othertable> WHERE ...