Write SQL in your JavaScript