select ID, OWNER, ACCOUNT, BANKNAME, SWIFT, EXPMONTH, EXPYEAR, CARDNUMBER, BD_TYPE from BILLINGDETAILS left outer join CREDITCARD on ID=CREDITCARD_ID