Working out SQL. Testing RNC with addressbook.