how to delete 2 rows with one query with mysql -


hi guys how can delete 2 rows in 1 query 1 table. code is:

delete panel_friends                 friends_friend_id = ' . $k . ' , friends_member_id = ' . $key2 ,                 friends_friend_id = ' . $k2 . ' , friends_member_id = ' . $key 

delete    panel_friends   (friends_friend_id = :k1 , friends_member_id = :k2)         or         (friends_friend_id = :k2 , friends_member_id = :k1) 

Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -