Adding SQL code table "credit"