Created generic SQL queries. One query to return card vital stats