Q: Delete subselect

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tbird67ForSale@aol.com

    #1

    Q: Delete subselect

    --part1_111.26c68 89e.2c6d6bdf_bo undary
    Content-Type: text/plain; charset="US-ASCII"
    Content-Transfer-Encoding: 7bit

    I know that MySQL 3.23.nnn did not support a delete subselect, just wondering
    what the best/most efficient way to do the following is:

    delete from table_a where table_a.column_ 1 in ( select column_1 from
    table_b);

    Assuming that column_1 is the same data type and size in both table_a and
    table_b.

    Any help would be greatly appreciated.

    Regards,
    Tony

    --part1_111.26c68 89e.2c6d6bdf_bo undary--
Working...