Lokale użytkowe świętokrzyskie

Zawęź wyszukanie
Wyszukiwanie zaawansowane

4 ogłoszeń z kategorii: Lokale użytkowe świętokrzyskie

Lokal użytkowy, 2 936 m², Częstochowa
10 000 000 zł

Lokal użytkowy, 2 936 m², Częstochowa

2936 m23405zł/m2
Hotel 860,04 m2, Baranówek
10 000 000 zł

Hotel 860,04 m2, Baranówek

860.04 m211627zł/m2
Kompleks 11 budynków (hale i biura) 10 094m2
8 900 000 zł

Kompleks 11 budynków (hale i biura) 10 094m2

10685 m2832zł/m2
Lokal gastronomiczno-hotelowy, Ośno Lubuskie
950 000 zł

Lokal gastronomiczno-hotelowy, Ośno Lubuskie

475 m22000zł/m2
  Database queries (Total queries: 84 - Total queries time: 0.10098528862)  
0.0014657974243164 SELECT *
FROM (oc_t_preference)
0.00052905082702637 REPLACE INTO oc_t_preference (s_name, s_value, s_section, e_type) VALUES ('version', '121', 'radius_search', 'STRING')
0.00010299682617188 SELECT pk_i_id, fk_c_country_code, s_name, b_active, s_slug
FROM (oc_t_region)
WHERE pk_i_id = '781814'
0.00014019012451172 SELECT *
FROM ((SELECT a.*, b.*, c.i_num_items, FIELD(fk_c_locale_code, 'pl_PL') as locale_order
FROM (oc_t_category as a)
INNER JOIN oc_t_category_description as b ON a.pk_i_id = b.fk_i_category_id
LEFT JOIN oc_t_category_stats as c ON a.pk_i_id = c.fk_i_category_id
WHERE b.s_name != ''
AND a.b_enabled = 1
ORDER BY locale_order DESC) dummytable)
GROUP BY pk_i_id
ORDER BY i_position ASC
0.0014181137084961 SELECT *
FROM ((SELECT a.*, b.*, c.i_num_items, FIELD(fk_c_locale_code, 'pl_PL') as locale_order
FROM (oc_t_category as a)
INNER JOIN oc_t_category_description as b ON a.pk_i_id = b.fk_i_category_id
LEFT JOIN oc_t_category_stats as c ON a.pk_i_id = c.fk_i_category_id
WHERE b.s_slug = 'lokale-uzytkowe'
AND b.s_name != ''
ORDER BY locale_order DESC) dummytable)
GROUP BY pk_i_id
ORDER BY i_position ASC
7.8916549682617E-5 SELECT pk_i_id, fk_c_country_code, s_name, b_active, s_slug
FROM (oc_t_region)
WHERE pk_i_id = '781814'
0.00040006637573242 SELECT f.pk_i_id
FROM (oc_t_meta_fields f, oc_t_meta_categories c)
WHERE ( c.fk_i_category_id = 239 )
AND f.pk_i_id = c.fk_i_field_id
AND f.b_searchable = 1
7.4863433837891E-5 SELECT s_type
FROM (oc_t_item_custom_attr_fields)
WHERE pk_i_id = 'page'
LIMIT 1
0.00026392936706543 SELECT s_type
FROM (oc_t_item_custom_attr_fields)
WHERE pk_i_id = 'sRegion'
LIMIT 1
7.0095062255859E-5 SELECT s_type
FROM (oc_t_item_custom_attr_fields)
WHERE pk_i_id = 'sCategory'
LIMIT 1
0.0092620849609375 SELECT oc_t_item.*, oc_t_item.s_contact_name as s_user_name, oc_t_item_car_attr.i_power, oc_t_item_car_attr.i_year, oc_t_item_car_attr.i_mileage, oc_t_item_car_attr.e_fuel
FROM (oc_t_item)
LEFT JOIN oc_t_item_location ON oc_t_item_location.fk_i_item_id = oc_t_item.pk_i_id
LEFT JOIN oc_t_item_car_attr ON oc_t_item_car_attr.fk_i_item_id = oc_t_item.pk_i_id
WHERE oc_t_item.b_enabled = 1 AND oc_t_item.b_active = 1 AND oc_t_item.b_spam = 0 AND (oc_t_item.b_premium = 1 || oc_t_item.dt_expiration >= '2025-05-07 12:05:10')
AND oc_t_item.fk_i_category_id IN (239)
AND ( oc_t_item_location.fk_i_region_id = 781814 )
ORDER BY dt_pub_date desc
LIMIT 0, 12
0.0048019886016846 SELECT oc_t_item.pk_i_id, oc_t_item_car_attr.i_power, oc_t_item_car_attr.i_year, oc_t_item_car_attr.i_mileage, oc_t_item_car_attr.e_fuel
FROM (oc_t_item)
LEFT JOIN oc_t_item_location ON oc_t_item_location.fk_i_item_id = oc_t_item.pk_i_id
LEFT JOIN oc_t_item_car_attr ON oc_t_item_car_attr.fk_i_item_id = oc_t_item.pk_i_id
WHERE oc_t_item.b_enabled = 1 AND oc_t_item.b_active = 1 AND oc_t_item.b_spam = 0 AND (oc_t_item.b_premium = 1 || oc_t_item.dt_expiration >= '2025-05-07 12:05:10')
AND oc_t_item.fk_i_category_id IN (239)
AND ( oc_t_item_location.fk_i_region_id = 781814 )
ORDER BY dt_pub_date desc
LIMIT 1200000
0.00041794776916504 SELECT *
FROM (oc_t_item_description)
WHERE oc_t_item_description.fk_i_item_id = '699'
0.01056981086731 SELECT oc_t_item_location.*, cd.s_name as s_category_name, SUM(`s`.`i_num_views`) as `i_num_views`, SUM(`s`.`i_num_spam`) as `i_num_spam`, SUM(`s`.`i_num_bad_classified`) as `i_num_bad_classified`, SUM(`s`.`i_num_repeated`) as `i_num_repeated`, SUM(`s`.`i_num_offensive`) as `i_num_offensive`, SUM(`s`.`i_num_expired`) as `i_num_expired`, SUM(`s`.`i_num_premium_views`) as `i_num_premium_views`
FROM (oc_t_item_location, oc_t_category_description as cd, oc_t_item_stats as s)
WHERE oc_t_item_location.fk_i_item_id = '699'
AND s.fk_i_item_id = '699'
AND cd.fk_i_category_id = '239'
GROUP BY fk_i_item_id
0.00043201446533203 SELECT *
FROM (oc_t_item_description)
WHERE oc_t_item_description.fk_i_item_id = '692'
0.00074005126953125 SELECT oc_t_item_location.*, cd.s_name as s_category_name, SUM(`s`.`i_num_views`) as `i_num_views`, SUM(`s`.`i_num_spam`) as `i_num_spam`, SUM(`s`.`i_num_bad_classified`) as `i_num_bad_classified`, SUM(`s`.`i_num_repeated`) as `i_num_repeated`, SUM(`s`.`i_num_offensive`) as `i_num_offensive`, SUM(`s`.`i_num_expired`) as `i_num_expired`, SUM(`s`.`i_num_premium_views`) as `i_num_premium_views`
FROM (oc_t_item_location, oc_t_category_description as cd, oc_t_item_stats as s)
WHERE oc_t_item_location.fk_i_item_id = '692'
AND s.fk_i_item_id = '692'
AND cd.fk_i_category_id = '239'
GROUP BY fk_i_item_id
0.00031399726867676 SELECT *
FROM (oc_t_item_description)
WHERE oc_t_item_description.fk_i_item_id = '525'
0.00069308280944824 SELECT oc_t_item_location.*, cd.s_name as s_category_name, SUM(`s`.`i_num_views`) as `i_num_views`, SUM(`s`.`i_num_spam`) as `i_num_spam`, SUM(`s`.`i_num_bad_classified`) as `i_num_bad_classified`, SUM(`s`.`i_num_repeated`) as `i_num_repeated`, SUM(`s`.`i_num_offensive`) as `i_num_offensive`, SUM(`s`.`i_num_expired`) as `i_num_expired`, SUM(`s`.`i_num_premium_views`) as `i_num_premium_views`
FROM (oc_t_item_location, oc_t_category_description as cd, oc_t_item_stats as s)
WHERE oc_t_item_location.fk_i_item_id = '525'
AND s.fk_i_item_id = '525'
AND cd.fk_i_category_id = '239'
GROUP BY fk_i_item_id
0.0003058910369873 SELECT *
FROM (oc_t_item_description)
WHERE oc_t_item_description.fk_i_item_id = '353'
0.0082521438598633 SELECT oc_t_item_location.*, cd.s_name as s_category_name, SUM(`s`.`i_num_views`) as `i_num_views`, SUM(`s`.`i_num_spam`) as `i_num_spam`, SUM(`s`.`i_num_bad_classified`) as `i_num_bad_classified`, SUM(`s`.`i_num_repeated`) as `i_num_repeated`, SUM(`s`.`i_num_offensive`) as `i_num_offensive`, SUM(`s`.`i_num_expired`) as `i_num_expired`, SUM(`s`.`i_num_premium_views`) as `i_num_premium_views`
FROM (oc_t_item_location, oc_t_category_description as cd, oc_t_item_stats as s)
WHERE oc_t_item_location.fk_i_item_id = '353'
AND s.fk_i_item_id = '353'
AND cd.fk_i_category_id = '239'
GROUP BY fk_i_item_id
8.0108642578125E-5 SELECT pk_i_id, fk_c_country_code, s_name, b_active, s_slug
FROM (oc_t_region)
WHERE pk_i_id = '781814'
0.00010013580322266 SELECT *
FROM (oc_t_locale)
WHERE b_enabled = 1
ORDER BY s_name ASC
0.00019502639770508 SELECT pk_i_id, fk_c_country_code, s_name, b_active, s_slug
FROM (oc_t_region)
WHERE pk_i_id = '781814'
0.00015616416931152 SELECT fk_i_category_id
FROM (oc_t_plugin_category)
WHERE s_plugin_name = 'ads_manager_banner_group_5'
0.00088119506835938 SELECT g.b_id as "b_group_id", g.b_name as "b_group_name", g.b_banner_id, b.*, rand() as "rand_ind"
FROM (oc_t_banner b, oc_t_banner_group g)
WHERE g.b_banner_id = b.b_id
AND g.b_id = 5
ORDER BY rand_ind asc
8.7976455688477E-5 SELECT fk_i_category_id
FROM (oc_t_plugin_category)
WHERE s_plugin_name = 'ads_manager_banner_5'
0.00030899047851562 SELECT *
FROM (oc_t_banner)
WHERE b_id = '5'
0.00047993659973145 UPDATE oc_t_banner SET b_views=coalesce(b_views, 0)+1 WHERE b_id=5
0.001115083694458 SELECT *
FROM ((SELECT a.*, b.*, c.i_num_items, FIELD(fk_c_locale_code, 'pl_PL') as locale_order
FROM (oc_t_category as a)
INNER JOIN oc_t_category_description as b ON a.pk_i_id = b.fk_i_category_id
LEFT JOIN oc_t_category_stats as c ON a.pk_i_id = c.fk_i_category_id
WHERE fk_i_parent_id = 239
AND a.b_enabled = '1'
AND b.s_name != ''
ORDER BY locale_order DESC) dummytable)
GROUP BY pk_i_id
ORDER BY i_position ASC
0.00012779235839844 SELECT oc_t_country_stats.fk_c_country_code as country_code, oc_t_country_stats.i_num_items as items, oc_t_country.s_name as country_name, oc_t_country.s_slug as country_slug
FROM (oc_t_country_stats)
JOIN oc_t_country ON oc_t_country_stats.fk_c_country_code = oc_t_country.pk_c_code
WHERE i_num_items > 0
ORDER BY country_name ASC
0.00011110305786133 SELECT STRAIGHT_JOIN oc_t_region_stats.fk_i_region_id as region_id, oc_t_region_stats.i_num_items as items, oc_t_region.s_name as region_name, oc_t_region.s_slug as region_slug
FROM (oc_t_region , oc_t_region_stats)
WHERE oc_t_region_stats.fk_i_region_id = oc_t_region.pk_i_id
AND i_num_items > 0
ORDER BY region_name ASC
0.00014305114746094 SELECT *
FROM (oc_t_region)
WHERE s_name = 'świętokrzyskie'
LIMIT 1
0.010235071182251 SELECT oc_t_city_stats.fk_i_city_id as city_id, oc_t_city_stats.i_num_items as items, oc_t_city.s_name as city_name, oc_t_city.s_slug as city_slug
FROM (oc_t_city_stats)
LEFT JOIN oc_t_city ON oc_t_city_stats.fk_i_city_id = oc_t_city.pk_i_id
WHERE i_num_items > 0
AND oc_t_city.fk_i_region_id = 781814
ORDER BY city_name ASC
0.00014901161193848 SELECT *
FROM ((SELECT a.*, b.*, c.i_num_items, FIELD(fk_c_locale_code, 'pl_PL') as locale_order
FROM (oc_t_category as a)
INNER JOIN oc_t_category_description as b ON a.pk_i_id = b.fk_i_category_id
LEFT JOIN oc_t_category_stats as c ON a.pk_i_id = c.fk_i_category_id
WHERE fk_i_parent_id = 239
AND a.b_enabled = '1'
AND b.s_name != ''
ORDER BY locale_order DESC) dummytable)
GROUP BY pk_i_id
ORDER BY i_position ASC
0.00011992454528809 SELECT oc_t_country_stats.fk_c_country_code as country_code, oc_t_country_stats.i_num_items as items, oc_t_country.s_name as country_name, oc_t_country.s_slug as country_slug
FROM (oc_t_country_stats)
JOIN oc_t_country ON oc_t_country_stats.fk_c_country_code = oc_t_country.pk_c_code
WHERE i_num_items > 0
ORDER BY country_name ASC
0.00013494491577148 SELECT *
FROM (oc_t_region)
WHERE s_name = 'świętokrzyskie'
LIMIT 1
0.00044107437133789 SELECT mf.*
FROM (oc_t_meta_fields mf, oc_t_meta_categories mc)
WHERE mc.fk_i_category_id = '239'
AND mf.pk_i_id = mc.fk_i_field_id
0.00032901763916016 SELECT COUNT(*) AS numrows
FROM (oc_t_plugin_category)
WHERE fk_i_category_id = '239'
AND s_plugin_name = 'custom_attributes'
0.00066304206848145 SELECT *
FROM (oc_t_item_custom_attr_groups)
JOIN oc_t_item_custom_attr_categories ON fk_i_group_id = pk_i_id
WHERE fk_i_category_id = '239'
ORDER BY oc_t_item_custom_attr_groups.order ASC
0.00023913383483887 SELECT fk_i_field_id
FROM (oc_t_item_custom_attr_meta)
0.00018119812011719 SELECT *
FROM (oc_t_item_custom_attr_fields)
WHERE pk_i_id NOT IN ('3', '4', '5', '61', '120', '202', '8', '9', '10', '11', '12', '13', '21', '99', '14', '15', '17', '18', '20', '28', '29', '30', '31', '32', '33', '34', '35', '83', '84', '123', '125', '129', '184', '185', '186', '188', '192', '217', '219', '221', '222', '223', '36', '37', '38', '39', '41', '42', '43', '44', '45', '46', '47', '50', '51', '52', '53', '91', '98', '124', '130', '216', '218', '57', '58', '59', '60', '85', '121', '122', '147', '62', '63', '64', '65', '66', '67', '126', '70', '71', '78', '79', '80', '81', '82', '93', '94', '95', '97', '77', '86', '87', '89', '90', '159', '160', '161', '105', '107', '115', '131', '165', '109', '110', '112', '113', '114', '162', '206', '233', '116', '117', '118', '119', '195', '196', '197', '200', '128', '133', '134', '136', '137', '138', '139', '140', '141', '142', '143', '144', '151', '152', '153', '154', '155', '156', '157', '158', '163', '164', '235', '236', '237', '238', '171', '173', '174', '175', '203', '205', '224', '178', '181', '176', '187', '193', '194', '198', '199', '234', '207', '208', '209', '210', '211', '212', '213', '214', '215', '225', '226', '227', '228', '229', '230', '231')
ORDER BY i_order ASC
0.00073003768920898 SELECT *
FROM (oc_t_item_custom_attr_fields)
JOIN oc_t_item_custom_attr_meta ON fk_i_field_id = pk_i_id
WHERE fk_i_group_id = '28'
ORDER BY i_order ASC
0.00016307830810547 SELECT *
FROM (oc_t_item_custom_attr_fields)
JOIN oc_t_item_custom_attr_meta ON fk_i_field_id = pk_i_id
WHERE fk_i_group_id = '1'
ORDER BY i_order ASC
0.00015711784362793 SELECT s_options
FROM (oc_t_item_custom_attr_fields)
WHERE pk_i_id = '120'
LIMIT 1
0.00016403198242188 SELECT s_options
FROM (oc_t_item_custom_attr_fields)
WHERE pk_i_id = '5'
LIMIT 1
7.2002410888672E-5 SELECT s_options
FROM (oc_t_item_custom_attr_fields)
WHERE pk_i_id = '4'
LIMIT 1
0.0001068115234375 SELECT s_options
FROM (oc_t_item_custom_attr_fields)
WHERE pk_i_id = '202'
LIMIT 1
0.0001528263092041 SELECT *
FROM (oc_t_item_custom_attr_fields)
JOIN oc_t_item_custom_attr_meta ON fk_i_field_id = pk_i_id
WHERE fk_i_group_id = '7'
ORDER BY i_order ASC
0.00040912628173828 SELECT s_options
FROM (oc_t_item_custom_attr_fields)
WHERE pk_i_id = '126'
LIMIT 1
8.702278137207E-5 SELECT *
FROM (oc_t_item_custom_attr_fields)
JOIN oc_t_item_custom_attr_meta ON fk_i_field_id = pk_i_id
WHERE fk_i_group_id = '14'
ORDER BY i_order ASC
8.702278137207E-5 SELECT *
FROM (oc_t_item_custom_attr_fields)
JOIN oc_t_item_custom_attr_meta ON fk_i_field_id = pk_i_id
WHERE fk_i_group_id = '3'
ORDER BY i_order ASC
7.9154968261719E-5 SELECT *
FROM (oc_t_item_custom_attr_fields)
JOIN oc_t_item_custom_attr_meta ON fk_i_field_id = pk_i_id
WHERE fk_i_group_id = '9'
ORDER BY i_order ASC
8.082389831543E-5 SELECT *
FROM (oc_t_item_custom_attr_fields)
JOIN oc_t_item_custom_attr_meta ON fk_i_field_id = pk_i_id
WHERE fk_i_group_id = '10'
ORDER BY s_label ASC
8.2969665527344E-5 SELECT *
FROM (oc_t_item_custom_attr_fields)
JOIN oc_t_item_custom_attr_meta ON fk_i_field_id = pk_i_id
WHERE fk_i_group_id = '16'
ORDER BY i_order ASC
0.0010228157043457 SELECT oc_t_item.*, oc_t_item.s_contact_name as s_user_name
FROM (oc_t_item, oc_t_item_stats)
LEFT JOIN oc_t_item_location ON oc_t_item_location.fk_i_item_id = oc_t_item.pk_i_id
WHERE oc_t_item_stats.fk_i_item_id = oc_t_item.pk_i_id
AND oc_t_item.b_premium = 1
AND oc_t_item.b_enabled = 1
AND oc_t_item.b_active = 1
AND oc_t_item.b_spam = 0
AND ( oc_t_item_location.fk_i_region_id = 781814 )
AND oc_t_item.fk_i_category_id IN (239)
GROUP BY oc_t_item.pk_i_id
ORDER BY SUM(oc_t_item_stats.i_num_premium_views) ASC, RAND()
LIMIT 0, 9
0.00033688545227051 SELECT *
FROM (oc_t_payment_pro_highlight)
WHERE fk_i_item_id = 699
AND dt_expiration_date >= '2025-05-07 12:05:10'
0.0040669441223145 SELECT *
FROM (oc_t_item_resource)
WHERE fk_i_item_id = 699
8.6784362792969E-5 SELECT pk_c_code, s_name, s_description, b_enabled
FROM (oc_t_currency)
WHERE pk_c_code = 'PLN'
0.021123170852661 SELECT *
FROM (oc_t_item)
JOIN oc_t_item_custom_attr_values ON oc_t_item_custom_attr_values.fk_i_item_id=oc_t_item.pk_i_id AND oc_t_item_custom_attr_values.fk_i_field_id=3
WHERE oc_t_item.pk_i_id=699
0.00032997131347656 SELECT *
FROM (oc_t_payment_pro_highlight)
WHERE fk_i_item_id = 692
AND dt_expiration_date >= '2025-05-07 12:05:10'
0.00039505958557129 SELECT *
FROM (oc_t_item_resource)
WHERE fk_i_item_id = 692
0.00089192390441895 SELECT *
FROM (oc_t_item)
JOIN oc_t_item_custom_attr_values ON oc_t_item_custom_attr_values.fk_i_item_id=oc_t_item.pk_i_id AND oc_t_item_custom_attr_values.fk_i_field_id=3
WHERE oc_t_item.pk_i_id=692
0.00024986267089844 SELECT *
FROM (oc_t_payment_pro_highlight)
WHERE fk_i_item_id = 525
AND dt_expiration_date >= '2025-05-07 12:05:10'
0.00041913986206055 SELECT *
FROM (oc_t_item_resource)
WHERE fk_i_item_id = 525
0.0072021484375 SELECT *
FROM (oc_t_item)
JOIN oc_t_item_custom_attr_values ON oc_t_item_custom_attr_values.fk_i_item_id=oc_t_item.pk_i_id AND oc_t_item_custom_attr_values.fk_i_field_id=3
WHERE oc_t_item.pk_i_id=525
0.00027799606323242 SELECT *
FROM (oc_t_payment_pro_highlight)
WHERE fk_i_item_id = 353
AND dt_expiration_date >= '2025-05-07 12:05:10'
0.00036215782165527 SELECT *
FROM (oc_t_item_resource)
WHERE fk_i_item_id = 353
0.00055789947509766 SELECT *
FROM (oc_t_item)
JOIN oc_t_item_custom_attr_values ON oc_t_item_custom_attr_values.fk_i_item_id=oc_t_item.pk_i_id AND oc_t_item_custom_attr_values.fk_i_field_id=3
WHERE oc_t_item.pk_i_id=353
7.4148178100586E-5 SELECT fk_i_category_id
FROM (oc_t_plugin_category)
WHERE s_plugin_name = 'ads_manager_banner_group_2'
0.00072813034057617 SELECT g.b_id as "b_group_id", g.b_name as "b_group_name", g.b_banner_id, b.*, rand() as "rand_ind"
FROM (oc_t_banner b, oc_t_banner_group g)
WHERE g.b_banner_id = b.b_id
AND g.b_id = 2
ORDER BY rand_ind asc
0.00012993812561035 SELECT fk_i_category_id
FROM (oc_t_plugin_category)
WHERE s_plugin_name = 'ads_manager_banner_2'
0.00036001205444336 SELECT *
FROM (oc_t_banner)
WHERE b_id = '2'
0.00048303604125977 UPDATE oc_t_banner SET b_views=coalesce(b_views, 0)+1 WHERE b_id=2
6.7949295043945E-5 SELECT fk_i_category_id
FROM (oc_t_plugin_category)
WHERE s_plugin_name = 'ads_manager_banner_group_3'
0.00059103965759277 SELECT g.b_id as "b_group_id", g.b_name as "b_group_name", g.b_banner_id, b.*, rand() as "rand_ind"
FROM (oc_t_banner b, oc_t_banner_group g)
WHERE g.b_banner_id = b.b_id
AND g.b_id = 3
ORDER BY rand_ind asc
7.4148178100586E-5 SELECT fk_i_category_id
FROM (oc_t_plugin_category)
WHERE s_plugin_name = 'ads_manager_banner_3'
0.00029087066650391 SELECT *
FROM (oc_t_banner)
WHERE b_id = '3'
0.00038003921508789 UPDATE oc_t_banner SET b_views=coalesce(b_views, 0)+1 WHERE b_id=3
6.6995620727539E-5 SELECT fk_i_category_id
FROM (oc_t_plugin_category)
WHERE s_plugin_name = 'ads_manager_banner_group_4'
0.00058507919311523 SELECT g.b_id as "b_group_id", g.b_name as "b_group_name", g.b_banner_id, b.*, rand() as "rand_ind"
FROM (oc_t_banner b, oc_t_banner_group g)
WHERE g.b_banner_id = b.b_id
AND g.b_id = 4
ORDER BY rand_ind asc
7.2002410888672E-5 SELECT fk_i_category_id
FROM (oc_t_plugin_category)
WHERE s_plugin_name = 'ads_manager_banner_4'
0.00032186508178711 SELECT *
FROM (oc_t_banner)
WHERE b_id = '4'
0.00037717819213867 UPDATE oc_t_banner SET b_views=coalesce(b_views, 0)+1 WHERE b_id=4
7.6055526733398E-5 SELECT *
FROM (oc_t_pages)
WHERE b_indelible = 0
AND b_link = 1
ORDER BY i_order ASC