Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. DELETE FROM tbl_boat, tbl_qualifications
  2. WHERE tbl_boat.BT_ID = '$bt_id' AND tbl_boat.BT_ID = tbl_qualifications.BT_ID;
  3.  
  4. DELETE FROM tbl_boat
  5. INNER JOIN tbl_qualifications
  6. WHERE tbl_boat.BT_ID = '$bt_id' AND tbl_boat.BT_ID = tbl_qualifications.BT_ID;
  7.  
  8. DELETE tbl_boat, tbl_qualifications
  9. FROM
  10. tbl_boat
  11. INNER JOIN tbl_qualifications USING (BT_ID)
  12. WHERE
  13. tbl_boat.BT_ID = '$bt_id'
  14.  
  15. DELETE tbl_boat, tbl_qualifications FROM tbl_boat, tbl_qualifications
  16. WHERE tbl_boat.BT_ID = '$bt_id' AND tbl_boat.BT_ID = tbl_qualifications.BT_ID;
  17.  
  18. DELETE a.*, b.*
  19. FROM tbl_boat AS a
  20. INNER JOIN tbl_qualifications AS b
  21. ON b.BT_ID = a.BT_ID
  22. WHERE tbl_boat.BT_ID = '$bt_id';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement