FileStream fileStream = new FileStream(fileName, FileMode.OpenOrCreate);
fileStream.Write(data, 0, data.Length);
fileStream.Close();
select * from salon sl, admin ad
where (if(sl.model1 in (ad.model1, ad.model2, ad.model3, ad.model4, ad.model5), 1, 0) +
if(sl.model2 in (ad.model1, ad.model2, ad.model3, ad.model4, ad.model5), 1, 0) +
...
if(sl.model5 in (ad.model1, ad.model2, ad.model3, ad.model4, ad.model5), 1, 0)) >= 3