SELECT 
  cscart_products.*, 
  cscart_product_descriptions.*, 
  MIN(
    IF(
      cscart_product_prices.percentage_discount = 0, 
      cscart_product_prices.price, 
      cscart_product_prices.price - (
        cscart_product_prices.price * cscart_product_prices.percentage_discount
      )/ 100
    )
  ) as price, 
  GROUP_CONCAT(
    IF(
      cscart_products_categories.link_type = 'M', 
      CONCAT(
        cscart_products_categories.category_id, 
        'M'
      ), 
      cscart_products_categories.category_id
    )
  ) as category_ids, 
  popularity.total as popularity, 
  IF(
    shared_prices.product_id IS NOT NULL, 
    MIN(
      IF(
        shared_prices.percentage_discount = 0, 
        shared_prices.price, 
        shared_prices.price - (
          shared_prices.price * shared_prices.percentage_discount
        )/ 100
      )
    ), 
    MIN(
      IF(
        cscart_product_prices.percentage_discount = 0, 
        cscart_product_prices.price, 
        cscart_product_prices.price - (
          cscart_product_prices.price * cscart_product_prices.percentage_discount
        )/ 100
      )
    )
  ) as price, 
  companies.company as company_name, 
  cscart_product_sales.amount as sales_amount, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path, 
  cscart_discussion.type as discussion_type 
FROM 
  cscart_products 
  LEFT JOIN cscart_product_prices ON cscart_product_prices.product_id = cscart_products.product_id 
  AND cscart_product_prices.lower_limit = 1 
  AND cscart_product_prices.usergroup_id IN (0, 0, 1) 
  LEFT JOIN cscart_product_descriptions ON cscart_product_descriptions.product_id = cscart_products.product_id 
  AND cscart_product_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_ult_product_prices shared_prices ON shared_prices.product_id = cscart_products.product_id 
  AND shared_prices.company_id = 2 
  AND shared_prices.lower_limit = 1 
  AND shared_prices.usergroup_id IN (0, 0, 1) 
  LEFT JOIN cscart_companies as companies ON companies.company_id = cscart_products.company_id 
  INNER JOIN cscart_products_categories ON cscart_products_categories.product_id = cscart_products.product_id 
  INNER JOIN cscart_categories ON cscart_categories.category_id = cscart_products_categories.category_id 
  AND cscart_categories.company_id = 2 
  AND (
    cscart_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_categories.usergroup_ids
    )
  ) 
  AND (
    cscart_products.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_products.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_products.usergroup_ids
    )
  ) 
  AND cscart_categories.status IN ('A', 'H') 
  AND cscart_products.status IN ('A', 'H') 
  LEFT JOIN cscart_product_popularity as popularity ON popularity.product_id = cscart_products.product_id 
  LEFT JOIN cscart_product_sales ON cscart_product_sales.product_id = cscart_products.product_id 
  AND cscart_product_sales.category_id = 482 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 8884 
  AND cscart_seo_names.type = 'p' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'en' 
  AND cscart_seo_names.company_id = 2 
  LEFT JOIN cscart_discussion ON cscart_discussion.object_id = cscart_products.product_id 
  AND cscart_discussion.object_type = 'P' 
  AND cscart_discussion.company_id = 2 
WHERE 
  cscart_products.product_id = 8884 
  AND (
    companies.status = 'A' 
    OR cscart_products.company_id = 0
  ) 
GROUP BY 
  cscart_products.product_id

