1SELECT * FROM `locality` WHERE url = 'lafleche-sk' LIMIT 1
1UPDATE locality SET weather = '{\"date\":\"2024-04-19\",\"data\":{\"2024-04-19\":{\"01\":{\"temp\":-5,\"pressure\":1029,\"humidity\":84,\"icon\":\"13n\",\"wind\":7},\"04\":{\"temp\":-5,\"pressure\":1029,\"humidity\":86,\"icon\":\"13n\",\"wind\":7},\"07\":{\"temp\":-5,\"pressure\":1030,\"humidity\":86,\"icon\":\"13n\",\"wind\":7},\"10\":{\"temp\":-4,\"pressure\":1033,\"humidity\":77,\"icon\":\"13d\",\"wind\":8},\"13\":{\"temp\":-1,\"pressure\":1033,\"humidity\":61,\"icon\":\"13d\",\"wind\":7},\"16\":{\"temp\":1,\"pressure\":1033,\"humidity\":54,\"icon\":\"04d\",\"wind\":7},\"19\":{\"temp\":-0,\"pressure\":1033,\"humidity\":65,\"icon\":\"04d\",\"wind\":7},\"22\":{\"temp\":-3,\"pressure\":1035,\"humidity\":80,\"icon\":\"04n\",\"wind\":3}},\"2024-04-20\":{\"01\":{\"temp\":-5,\"pressure\":1035,\"humidity\":86,\"icon\":\"03n\",\"wind\":2},\"04\":{\"temp\":-5,\"pressure\":1035,\"humidity\":82,\"icon\":\"01n\",\"wind\":2},\"07\":{\"temp\":-5,\"pressure\":1034,\"humidity\":83,\"icon\":\"01n\",\"wind\":3},\"10\":{\"temp\":-0,\"pressure\":1033,\"humidity\":53,\"icon\":\"01d\",\"wind\":3},\"13\":{\"temp\":4,\"pressure\":1030,\"humidity\":30,\"icon\":\"01d\",\"wind\":3},\"16\":{\"temp\":7,\"pressure\":1028,\"humidity\":26,\"icon\":\"01d\",\"wind\":2},\"19\":{\"temp\":8,\"pressure\":1025,\"humidity\":26,\"icon\":\"01d\",\"wind\":2},\"22\":{\"temp\":4,\"pressure\":1024,\"humidity\":42,\"icon\":\"01n\",\"wind\":3}},\"2024-04-21\":{\"01\":{\"temp\":2,\"pressure\":1022,\"humidity\":47,\"icon\":\"01n\",\"wind\":4},\"04\":{\"temp\":1,\"pressure\":1020,\"humidity\":51,\"icon\":\"01n\",\"wind\":4},\"07\":{\"temp\":1,\"pressure\":1017,\"humidity\":52,\"icon\":\"01n\",\"wind\":5},\"10\":{\"temp\":7,\"pressure\":1012,\"humidity\":39,\"icon\":\"04d\",\"wind\":7},\"13\":{\"temp\":13,\"pressure\":1008,\"humidity\":32,\"icon\":\"04d\",\"wind\":8},\"16\":{\"temp\":13,\"pressure\":1006,\"humidity\":44,\"icon\":\"04d\",\"wind\":7},\"19\":{\"temp\":13,\"pressure\":1004,\"humidity\":29,\"icon\":\"04d\",\"wind\":9},\"22\":{\"temp\":8,\"pressure\":1005,\"humidity\":52,\"icon\":\"04n\",\"wind\":4}}}}' WHERE id = 18673 LIMIT 1
0SELECT * FROM `region` WHERE id = 179 LIMIT 1
0SELECT * FROM `category` WHERE url = 'health' LIMIT 1
1SELECT locality_id, category_id, price_level FROM `category_item` WHERE locality_id = 18673 AND category_id = 118 GROUP BY locality_id, category_id, price_level
0SELECT COUNT(*) FROM `category_item` WHERE locality_id = 18673 AND category_id = 118
1SELECT * FROM category_item INNER JOIN item ON category_item.item_id = item.id WHERE category_item.locality_id = 18673 AND category_item.category_id = 118 ORDER BY item.name LIMIT 0,24
0SELECT * FROM `region` WHERE id IN ('179') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('18673') LIMIT 1
0SELECT * FROM `photos` WHERE `item_id` IN ('174096','174041','174051','174056')
0SELECT item_id, category_id FROM `category_item` WHERE item_id IN ('174096','174041','174051','174056')
0SELECT * FROM `category` WHERE id IN ('96','118','143') LIMIT 3
0SELECT locality_id, category_id FROM `category_item` WHERE locality_id = 18673 GROUP BY locality_id, category_id
1SELECT * FROM `category` WHERE `id` IN ('96','97','98','99','100','102','103','104','107','108','110','115','118','119','120','121','126','128','130','132','133','134','143','144') ORDER BY name
0SELECT * FROM counts where updated="2024-04-19" and table_name like 'news'
0SELECT * FROM counts where updated="2024-04-19" 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') LIMIT 1
0SELECT * FROM `locality` WHERE id IN ('17286','16547','17033') LIMIT 3
0SELECT * FROM `photos` WHERE `item_id` IN ('24649','24651','24653','24654')
0SELECT * 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