0

これが私のケースです:

  table a
  table b
  table c (type int)

if c.type = 1 select all rows in table a
if c.type = 2 select all rows in table b

現在、私の解決策は、3 つのテーブルのすべての行を検索し、結果を処理して値を取得することですが、それは本当に悪いことです。

4

1 に答える 1