1SELECT * FROM `locality` WHERE url = 'exshaw-ab' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-16\",\"data\":{\"2024-04-16\":{\"01\":{\"temp\":2,\"pressure\":1017,\"humidity\":93,\"icon\":\"13n\",\"wind\":2},\"04\":{\"temp\":0,\"pressure\":1017,\"humidity\":94,\"icon\":\"13n\",\"wind\":1},\"07\":{\"temp\":-1,\"pressure\":1018,\"humidity\":95,\"icon\":\"13n\",\"wind\":2},\"10\":{\"temp\":-3,\"pressure\":1020,\"humidity\":90,\"icon\":\"13d\",\"wind\":2},\"13\":{\"temp\":-1,\"pressure\":1020,\"humidity\":84,\"icon\":\"13d\",\"wind\":2},\"16\":{\"temp\":-0,\"pressure\":1020,\"humidity\":84,\"icon\":\"13d\",\"wind\":2},\"19\":{\"temp\":-1,\"pressure\":1022,\"humidity\":87,\"icon\":\"13d\",\"wind\":3},\"22\":{\"temp\":-5,\"pressure\":1027,\"humidity\":95,\"icon\":\"13n\",\"wind\":2}},\"2024-04-17\":{\"01\":{\"temp\":-7,\"pressure\":1031,\"humidity\":96,\"icon\":\"13n\",\"wind\":1},\"04\":{\"temp\":-9,\"pressure\":1033,\"humidity\":92,\"icon\":\"04n\",\"wind\":2},\"07\":{\"temp\":-10,\"pressure\":1035,\"humidity\":93,\"icon\":\"04n\",\"wind\":2},\"10\":{\"temp\":-4,\"pressure\":1032,\"humidity\":69,\"icon\":\"04d\",\"wind\":1},\"13\":{\"temp\":-2,\"pressure\":1031,\"humidity\":57,\"icon\":\"04d\",\"wind\":2},\"16\":{\"temp\":-1,\"pressure\":1030,\"humidity\":65,\"icon\":\"13d\",\"wind\":2},\"19\":{\"temp\":-2,\"pressure\":1031,\"humidity\":77,\"icon\":\"13d\",\"wind\":2},\"22\":{\"temp\":-4,\"pressure\":1035,\"humidity\":97,\"icon\":\"13n\",\"wind\":2}},\"2024-04-18\":{\"01\":{\"temp\":-7,\"pressure\":1037,\"humidity\":96,\"icon\":\"13n\",\"wind\":1},\"04\":{\"temp\":-8,\"pressure\":1038,\"humidity\":99,\"icon\":\"13n\",\"wind\":0},\"07\":{\"temp\":-11,\"pressure\":1040,\"humidity\":98,\"icon\":\"04n\",\"wind\":1},\"10\":{\"temp\":-5,\"pressure\":1037,\"humidity\":78,\"icon\":\"04d\",\"wind\":1},\"13\":{\"temp\":-2,\"pressure\":1033,\"humidity\":55,\"icon\":\"04d\",\"wind\":2},\"16\":{\"temp\":-1,\"pressure\":1031,\"humidity\":51,\"icon\":\"13d\",\"wind\":2},\"19\":{\"temp\":-2,\"pressure\":1031,\"humidity\":65,\"icon\":\"13d\",\"wind\":2},\"22\":{\"temp\":-5,\"pressure\":1034,\"humidity\":91,\"icon\":\"13n\",\"wind\":2}}}}' WHERE id = 14358 LIMIT 1
1SELECT * FROM `region` WHERE id = 168 LIMIT 1
1SELECT * FROM `category` WHERE url = 'general-contractor' LIMIT 1
4SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 14358 AND category_id = 103 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 14358 AND category_id = 103
2SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 14358 AND category_item.category_id = 103 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('168') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('14358') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('224558','224401','224567','197504','197508')
1SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('224558','224401','224567','197504','197508')
0SELECT * FROM `category` WHERE id IN ('96','103') LIMIT 2
2SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 14358 GROUP BY locality_id, category_id
0SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','103','106','107','108','115','119','133','155','169') ORDER BY name
0SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-16" and table_name like 'news'
1SELECT * FROM `category` ORDER BY name
4SELECT * FROM `item` f JOIN ( SELECT RAND() * (SELECT MAX(id) FROM `item`) AS max_id ) AS m WHERE f.id >= m.max_id ORDER BY f.id ASC LIMIT 4
0SELECT * FROM `region` WHERE id IN ('176','170','178') LIMIT 3
0SELECT * FROM `locality` WHERE id IN ('16944','15315','15342','18477') LIMIT 4
0SELECT * FROM `photos` WHERE `item_id` IN ('200254','200255','200256','200257')
1SELECT * FROM `locality` f JOIN ( SELECT RAND() * (SELECT MAX(id) FROM `locality`) AS max_id ) AS m WHERE f.id >= m.max_id ORDER BY f.id ASC LIMIT 7
0SELECT * FROM `region` WHERE id IN ('168') LIMIT 1