SELECT *, CASE WHEN `name` LIKE "Buffalo%" AND `sub_cat` IS NULL AND `cat` IS NULL AND `locality` = "Buffalo" AND `logo_file_name` IS NOT NULL THEN 10 WHEN `sub_cat` IS NULL AND `cat` IS NULL AND `locality` = "Buffalo" AND `logo_file_name` IS NOT NULL THEN 2 WHEN `sub_cat` IS NULL AND `cat` IS NULL AND `locality` = "Buffalo" AND `logo_file_name` IS NULL THEN 1 WHEN `sub_cat` IS NULL AND `cat` IS NULL AND `locality` IS NULL AND `logo_file_name` IS NULL THEN 0 END as `rank` FROM `wp_62_slides` WHERE (locality IN ("Buffalo") OR locality IS NULL) AND (cat IS NULL) AND name NOT IN ("home-top", "home-bot") AND active = 1 ORDER BY `rank` DESC LIMIT 12 [3] matching rows / [0.00 msec] Blog ID 62 Blah

Buffalo

The best things to do in Buffalo, top professionals, and exclusive Buffalo real estate for sale.

Easily navigate to the best places to visit in Buffalo. Explore the tight-knit community via breathtaking pictures and videos from your desktop. Check out the latest events in Buffalo from your mobile device. Plan weekend trips with a few clicks or screen taps.

Ready to start exploring Buffalo? EXPLORE NOW

SELECT *, CASE WHEN `name` LIKE "Buffalo%" AND `sub_cat` IS NULL AND `cat` IS NULL AND `locality` = "Buffalo" AND `logo_file_name` IS NOT NULL THEN 10 WHEN `sub_cat` IS NULL AND `cat` IS NULL AND `locality` = "Buffalo" AND `logo_file_name` IS NOT NULL THEN 2 WHEN `sub_cat` IS NULL AND `cat` IS NULL AND `locality` = "Buffalo" AND `logo_file_name` IS NULL THEN 1 WHEN `sub_cat` IS NULL AND `cat` IS NULL AND `locality` IS NULL AND `logo_file_name` IS NULL THEN 0 END as `rank` FROM `wp_62_slides` WHERE (locality IN ("Buffalo") OR locality IS NULL) AND (cat IS NULL) AND (name = "home-bot") AND active = 1 ORDER BY `rank` DESC LIMIT 20 [5] matching rows / [0.00 msec] Blog ID 62 Blah
[instagram-feed num=9 cols=3 colsmobile=3 showheader=false showfollow=true type=user user=exploreus.ky]