Query time 0.00134

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_products const PRIMARY,status,product_id_idx,status_idx PRIMARY 3 const 1
1 SIMPLE popularity const PRIMARY,total PRIMARY 3 const 1
1 SIMPLE cscart_product_sales const PRIMARY,pa PRIMARY 6 const,const 0 Unique row not found
1 SIMPLE cscart_product_prices ref usergroup,product_id,lower_limit,usergroup_id product_id 3 const 1 Using where
1 SIMPLE cscart_product_descriptions const PRIMARY,product_id PRIMARY 9 const,const 1 Using where
1 SIMPLE shared_prices range usergroup,product_id,company_id,lower_limit,usergroup_id usergroup 13 2 Using where; Using join buffer (flat, BNL join)
1 SIMPLE companies eq_ref PRIMARY PRIMARY 4 const 1 Using where
1 SIMPLE cscart_products_categories ref PRIMARY,pt,product_id_idx,category_id_idx,product_category_idx,category_product_idx product_id_idx 3 const 10
1 SIMPLE cscart_categories eq_ref PRIMARY,c_status,p_category_id,idx_category_id PRIMARY 3 mahm3t_cs443.cscart_products_categories.category_id 1 Using where
1 SIMPLE cscart_seo_names const PRIMARY,dispatch PRIMARY 210 const,const,const,const,const 1 Using where
1 SIMPLE cscart_discussion const object_id,company_id object_id 10 const,const,const 1 Using where

Result

