3 ms·That's exactly what SQL does. No one ever said it was hard to do business logic in SQL.by collyw 6y agoThat's exactly what SQL does. No one ever said it was hard to do business logic in SQL.