Is it possible to concatenate billing_address_street,billing_address_city,billing_address_state,billing_address_postalcode, billing_address_country as one field called address?
Expected Result of the address field as below
3401 Dufferin St, North York, ON, M6A 2T9, Canada
SELECT a.name AS Name,
a.billing_address_street AS Address,
a.billing_address_city AS City,
a.billing_address_state AS State,
a.billing_address_postalcode AS Zip,
a.billing_address_country AS Country,
a.phone_office AS PhoneNumber1,
a.date_modified AS DateModify,
ac.store_c AS Store,
e.email_address AS Email
FROM accounts AS a,
accounts_cstm AS ac,
email_addr_bean_rel AS eb,
email_addresses AS e
WHERE a.id = ac.id_c
AND a.id = eb.bean_id
AND eb.bean_id = e.id
AND a.phone_office = '6471111234'
AND a.deleted != 1
GROUP BY a.id
ORDER BY a.date_modified
LIMIT 1