SELECT *
FROM jos_session
WHERE session_id = 'tbsejvtv4jprvhlihptok0ski6'
DELETE
FROM jos_session
WHERE ( TIME < '1728213010' )
SELECT *
FROM jos_session
WHERE session_id = 'tbsejvtv4jprvhlihptok0ski6'
INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
VALUES ( 'tbsejvtv4jprvhlihptok0ski6','1728213910','','0','1','0' )
SELECT *
FROM jos_components
WHERE parent = 0
SELECT folder AS TYPE, element AS name, params
FROM jos_plugins
WHERE published >= 1
AND access <= 0
ORDER BY ordering
SELECT group_id,group_name,group_level
FROM `jos_vm_auth_group`
ORDER BY group_level
SELECT jos_vm_shopper_group.shopper_group_id, show_price_including_tax, `default`, shopper_group_discount
FROM `jos_vm_shopper_group`
WHERE jos_vm_shopper_group.vendor_id='1'
AND `default`='1'
SELECT `name`
FROM `jos_core_acl_aro_groups`
WHERE `id` =29
SELECT `lft`, `rgt`
FROM `jos_core_acl_aro_groups`
WHERE `name`='Public Frontend'
SELECT g1.id, g1.name, COUNT(g2.name) AS level
FROM jos_core_acl_aro_groups AS g1
INNER JOIN jos_core_acl_aro_groups AS g2
ON g1.lft BETWEEN g2.lft
AND g2.rgt
WHERE g1.lft BETWEEN 3
AND 12
GROUP BY g1.name
ORDER BY g1.lft
SELECT `lft`, `rgt`
FROM `jos_core_acl_aro_groups`
WHERE `name`='Public Backend'
SELECT g1.id, g1.name, COUNT(g2.name) AS level
FROM jos_core_acl_aro_groups AS g1
INNER JOIN jos_core_acl_aro_groups AS g2
ON g1.lft BETWEEN g2.lft
AND g2.rgt
WHERE g1.lft BETWEEN 13
AND 20
GROUP BY g1.name
ORDER BY g1.lft
SELECT vendor_id, vendor_min_pov,vendor_name,vendor_store_name,contact_email,vendor_full_image, vendor_freeshipping,
vendor_address_1,vendor_address_2, vendor_url, vendor_city, vendor_state, vendor_country, country_2_code, country_3_code,
vendor_zip, vendor_phone, vendor_store_desc, vendor_currency, vendor_currency_display_style,
vendor_accepted_currencies, vendor_address_format, vendor_date_format, state_name
FROM (`jos_vm_vendor` v, `jos_vm_country` c)
LEFT JOIN jos_vm_state s
ON (v.vendor_state=s.state_2_code
AND s.country_id=c.country_id)
WHERE `v`.`vendor_id`=1
AND (`v`.`vendor_country`=`c`.`country_2_code` OR `v`.`vendor_country`=`c`.`country_3_code`);
SELECT module_perms
FROM jos_vm_module
WHERE module_name='shop'
SELECT id
FROM jos_menu
WHERE link='index.php?option=com_virtuemart'
AND published=1
SELECT COUNT(*) AS parentcnt
FROM jos_vm_product
WHERE product_parent_id>0
SELECT COUNT(DISTINCT `jos_vm_product`.`product_sku`) AS num_rows
FROM (`jos_vm_product`, `jos_vm_category`, `jos_vm_product_category_xref`,`jos_vm_shopper_group`)
LEFT JOIN `jos_vm_product_price`
ON `jos_vm_product`.`product_id` = `jos_vm_product_price`.`product_id`
WHERE `jos_vm_product_category_xref`.`product_id`=`jos_vm_product`.`product_id`
AND `jos_vm_product_category_xref`.`category_id`=`jos_vm_category`.`category_id`
AND `jos_vm_product_category_xref`.`category_id`=10
AND ((`jos_vm_product`.`product_id`=`jos_vm_product_price`.`product_id`
AND `jos_vm_shopper_group`.`shopper_group_id`=`jos_vm_product_price`.`shopper_group_id`) OR `jos_vm_product_price`.`product_id` IS NULL)
AND `jos_vm_shopper_group`.`default` = 1
AND `product_parent_id`=0
AND `product_publish`='Y'
AND `category_publish`='Y'
SELECT category_id, category_name
FROM jos_vm_category
WHERE category_id='10'
SELECT category_id, category_description
FROM jos_vm_category
WHERE category_id='10'
SELECT category_id, category_thumb_image, category_child_id,category_name
FROM jos_vm_category,jos_vm_category_xref
WHERE jos_vm_category_xref.category_parent_id='10'
AND jos_vm_category.category_id=jos_vm_category_xref.category_child_id
AND jos_vm_category.vendor_id='1'
AND jos_vm_category.category_publish='Y'
ORDER BY jos_vm_category.list_order, jos_vm_category.category_name ASC
SELECT category_id, category_name,category_parent_id, category_child_id
FROM jos_vm_category, jos_vm_category_xref
WHERE jos_vm_category_xref.category_child_id='10'
AND jos_vm_category.category_id='10'
SELECT category_id, category_name,category_parent_id, category_child_id
FROM jos_vm_category, jos_vm_category_xref
WHERE jos_vm_category_xref.category_child_id='6'
AND jos_vm_category.category_id='6'
SELECT id, params
FROM jos_menu
WHERE link='index.php?option=com_virtuemart'
AND published=1
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 6
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6)
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 10
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,10)
SELECT DISTINCT `jos_vm_product`.`product_id`, `product_name`, `products_per_row`, `category_browsepage`, `category_flypage`, `jos_vm_category`.`category_id`, `product_full_image`, `product_thumb_image`, `product_s_desc`, `product_parent_id`, `product_publish`, `product_in_stock`, `product_sku`, `product_url`, `product_weight`, `product_weight_uom`, `product_length`, `product_width`, `product_height`, `product_lwh_uom`, `product_available_date`, `product_availability`, `jos_vm_product`.`mdate`, `jos_vm_product`.`cdate`
FROM (`jos_vm_product`, `jos_vm_category`, `jos_vm_product_category_xref`,`jos_vm_shopper_group`)
LEFT JOIN `jos_vm_product_price`
ON `jos_vm_product`.`product_id` = `jos_vm_product_price`.`product_id`
WHERE `jos_vm_product_category_xref`.`product_id`=`jos_vm_product`.`product_id`
AND `jos_vm_product_category_xref`.`category_id`=`jos_vm_category`.`category_id`
AND `jos_vm_product_category_xref`.`category_id`=10
AND ((`jos_vm_product`.`product_id`=`jos_vm_product_price`.`product_id`
AND `jos_vm_shopper_group`.`shopper_group_id`=`jos_vm_product_price`.`shopper_group_id`) OR `jos_vm_product_price`.`product_id` IS NULL)
AND `jos_vm_shopper_group`.`default` = 1
AND `product_parent_id`=0
AND `product_publish`='Y'
AND `category_publish`='Y'
GROUP BY `jos_vm_product`.`product_sku`
ORDER BY `jos_vm_product`.`product_name` ASC
LIMIT 0, 20
SELECT DISTINCT product_sku,jos_vm_product.product_id,product_name,product_s_desc,product_thumb_image, product_full_image, product_in_stock, product_url
FROM jos_vm_product, jos_vm_product_category_xref, jos_vm_category
WHERE
(jos_vm_product.product_parent_id='' OR jos_vm_product.product_parent_id='0')
AND jos_vm_product.product_id=jos_vm_product_category_xref.product_id
AND jos_vm_category.category_id=jos_vm_product_category_xref.category_id
AND jos_vm_category.category_id='10'
AND jos_vm_product.product_publish='Y'
AND jos_vm_product.product_special='Y'
ORDER BY RAND()
LIMIT 0, 10
SELECT *
FROM jos_tagmeta
WHERE ( (('/vendita-diretta-vino-cantina-online/category/10/vini/cantine-dell\'abruzzo' REGEXP BINARY uri)>0
AND case_sensitive<>'0') OR (('/vendita-diretta-vino-cantina-online/category/10/vini/cantine-dell\'abruzzo' REGEXP uri)>0
AND case_sensitive='0') )
AND published='1'
ORDER BY ordering
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 18)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT id, title, module, POSITION, content, showtitle, control, params
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
AND ( mm.menuid = 18 OR mm.menuid = 0 )
ORDER BY POSITION, ordering
SELECT a.*, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug
FROM jos_content AS a
INNER JOIN jos_categories AS cc
ON cc.id = a.catid
INNER JOIN jos_sections AS s
ON s.id = a.sectionid
WHERE a.state = 1
AND a.access <= 0
AND cc.access <= 0
AND s.access <= 0
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-10-06 11:25:10' )
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-06 11:25:10' )
AND cc.id = 102
AND cc.SECTION = s.id
AND cc.published = 1
AND s.published = 1
ORDER BY a.ordering
SELECT *, RAND() AS ordering
FROM jos_banner
WHERE showBanner = 1
AND (imptotal = 0 OR impmade < imptotal)
AND cid = 1
AND catid = 14
ORDER BY sticky DESC, ordering
LIMIT 0, 1
UPDATE jos_banner
SET impmade = impmade + 1
WHERE bid = 1
SELECT a.*, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug
FROM jos_content AS a
INNER JOIN jos_categories AS cc
ON cc.id = a.catid
INNER JOIN jos_sections AS s
ON s.id = a.sectionid
WHERE a.state = 1
AND a.access <= 0
AND cc.access <= 0
AND s.access <= 0
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-10-06 11:25:10' )
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-06 11:25:10' )
AND cc.id = 102
AND cc.SECTION = s.id
AND cc.published = 1
AND s.published = 1
ORDER BY a.ordering
SELECT DISTINCT m.manufacturer_id, m.mf_name
FROM jos_vm_manufacturer m
LEFT JOIN jos_vm_product_mf_xref mx
ON mx.manufacturer_id = m.manufacturer_id
LEFT JOIN jos_vm_product p
ON p.product_id = mx.product_id
LEFT JOIN jos_vm_product_category_xref cx
ON cx.product_id = p.product_id
WHERE cx.category_id =10
ORDER BY m.mf_name ASC
SELECT m.manufacturer_id,m.mf_name
FROM jos_vm_manufacturer m
ORDER BY m.mf_name ASC
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 15;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 13;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 6;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 8;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 9;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 4;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 2;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 3;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 5;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 11;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 10;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 12;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 7;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 14;
SELECT DISTINCT product_sku
FROM jos_vm_product, jos_vm_product_category_xref, jos_vm_category
WHERE product_parent_id=''
AND jos_vm_product.product_id=jos_vm_product_category_xref.product_id
AND jos_vm_category.category_id=jos_vm_product_category_xref.category_id
AND jos_vm_category.category_id='29'
AND jos_vm_product.product_publish='Y'
ORDER BY product_name DESC
SELECT product_id, product_name, product_parent_id, product_thumb_image
FROM jos_vm_product
WHERE product_sku='GUI VERNACCIA'
SELECT category_id
FROM `jos_vm_product_category_xref`
WHERE product_id=20
SELECT
`jos_vm_product`.`product_parent_id` AS product_parent_id,
`jos_vm_category`.`category_flypage`
FROM
`jos_vm_product`
LEFT JOIN `jos_vm_product_category_xref`
ON `jos_vm_product_category_xref`.`product_id` = `jos_vm_product`.`product_id`
LEFT JOIN `jos_vm_category`
ON `jos_vm_product_category_xref`.`category_id` = `jos_vm_category`.`category_id`
WHERE `jos_vm_product`.`product_id`='20'
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 29
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,24,29)
SELECT product_name
FROM jos_vm_product
WHERE product_id = 20
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=20
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='20'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=20
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='0'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='20'
SELECT shopper_group_id,shopper_group_discount
FROM jos_vm_shopper_group
WHERE vendor_id='1'
AND `default`='1'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=20
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=20
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='20'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=20
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=20
SELECT product_id, product_name, product_parent_id, product_thumb_image
FROM jos_vm_product
WHERE product_sku='GUI IGT SANGIOVESE'
SELECT category_id
FROM `jos_vm_product_category_xref`
WHERE product_id=23
SELECT
`jos_vm_product`.`product_parent_id` AS product_parent_id,
`jos_vm_category`.`category_flypage`
FROM
`jos_vm_product`
LEFT JOIN `jos_vm_product_category_xref`
ON `jos_vm_product_category_xref`.`product_id` = `jos_vm_product`.`product_id`
LEFT JOIN `jos_vm_category`
ON `jos_vm_product_category_xref`.`category_id` = `jos_vm_category`.`category_id`
WHERE `jos_vm_product`.`product_id`='23'
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 29
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,24,29)
SELECT product_name
FROM jos_vm_product
WHERE product_id = 23
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=23
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='23'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=23
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='0'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='23'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=23
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=23
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='23'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=23
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=23
SELECT product_id, product_name, product_parent_id, product_thumb_image
FROM jos_vm_product
WHERE product_sku='GUI CHARDONNAY'
SELECT category_id
FROM `jos_vm_product_category_xref`
WHERE product_id=21
SELECT
`jos_vm_product`.`product_parent_id` AS product_parent_id,
`jos_vm_category`.`category_flypage`
FROM
`jos_vm_product`
LEFT JOIN `jos_vm_product_category_xref`
ON `jos_vm_product_category_xref`.`product_id` = `jos_vm_product`.`product_id`
LEFT JOIN `jos_vm_category`
ON `jos_vm_product_category_xref`.`category_id` = `jos_vm_category`.`category_id`
WHERE `jos_vm_product`.`product_id`='21'
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 29
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,24,29)
SELECT product_name
FROM jos_vm_product
WHERE product_id = 21
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=21
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='21'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=21
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='0'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='21'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=21
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=21
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='21'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=21
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=21
SELECT product_id, product_name, product_parent_id, product_thumb_image
FROM jos_vm_product
WHERE product_sku='GUI CHIANTI'
SELECT category_id
FROM `jos_vm_product_category_xref`
WHERE product_id=22
SELECT
`jos_vm_product`.`product_parent_id` AS product_parent_id,
`jos_vm_category`.`category_flypage`
FROM
`jos_vm_product`
LEFT JOIN `jos_vm_product_category_xref`
ON `jos_vm_product_category_xref`.`product_id` = `jos_vm_product`.`product_id`
LEFT JOIN `jos_vm_category`
ON `jos_vm_product_category_xref`.`category_id` = `jos_vm_category`.`category_id`
WHERE `jos_vm_product`.`product_id`='22'
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 29
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,24,29)
SELECT product_name
FROM jos_vm_product
WHERE product_id = 22
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=22
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='22'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=22
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='0'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='22'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=22
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=22
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='22'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=22
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=22
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='0'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 6
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='6'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 13
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,13)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='13'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 32
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,13,32)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='32'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 14
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,14)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='14'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 36
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,14,36)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='36'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 9
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,9)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='9'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 41
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,9,41)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='41'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 20
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,20)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='20'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 34
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,20,34)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='34'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 23
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,23)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='23'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 37
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,23,37)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='37'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 39
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,23,39)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='39'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 24
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,24)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='24'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 29
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,24,29)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='29'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 25
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,25)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='25'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 31
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,25,31)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='31'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 27
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,27)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='27'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 35
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,27,35)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='35'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 43
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (43)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='43'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 44
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (43,44)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='44'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 42
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (43,44,42)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='42'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 7
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (7)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='7'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 40
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (7,40)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='40'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 8
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (8)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='8'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT category_id, category_description, category_name,category_child_id AS cid, category_parent_id AS pid,list_order, category_publish
FROM jos_vm_category, jos_vm_category_xref
WHERE jos_vm_category.category_publish='Y'
AND jos_vm_category.category_id=jos_vm_category_xref.category_child_id
ORDER BY jos_vm_category.list_order ASC, jos_vm_category.category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 6
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6)
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 43
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (43)
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 7
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (7)
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 8
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (8)
SELECT group_id,group_name,group_level
FROM `jos_vm_auth_group`
ORDER BY group_level
SELECT published
FROM jos_modules
WHERE module='mod_virtuemart_cart'
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 10
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,10)
SELECT *
FROM jos_session
WHERE session_id = 'tbsejvtv4jprvhlihptok0ski6'
DELETE
FROM jos_session
WHERE ( TIME < '1728213010' )
SELECT *
FROM jos_session
WHERE session_id = 'tbsejvtv4jprvhlihptok0ski6'
INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
VALUES ( 'tbsejvtv4jprvhlihptok0ski6','1728213910','','0','1','0' )
SELECT *
FROM jos_components
WHERE parent = 0
SELECT folder AS TYPE, element AS name, params
FROM jos_plugins
WHERE published >= 1
AND access <= 0
ORDER BY ordering
SELECT group_id,group_name,group_level
FROM `jos_vm_auth_group`
ORDER BY group_level
SELECT jos_vm_shopper_group.shopper_group_id, show_price_including_tax, `default`, shopper_group_discount
FROM `jos_vm_shopper_group`
WHERE jos_vm_shopper_group.vendor_id='1'
AND `default`='1'
SELECT `name`
FROM `jos_core_acl_aro_groups`
WHERE `id` =29
SELECT `lft`, `rgt`
FROM `jos_core_acl_aro_groups`
WHERE `name`='Public Frontend'
SELECT g1.id, g1.name, COUNT(g2.name) AS level
FROM jos_core_acl_aro_groups AS g1
INNER JOIN jos_core_acl_aro_groups AS g2
ON g1.lft BETWEEN g2.lft
AND g2.rgt
WHERE g1.lft BETWEEN 3
AND 12
GROUP BY g1.name
ORDER BY g1.lft
SELECT `lft`, `rgt`
FROM `jos_core_acl_aro_groups`
WHERE `name`='Public Backend'
SELECT g1.id, g1.name, COUNT(g2.name) AS level
FROM jos_core_acl_aro_groups AS g1
INNER JOIN jos_core_acl_aro_groups AS g2
ON g1.lft BETWEEN g2.lft
AND g2.rgt
WHERE g1.lft BETWEEN 13
AND 20
GROUP BY g1.name
ORDER BY g1.lft
SELECT vendor_id, vendor_min_pov,vendor_name,vendor_store_name,contact_email,vendor_full_image, vendor_freeshipping,
vendor_address_1,vendor_address_2, vendor_url, vendor_city, vendor_state, vendor_country, country_2_code, country_3_code,
vendor_zip, vendor_phone, vendor_store_desc, vendor_currency, vendor_currency_display_style,
vendor_accepted_currencies, vendor_address_format, vendor_date_format, state_name
FROM (`jos_vm_vendor` v, `jos_vm_country` c)
LEFT JOIN jos_vm_state s
ON (v.vendor_state=s.state_2_code
AND s.country_id=c.country_id)
WHERE `v`.`vendor_id`=1
AND (`v`.`vendor_country`=`c`.`country_2_code` OR `v`.`vendor_country`=`c`.`country_3_code`);
SELECT module_perms
FROM jos_vm_module
WHERE module_name='shop'
SELECT id
FROM jos_menu
WHERE link='index.php?option=com_virtuemart'
AND published=1
SELECT COUNT(*) AS parentcnt
FROM jos_vm_product
WHERE product_parent_id>0
SELECT COUNT(DISTINCT `jos_vm_product`.`product_sku`) AS num_rows
FROM (`jos_vm_product`, `jos_vm_category`, `jos_vm_product_category_xref`,`jos_vm_shopper_group`)
LEFT JOIN `jos_vm_product_price`
ON `jos_vm_product`.`product_id` = `jos_vm_product_price`.`product_id`
WHERE `jos_vm_product_category_xref`.`product_id`=`jos_vm_product`.`product_id`
AND `jos_vm_product_category_xref`.`category_id`=`jos_vm_category`.`category_id`
AND `jos_vm_product_category_xref`.`category_id`=10
AND ((`jos_vm_product`.`product_id`=`jos_vm_product_price`.`product_id`
AND `jos_vm_shopper_group`.`shopper_group_id`=`jos_vm_product_price`.`shopper_group_id`) OR `jos_vm_product_price`.`product_id` IS NULL)
AND `jos_vm_shopper_group`.`default` = 1
AND `product_parent_id`=0
AND `product_publish`='Y'
AND `category_publish`='Y'
SELECT category_id, category_name
FROM jos_vm_category
WHERE category_id='10'
SELECT category_id, category_description
FROM jos_vm_category
WHERE category_id='10'
SELECT category_id, category_thumb_image, category_child_id,category_name
FROM jos_vm_category,jos_vm_category_xref
WHERE jos_vm_category_xref.category_parent_id='10'
AND jos_vm_category.category_id=jos_vm_category_xref.category_child_id
AND jos_vm_category.vendor_id='1'
AND jos_vm_category.category_publish='Y'
ORDER BY jos_vm_category.list_order, jos_vm_category.category_name ASC
SELECT category_id, category_name,category_parent_id, category_child_id
FROM jos_vm_category, jos_vm_category_xref
WHERE jos_vm_category_xref.category_child_id='10'
AND jos_vm_category.category_id='10'
SELECT category_id, category_name,category_parent_id, category_child_id
FROM jos_vm_category, jos_vm_category_xref
WHERE jos_vm_category_xref.category_child_id='6'
AND jos_vm_category.category_id='6'
SELECT id, params
FROM jos_menu
WHERE link='index.php?option=com_virtuemart'
AND published=1
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 6
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6)
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 10
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,10)
SELECT DISTINCT `jos_vm_product`.`product_id`, `product_name`, `products_per_row`, `category_browsepage`, `category_flypage`, `jos_vm_category`.`category_id`, `product_full_image`, `product_thumb_image`, `product_s_desc`, `product_parent_id`, `product_publish`, `product_in_stock`, `product_sku`, `product_url`, `product_weight`, `product_weight_uom`, `product_length`, `product_width`, `product_height`, `product_lwh_uom`, `product_available_date`, `product_availability`, `jos_vm_product`.`mdate`, `jos_vm_product`.`cdate`
FROM (`jos_vm_product`, `jos_vm_category`, `jos_vm_product_category_xref`,`jos_vm_shopper_group`)
LEFT JOIN `jos_vm_product_price`
ON `jos_vm_product`.`product_id` = `jos_vm_product_price`.`product_id`
WHERE `jos_vm_product_category_xref`.`product_id`=`jos_vm_product`.`product_id`
AND `jos_vm_product_category_xref`.`category_id`=`jos_vm_category`.`category_id`
AND `jos_vm_product_category_xref`.`category_id`=10
AND ((`jos_vm_product`.`product_id`=`jos_vm_product_price`.`product_id`
AND `jos_vm_shopper_group`.`shopper_group_id`=`jos_vm_product_price`.`shopper_group_id`) OR `jos_vm_product_price`.`product_id` IS NULL)
AND `jos_vm_shopper_group`.`default` = 1
AND `product_parent_id`=0
AND `product_publish`='Y'
AND `category_publish`='Y'
GROUP BY `jos_vm_product`.`product_sku`
ORDER BY `jos_vm_product`.`product_name` ASC
LIMIT 0, 20
SELECT DISTINCT product_sku,jos_vm_product.product_id,product_name,product_s_desc,product_thumb_image, product_full_image, product_in_stock, product_url
FROM jos_vm_product, jos_vm_product_category_xref, jos_vm_category
WHERE
(jos_vm_product.product_parent_id='' OR jos_vm_product.product_parent_id='0')
AND jos_vm_product.product_id=jos_vm_product_category_xref.product_id
AND jos_vm_category.category_id=jos_vm_product_category_xref.category_id
AND jos_vm_category.category_id='10'
AND jos_vm_product.product_publish='Y'
AND jos_vm_product.product_special='Y'
ORDER BY RAND()
LIMIT 0, 10
SELECT *
FROM jos_tagmeta
WHERE ( (('/vendita-diretta-vino-cantina-online/category/10/vini/cantine-dell\'abruzzo' REGEXP BINARY uri)>0
AND case_sensitive<>'0') OR (('/vendita-diretta-vino-cantina-online/category/10/vini/cantine-dell\'abruzzo' REGEXP uri)>0
AND case_sensitive='0') )
AND published='1'
ORDER BY ordering
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 18)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT id, title, module, POSITION, content, showtitle, control, params
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
AND ( mm.menuid = 18 OR mm.menuid = 0 )
ORDER BY POSITION, ordering
SELECT a.*, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug
FROM jos_content AS a
INNER JOIN jos_categories AS cc
ON cc.id = a.catid
INNER JOIN jos_sections AS s
ON s.id = a.sectionid
WHERE a.state = 1
AND a.access <= 0
AND cc.access <= 0
AND s.access <= 0
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-10-06 11:25:10' )
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-06 11:25:10' )
AND cc.id = 102
AND cc.SECTION = s.id
AND cc.published = 1
AND s.published = 1
ORDER BY a.ordering
SELECT *, RAND() AS ordering
FROM jos_banner
WHERE showBanner = 1
AND (imptotal = 0 OR impmade < imptotal)
AND cid = 1
AND catid = 14
ORDER BY sticky DESC, ordering
LIMIT 0, 1
UPDATE jos_banner
SET impmade = impmade + 1
WHERE bid = 1
SELECT a.*, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END AS catslug
FROM jos_content AS a
INNER JOIN jos_categories AS cc
ON cc.id = a.catid
INNER JOIN jos_sections AS s
ON s.id = a.sectionid
WHERE a.state = 1
AND a.access <= 0
AND cc.access <= 0
AND s.access <= 0
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2024-10-06 11:25:10' )
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2024-10-06 11:25:10' )
AND cc.id = 102
AND cc.SECTION = s.id
AND cc.published = 1
AND s.published = 1
ORDER BY a.ordering
SELECT DISTINCT m.manufacturer_id, m.mf_name
FROM jos_vm_manufacturer m
LEFT JOIN jos_vm_product_mf_xref mx
ON mx.manufacturer_id = m.manufacturer_id
LEFT JOIN jos_vm_product p
ON p.product_id = mx.product_id
LEFT JOIN jos_vm_product_category_xref cx
ON cx.product_id = p.product_id
WHERE cx.category_id =10
ORDER BY m.mf_name ASC
SELECT m.manufacturer_id,m.mf_name
FROM jos_vm_manufacturer m
ORDER BY m.mf_name ASC
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 15;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 13;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 6;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 8;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 9;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 4;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 2;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 3;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 5;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 11;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 10;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 12;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 7;
SELECT mf_name
FROM jos_vm_manufacturer AS t1
WHERE t1.manufacturer_id = 14;
SELECT DISTINCT product_sku
FROM jos_vm_product, jos_vm_product_category_xref, jos_vm_category
WHERE product_parent_id=''
AND jos_vm_product.product_id=jos_vm_product_category_xref.product_id
AND jos_vm_category.category_id=jos_vm_product_category_xref.category_id
AND jos_vm_category.category_id='29'
AND jos_vm_product.product_publish='Y'
ORDER BY product_name DESC
SELECT product_id, product_name, product_parent_id, product_thumb_image
FROM jos_vm_product
WHERE product_sku='GUI VERNACCIA'
SELECT category_id
FROM `jos_vm_product_category_xref`
WHERE product_id=20
SELECT
`jos_vm_product`.`product_parent_id` AS product_parent_id,
`jos_vm_category`.`category_flypage`
FROM
`jos_vm_product`
LEFT JOIN `jos_vm_product_category_xref`
ON `jos_vm_product_category_xref`.`product_id` = `jos_vm_product`.`product_id`
LEFT JOIN `jos_vm_category`
ON `jos_vm_product_category_xref`.`category_id` = `jos_vm_category`.`category_id`
WHERE `jos_vm_product`.`product_id`='20'
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 29
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,24,29)
SELECT product_name
FROM jos_vm_product
WHERE product_id = 20
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=20
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='20'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=20
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='0'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='20'
SELECT shopper_group_id,shopper_group_discount
FROM jos_vm_shopper_group
WHERE vendor_id='1'
AND `default`='1'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=20
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=20
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='20'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=20
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=20
SELECT product_id, product_name, product_parent_id, product_thumb_image
FROM jos_vm_product
WHERE product_sku='GUI IGT SANGIOVESE'
SELECT category_id
FROM `jos_vm_product_category_xref`
WHERE product_id=23
SELECT
`jos_vm_product`.`product_parent_id` AS product_parent_id,
`jos_vm_category`.`category_flypage`
FROM
`jos_vm_product`
LEFT JOIN `jos_vm_product_category_xref`
ON `jos_vm_product_category_xref`.`product_id` = `jos_vm_product`.`product_id`
LEFT JOIN `jos_vm_category`
ON `jos_vm_product_category_xref`.`category_id` = `jos_vm_category`.`category_id`
WHERE `jos_vm_product`.`product_id`='23'
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 29
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,24,29)
SELECT product_name
FROM jos_vm_product
WHERE product_id = 23
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=23
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='23'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=23
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='0'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='23'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=23
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=23
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='23'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=23
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=23
SELECT product_id, product_name, product_parent_id, product_thumb_image
FROM jos_vm_product
WHERE product_sku='GUI CHARDONNAY'
SELECT category_id
FROM `jos_vm_product_category_xref`
WHERE product_id=21
SELECT
`jos_vm_product`.`product_parent_id` AS product_parent_id,
`jos_vm_category`.`category_flypage`
FROM
`jos_vm_product`
LEFT JOIN `jos_vm_product_category_xref`
ON `jos_vm_product_category_xref`.`product_id` = `jos_vm_product`.`product_id`
LEFT JOIN `jos_vm_category`
ON `jos_vm_product_category_xref`.`category_id` = `jos_vm_category`.`category_id`
WHERE `jos_vm_product`.`product_id`='21'
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 29
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,24,29)
SELECT product_name
FROM jos_vm_product
WHERE product_id = 21
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=21
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='21'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=21
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='0'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='21'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=21
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=21
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='21'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=21
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=21
SELECT product_id, product_name, product_parent_id, product_thumb_image
FROM jos_vm_product
WHERE product_sku='GUI CHIANTI'
SELECT category_id
FROM `jos_vm_product_category_xref`
WHERE product_id=22
SELECT
`jos_vm_product`.`product_parent_id` AS product_parent_id,
`jos_vm_category`.`category_flypage`
FROM
`jos_vm_product`
LEFT JOIN `jos_vm_product_category_xref`
ON `jos_vm_product_category_xref`.`product_id` = `jos_vm_product`.`product_id`
LEFT JOIN `jos_vm_category`
ON `jos_vm_product_category_xref`.`category_id` = `jos_vm_category`.`category_id`
WHERE `jos_vm_product`.`product_id`='22'
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 29
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,24,29)
SELECT product_name
FROM jos_vm_product
WHERE product_id = 22
SELECT product_id, `jos_vm_product`.*
FROM `jos_vm_product`
WHERE `product_id`=22
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='22'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT product_parent_id
FROM jos_vm_product
WHERE product_id=22
SELECT amount,is_percent
FROM jos_vm_product,jos_vm_product_discount
WHERE product_id='0'
AND (start_date<='1728213910' OR start_date=0)
AND (end_date>='1728171360' OR end_date=0)
AND product_discount_id=discount_id
SELECT vendor_id
FROM jos_vm_product
WHERE product_id='22'
SELECT `product_price`, `product_price_id`, `product_currency`
FROM `jos_vm_product_price`
WHERE product_id=22
AND shopper_group_id=5
ORDER BY price_quantity_start
SELECT tax_rate
FROM jos_vm_product, jos_vm_tax_rate
WHERE product_tax_id=tax_rate_id
AND product_id=22
SELECT COUNT(product_id) AS num_rows
FROM jos_vm_product
WHERE product_parent_id='22'
SELECT `product_id`
FROM `jos_vm_product_attribute_sku`
WHERE `product_id`=22
SELECT `attribute`,`custom_attribute`
FROM `jos_vm_product`
WHERE `product_id`=22
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='0'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 6
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='6'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 13
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,13)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='13'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 32
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,13,32)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='32'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 14
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,14)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='14'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 36
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,14,36)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='36'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 9
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,9)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='9'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 41
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,9,41)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='41'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 20
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,20)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='20'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 34
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,20,34)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='34'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 23
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,23)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='23'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 37
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,23,37)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='37'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 39
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,23,39)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='39'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 24
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,24)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='24'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 29
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,24,29)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='29'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 25
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,25)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='25'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 31
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,25,31)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='31'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 27
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,27)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='27'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 35
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,27,35)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='35'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 43
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (43)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='43'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 44
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (43,44)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='44'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 42
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (43,44,42)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='42'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 7
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (7)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='7'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 40
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (7,40)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='40'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 8
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (8)
SELECT category_name, category_id, category_child_id
FROM jos_vm_category AS a, jos_vm_category_xref AS b
WHERE a.category_publish='Y'
AND b.category_parent_id='8'
AND a.category_id=b.category_child_id
ORDER BY category_parent_id, list_order, category_name ASC
SELECT category_id, category_description, category_name,category_child_id AS cid, category_parent_id AS pid,list_order, category_publish
FROM jos_vm_category, jos_vm_category_xref
WHERE jos_vm_category.category_publish='Y'
AND jos_vm_category.category_id=jos_vm_category_xref.category_child_id
ORDER BY jos_vm_category.list_order ASC, jos_vm_category.category_name ASC
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 6
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6)
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 43
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (43)
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 7
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (7)
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 8
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (8)
SELECT group_id,group_name,group_level
FROM `jos_vm_auth_group`
ORDER BY group_level
SELECT published
FROM jos_modules
WHERE module='mod_virtuemart_cart'
SELECT t1.category_child_id AS lev1, t2.category_child_id AS lev2, t3.category_child_id AS lev3
FROM jos_vm_category_xref AS t1
LEFT JOIN jos_vm_category_xref AS t2
ON t2.category_child_id = t1.category_parent_id
LEFT JOIN jos_vm_category_xref AS t3
ON t3.category_child_id = t2.category_parent_id
WHERE t1.category_child_id= 10
SELECT GROUP_CONCAT( category_name
SEPARATOR '/' )
FROM jos_vm_category
WHERE category_id IN (6,10)