Horje Website
SQL Using Subquery Inside Delete Statement – MYsql Code

SQL Using Subquery Inside Delete Statement

SQL Using Subquery Inside Delete Statement - SQL Code


 
  1. DELETE FROM orders
  2. WHERE order_id IN (SELECT order_id FROM order_details WHERE product_id = 5);



Try Your Self ->



Published:
September 28, 2020
Author:
admin
Category:
SQL Advanced, SQL Source Code
Views:
19

This article was posted in SQL Advanced, SQL Source Code and tagged , , . Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Horje © 2011 - 2023