product_id product_code product_type status company_id list_price amount weight length width height shipping_freight low_avail_limit timestamp updated_timestamp usergroup_ids is_edp edp_shipping unlimited_download tracking free_shipping zero_price_action is_pbp is_op is_oper is_returnable return_period avail_since out_of_stock_actions localization min_qty max_qty qty_step list_qty_count tax_ids age_verification age_limit options_type exceptions_type details_layout shipping_params shipping_availability_id ms_type master_id unit_price aval_status facebook_obj_type cp_additinal_product_enabled cp_additinal_product_items cp_delivery_date youtube_link show_youtube_video replace_main_image size_chart_id staff_notes emo_pn emo_paczka emo_dostawca emo_kreskowy emo_nrdostawcy emo_uwagi emo_source lang_code product shortname short_description full_description meta_keywords meta_description search_words page_title age_warning_message unit_name promo_text stop_words amp_description custom_header price category_ids popularity company_name sales_amount seo_name seo_path discussion_type
8884 ODV-GGU-0062 P A 1 0.00 0.00 28.530 0 0 0 0.00 0 1453208156 1743601032 0 N N N O N R N N N Y 10 0 N 0 0 0 0 6 N 0 P F default a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 M 0 26 0 activity Y {"220132549":{"product_id":"10713","amount":"1","modifier":"0","modifier_type":"A"}} 0 N N 1 Price update: 01/07/2022 by % factor multiplication based on 78x118 with EDZ mt 2020/11/16 - update kombinacji (dodano kołnierz EDT, wyczyszczono zbędne kombinacje) mt 2020/11/17 - aktualizacja opisu kołnierzy (EN)(DE) 0 en VELUX GGU 0062 | everfinish roof window with 3-glazing and noise reduction <h2>VELUX GGU is a center pivot wooden window&nbsp;covered with white polyurethane finish. With tripple, safe and easy to clean glazing and rain noise protection.</h2> <p style="text-align: justify;">Open up your&nbsp;bathroom, kitchen&nbsp;or other high-humidity room&nbsp;with centre-pivot GGU white finish roof windows&nbsp;which feature&nbsp;a seamless, waterproof polyurethane coating.&nbsp;VELUX white windows are also ideal for creating clean, stylish looks.&nbsp;With a clean, white design, it’s also a great choice for any room where you want a maintenance-free window that looks great.</p> <p style="text-align: justify;">This window combines all the features of our basic centre-pivot window, with a premium white polyurethane coating to protect the strong wooden core from moisture.</p> <p style="text-align: justify;">Original GGU centre-pivot white finish VELUX roof window&nbsp;with the unique top control bar for easy operation.&nbsp;The improved design allows to open and close the window with one hand. The top control bar makes it very easy&nbsp;to open and close the window even with&nbsp;furniture placed directly below.&nbsp;</p> <p style="text-align: justify;">GGU window is equipped with&nbsp;integrated ventilation flap. The unique, integrated VELUX ventilation flap lets in fresh air through a dust and insect filter even when the&nbsp;window is closed. Good for rainy days,&nbsp;and ensure a healthy&nbsp;indoor environment.</p> <p style="text-align: justify;">The New Generation GGU roof window incorporates new, innovative insulation system ThermoTechnology™ and additional seal to offer superior energy efficiency through improved insulating values.&nbsp;Additional seal provides the highest 4 class integrity of the window.</p> <h2>Features</h2> <ul> <li>Pine core covered with waterproof polyurethane coating. Matches perfectly to modern interiors;</li> <li>Double chamber glazing with a laminated inner pane and toughened outer pane for strength | P2A safety class, easy to clean + anti dew and rain noise protection;</li> <li>Comfortable top control bar;</li> <li>Sash rotation by 180° | easy to rotate and clean the outer glass;</li> <li>The unique, integrated ventilation | air flow even when window is closed;</li> <li>Dust and insect filter;</li> <li>Thermo Technology | transfers less energy and keeps your home warm;</li> <li>Additional seal;</li> <li>High quality pivot hinges for smooth operation</li> <li>Suitable for roofs with pitches between 15 and 90 degrees (when fitted with correct flashing);</li> <li><a href="https://www.byggbay.se/roof-window-blinds/velux/">Wide range of accessories</a>;</li> <li>Straightforward blind installation with patented mounting brackets</li> <li>10 years warranty period.</li> </ul> <h2>Glazing unit (--62)</h2> <p style="text-align: justify;">Triple glazed, laminated inner pane, toughened outer pane with Easy-to-clean &amp; Anti-dew coating. Provides enhanced U-value and Noise Reduction. The glazing cavity is filled with inert gas krypton. The laminated unit is positioned from the room side of the glazing and is coated with low emision layer. In case of laminated glass damage or shattering, pieces of glass will stick to the membrane. Laminated glass reduces penetration of UV rays by up to 95%.</p> <h2>Flashings</h2> <h4>VELUX flashing: do I really need it?</h4> <p style="text-align: justify;">Flashings are essential for the correct installation of roof windows. Precisely designed flashing details ensure a durable and neat fit with the roofing material used. The purpose of flashing is to ensure good drainage away from the window and to provide protection from the elements.<br /> VELUX offers a range of flashings designed for different roofing materials and provide two options for installation height (standard and recessed).</p> <p style="text-align: center;"><img alt="VELUX offers a range of flashings designed for different roofing materials and provide two options for installation height of the roof window" src="/images/products/velux/descriptions/flashing_it_en.png" /></p> <h4>VELUX flashing: standard or recessed installation?</h4> <p style="text-align: justify;">Recessed installations offer a more sleek, streamlined appearance, sitting 40mm deeper in the roof structure. Recessed installations also offer greater energy efficiency, and when installed with the <a href="index.php?dispatch=products.view&amp;product_id=10095">appropriate VELUX insulation collar</a> actually offer a lower certified u-value, saving energy and providing architects with greater design flexibility.</p> <table> <tbody> <tr> <td style="text-align:center;" width="12.5%"><strong>EDZ</strong> 1000</td> <td style="text-align:center;" width="12.5%"><strong>EDW</strong> 0000</td> <td style="text-align:center;" width="12.5%"><strong>EDT</strong> 1000</td> <td style="text-align:center;" width="12.5%"><strong>EDJ</strong> 1000</td> <td style="text-align:center;" width="12.5%"><strong>EDN</strong> 1000</td> <td style="text-align:center;" width="12.5%"><strong>EDL</strong> 1000</td> <td style="text-align:center;" width="12.5%"><strong>EDS</strong> 1000</td> <td style="text-align:center;" width="12.5%"><strong>EDB</strong> 1000</td> </tr> <tr> <td style="text-align:center;"><img src="/images/products/velux/descriptions/flashing_edz.jpg" /></td> <td style="text-align:center;"><img src="/images/products/velux/descriptions/flashing_edw.jpg" /></td> <td style="text-align:center;"><img src="/images/products/velux/descriptions/flashing_edt.jpg" /></td> <td style="text-align:center;"><img src="/images/products/velux/descriptions/flashing_edj.jpg" /></td> <td style="text-align:center;"><img src="/images/products/velux/descriptions/flashing_edn.jpg" /></td> <td style="text-align:center;"><img src="/images/products/velux/descriptions/flashing_edl.jpg" /></td> <td style="text-align:center;"><img src="/images/products/velux/descriptions/flashing_eds.jpg" /></td> <td style="text-align:center;"><img src="/images/products/velux/descriptions/flashing_edb.jpg" /></td> </tr> <tr> <td colspan="8" style="text-align:center;"><strong>Underfelt collar <a href="/velux-bfx.html">BBX</a></strong></td> </tr> <tr> <td style="text-align:center;">Included</td> <td style="text-align:center;">-</td> <td style="text-align:center;">Included</td> <td style="text-align:center;">Included</td> <td style="text-align:center;">Included</td> <td style="text-align:center;">Included</td> <td style="text-align:center;">Included</td> <td style="text-align:center;">Included</td> </tr> <tr> <td colspan="8" style="text-align:center;"><strong>Installation</strong></td> </tr> <tr> <td style="text-align:center;">Standard</td> <td style="text-align:center;">Standard</td> <td style="text-align:center;">Standard</td> <td style="text-align:center;">Deeper</td> <td style="text-align:center;">Deeper</td> <td style="text-align:center;">Standard</td> <td style="text-align:center;">Standard</td> <td style="text-align:center;">Standard</td> </tr> <tr> <td colspan="8" style="text-align:center;"><strong>Purpose (type of roofing material):</strong></td> </tr> <tr> <td style="text-align:center;">profiled from 1.5 to 4.5 cm height</td> <td style="text-align:center;">profiled from 1.5 to 12 cm height</td> <td style="text-align:center;">flat &amp; thick tiles from 1.5 to 4 cm height</td> <td style="text-align:center;">profiled from 1.5 to 9 cm height</td> <td style="text-align:center;">&nbsp;slate, flat roofing materials up to 1.6 cm high (2 x 0.8 cm)</td> <td style="text-align:center;">slate, flat roofing materials up to 1.6 cm high (2 x 0.8 cm) side parts as layered pieces without standing seams</td> <td style="text-align:center;">bituminous shingles, flat roofing materials up to 1.6 cm high (2 x 0.8 cm) side parts continuous with standing seams</td> <td style="text-align:center;">slate, flat roofing materials up to 3.8 cm high (2 x 1.9 cm)</td> </tr> <tr> <td colspan="8" style="text-align:center;"><strong>Fitting for roofing material:</strong></td> </tr> <tr> <td style="text-align:center;">Interlocking panel, flat roof tile, flat cremone, reform panel, Frankfurt panel, Taunus panel, flat tile, Heidelberg panel, plain tile in crown covering</td> <td style="text-align:center;">Monastery tile, monastery tile, monk and nun, Florento tile, Mistral tile, Toledo tile as well as thatch, straw, corrugated sheets 5-, 6-, 8-flute, Berlin wave</td> <td style="text-align:center;">Koramic Wienerberger Orea 9, Monier Braas Turmalin, Braas Teviva, Braas Reviva, Creaton Domino, Nelskamp Nibra, Wienerberger Koramic Acuta, Erlus Linea and many others.</td> <td style="text-align:center;">Interlocking tiles, flat roofing tiles, flat clay tiles, reform panels, Frankfurt panels, flat tiles, Heidelberg panels, corrugated sheets 5-, 6-, 8-wave, Berlin wave, plain tiles in crown and double roofing</td> <td colspan="2" style="text-align:center;">Slate (e.g., rectangular double roofing template), wood shingles, roofing felt, roofing sheets, bituminous shingles, bituminous sheets</td> <td style="text-align:center;">Slate (e.g. German and old German roofing), wooden shingles, roof panels</td> <td style="text-align:center;">Double roofing plain tile</td> </tr> <tr> <td colspan="8" style="text-align:center;"><strong>Installation type and installation range:</strong></td> </tr> <tr> <td style="text-align:center;"><strong>Standard</strong>,<br /> suitable for <strong>20°-90°</strong> roof pitches</td> <td style="text-align:center;"><strong>Standard</strong>,<br /> suitable for <strong>15°-90°</strong> roof pitches</td> <td style="text-align:center;"><strong>Standard</strong>,<br /> suitable for <strong>20°-90°</strong> roof pitches</td> <td style="text-align:center;"><strong>Recessed</strong>,<br /> suitable for <strong>20°-90°</strong> roof pitches</td> <td style="text-align:center;"><strong>Recessed</strong>,<br /> suitable for <strong>20°-90°</strong> roof pitches</td> <td style="text-align:center;"><strong>Standard</strong>,<br /> suitable for <strong>15°-90°</strong> roof pitches</td> <td style="text-align:center;"><strong>Standard</strong>,<br /> suitable for <strong>15°-90°</strong> roof pitches</td> <td style="text-align:center;"><strong>Standard</strong>,<br /> suitable for <strong>25°-90°</strong> roof pitches</td> </tr> <tr> <td colspan="8" style="text-align:center;"><strong>Additional insulation products (sold separately):</strong></td> </tr> <tr> <td colspan="3" style="text-align:center;">Insulation frame <a href="index.php?dispatch=products.view&amp;product_id=3315">VELUX BDX 2000</a> for standard flashings,<br /> and <a href="index.php?dispatch=products.view&amp;product_id=3317">vapour barrier collar VELUX BBX</a></td> <td colspan="2" style="text-align:center;">Insulation frame <a href="index.php?dispatch=products.view&amp;product_id=10095">VELUX BDX 2000F</a> for recessed flashings,<br /> and <a href="index.php?dispatch=products.view&amp;product_id=3317">vapour barrier collar VELUX BBX </a></td> <td colspan="3" style="text-align:center;">Insulation frame <a href="index.php?dispatch=products.view&amp;product_id=3315">VELUX BDX 2000</a> for standard flashings,<br /> and <a href="index.php?dispatch=products.view&amp;product_id=3317">vapour barrier collar VELUX BBX </a></td> </tr> </tbody> </table> <p style="text-align: justify;">&nbsp;</p> <h2>Technical specification</h2> <table> <tbody> <tr> <td>Technical specification:</td> <td>GGU 0062</td> </tr> <tr> <td>Window U-value:</td> <td>0,92 W/m²K</td> </tr> <tr> <td>Glazing U-value:</td> <td>0,5 W/m²K</td> </tr> <tr> <td>Rw coefficient:</td> <td>42 dB</td> </tr> <tr> <td>Air permeability:</td> <td>Class 4</td> </tr> <tr> <td>Glazing:</td> <td>3-panes</td> </tr> <tr> <td>Inert gas filled with panes:&nbsp;</td> <td>Krypton</td> </tr> <tr> <td>Total solar energy transmittance, g</td> <td>0,50</td> </tr> <tr> <td>Light transmittance, τv</td> <td>0,65</td> </tr> <tr> <td>UV transmittance,&nbsp;τuv</td> <td>0,05</td> </tr> <tr> <td>External glass toughened:</td> <td>+</td> </tr> <tr> <td>Interior color:</td> <td>White</td> </tr> <tr> <td>Exterior color:</td> <td>Gray, RAL 7043</td> </tr> <tr> <td>Warranty:</td> <td>10 years</td> </tr> </tbody> </table> ✓wooden roof window✓white polyurethane cover ✓tripple glazing ✓pivot ✓original VELUX GGU window ✓defence against dust and dew white, wooden, pivot 3-glass VELUX GGU window | byggbaY.se 2832.000000 480,949,951,953 163939 baubaY.de roof-window-velux-ggu-0062 261/953 B