Sql query with where conditions

I have table ‘zipcode’ and that have column ‘code’. Code column have staring of zipcode like

395
453
302
1203
12

I want to write sql query from that i can identify is this zip code match with records?

Valid Input zipcode

395004
395152
3952
1256