Database: social_media
Question: What is the code of Gwynedd State?
SQL: SELECT DISTINCT StateCode FROM location WHERE State = 'Gwynedd'