-- Place your SQL code here UPDATE vn.buy b JOIN vn.entryConfig e ON e.defaultEntry = b.entryFk SET b.printedStickers = 0 WHERE printedStickers <> 0;