条件表 (T_CONDITION_TABLE)
COLUMN_NAME COLUMN_VALUE
USER COUNT 0
USER COUNT 1
STATUS ACTIVE
STATUS APPROVED
建议查询:
SELECT * FROM T_MASTER_TABLE WHERE ---- IN (SELECT * FROM T_CONDITION_TABLE)
T_CONDITION_TABLE 中的记录是动态的,可以经常包含新值。