3
複数の `or`式を避ける
私は次のOracle SQLとその作品を持っていますが、すべてのもので非常にquiteいですor。これを行うより簡潔な方法はありますか? SELECT * FROM foobar WHERE (SUBJECT ='STAT' and TERM ='111') or (SUBJECT ='STAT' and TERM ='222') or (SUBJECT ='ENGLISH' and TERM ='555') or (SUBJECT ='COMM' and TERM ='444') or (SUBJECT ='COMM' and TERM ='333') or (SUBJECT ='STAT' and TERM ='666') ...