Add query likes in database.