-- Database schema
| businesses : business_id [ INTEGER ] primary_key , name [ TEXT ] , address [ TEXT ] , city [ TEXT ] , postal_code [ TEXT ] , latitude [ REAL ] , longitude [ REAL ] , phone_number [ INTEGER ] , tax_code [ TEXT ] , business_certificate [ INTEGER ] , application_date [ DATE ] , owner_name [ TEXT ] , owner_address [ TEXT ] , owner_city [ TEXT ] , owner_state [ TEXT ] , owner_zip [ TEXT ] | inspections : business_id [ INTEGER ] inspections.business_id = businesses.business_id , score [ INTEGER ] , date [ DATE ] , type [ TEXT ] | violations : business_id [ INTEGER ] violations.business_id = businesses.business_id , date [ DATE ] , violation_type_id [ TEXT ] , risk_category [ TEXT ] , description [ TEXT ] |
-- -- Between 2014 to 2016, what is the average inpsection score of the establishment owned by Yiu Tim Chan in 808 Pacific Ave, San Francisco?

SELECT AVG(T1.score) FROM inspections AS T1 INNER JOIN businesses AS T2 ON T1.business_id = T2.business_id WHERE STRFTIME('%Y', T1.`date`) BETWEEN '2014' AND '2016' AND T2.owner_name = 'Yiu Tim Chan' AND T2.address = '808 Pacific Ave' AND T2.city = 'San Francisco';