• I answered OK, but...

    The first variant with IN can be more effective, it allways depend on data. Compare two queries without any knowledge about structure of tables, indexes, possible data distributions...



    See, understand, learn, try, use efficient
    © Dr.Plch