Database
Queries: 17 (0.0249)
0.0007 (0)
SELECT URL.target_name AS TargetName, URL.path AS Path FROM DM_URLs URL WHERE URL.target_type = 'entity' AND ( URL.target_name = 'MemberHomePage' OR URL.target_name = 'MemberProfilePage' OR URL.target_name = 'MemberSignInPage' OR URL.target_name = 'MemberSignUpPage' OR URL.target_name = 'MemberActivatePage' OR URL.target_name = 'MemberResetPasswordPage' OR URL.target_name = 'MemberForgotPasswordPage');
0.0006 (1)
SELECT URL.url_id AS URLId, URL.path AS Path, URL.target_type AS TargetType, URL.target_name AS TargetName FROM DM_URLs URL WHERE URL.path = 'santa-brunch/child-ticket-ages-5-and-under';
0.0006 (1)
SELECT URL.url_id AS "Id", PageURL.page_id AS "PageId", PageURL.path AS "Path", URL.path AS "FullPath", URL.target_type AS "TargetType", URL.target_name AS "TargetName", PageURL.is_default AS "Default", UNIX_TIMESTAMP(PageURL.modified) AS "Modified", URL.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(PageURL.created) AS "Created", URL.created_by AS "CreatedBy", URL.cue_source AS "CueSource", URL.cue_source_id AS "CueSourceId", URL.cue_ver AS "CueVersion" FROM DM_URLs URL JOIN Web_PagesURLs PageURL ON PageURL.url_id = URL.url_id WHERE URL.url_id = '89';
0.0028 (1)
SELECT Page.page_id AS "Id", Page.entity AS "Entity", Page.title AS "Title", Page.subtitle AS "Subtitle", Page.title_tag AS "TitleTag", Page.body_class AS "BodyClass", Page.meta_description AS "MetaDescription", Page.meta_robots AS "MetaRobots", Page.canonical_url AS "CanonicalURL", Page.body AS "Body", Page.excerpt AS "Excerpt", Page.search_public_keywords AS "PublicSearchKeywords", Page.javascript AS "JavaScript", Page.stylesheet AS "StyleSheet", Page.exclude_sitemap AS "ExcludeSitemap", Page.exclude_widgets AS "ExcludeWidgets", Page.exclude_search AS "ExcludeSearch", Page.require_ssl AS "RequireSSL", Page.require_signin AS "RequireSignIn", Page.can_cache AS "CanCache", Page.is_system_page AS "IsSystemPage", Page.sort_order AS "SortOrder", Page.image_id AS "Image", Page.author_id AS "Author", Page.status_id AS "Status", UNIX_TIMESTAMP(Page.status_date) AS "StatusDate", Page.channel_id AS "Channel", DefaultLayout.layout_code AS "DefaultLayout", DefaultURL.url_id AS "DefaultURLId", DefaultURL.path AS "DefaultURL", DefaultFullURL.path AS "DefaultFullURL", LOWER(CONCAT('Product/', Page.page_id)) AS "Permalink", UNIX_TIMESTAMP(Page.modified) AS "Modified", Page.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(Page.created) AS "Created", Page.created_by AS "CreatedBy", Page.cue_source AS "CueSource", Page.cue_source_id AS "CueSourceId", Page.cue_ver AS "CueVersion", Product.product_id AS "ProductId", Product.manufacturer_id AS "Manufacturer", Product.sku AS "SKU", Product.part_no AS "PartNo", Product.barcode AS "Barcode", Product.serial_no AS "SerialNo", Product.product_type AS "ProductType", Product.physical_condition AS "Condition", Product.regular_price AS "RegularPrice", Product.sale_price AS "SalePrice", (SELECT MAX(adjusted_cost) FROM Ecom_SuppliersProducts WHERE product_id = Page.page_id AND is_active = 1) AS "MinimumPrice", Product.msrp_price AS "MSRP", Product.map_price AS "MAPPrice", (SELECT IF(SUM(quantity) = 0, MAX(cost_price), SUM(cost_price * quantity) / SUM(quantity)) FROM Ecom_SuppliersProducts WHERE product_id = Page.page_id AND is_active = 1) AS "Cost", Product.is_taxable AS "Taxable", Product.tax_class_id AS "TaxClass", Product.dimension_width AS "DimensionWidth", Product.dimension_width_unit AS "DimensionWidthUnit", Product.dimension_length AS "DimensionLength", Product.dimension_length_unit AS "DimensionLengthUnit", Product.dimension_height AS "DimensionHeight", Product.dimension_height_unit AS "DimensionHeightUnit", Product.weight AS "Weight", Product.weight_unit AS "WeightUnit", Product.shipping_fee AS "ShippingFee", Product.shipping_value AS "ShippingValue", Product.track_inventory AS "TrackInventory", Product.track_variant_inventory AS "TrackVariantInventory", (SELECT SUM(quantity) FROM Ecom_SuppliersProducts WHERE product_id = Page.page_id AND is_active = 1 GROUP BY product_id) AS "QuantityOnHand", (SELECT SUM(quantity) FROM Ecom_ProductsAllocations WHERE product_id = Page.page_id GROUP BY product_id) AS "QuantityAllocated", (
SELECT SUM(SupplierProduct.quantity) - IF(Allocation.quantity IS NULL, 0, Allocation.quantity) FROM Ecom_SuppliersProducts SupplierProduct LEFT JOIN (
SELECT product_id, SUM(quantity) AS quantity FROM Ecom_ProductsAllocations GROUP BY product_id ) Allocation ON Allocation.product_id = SupplierProduct.product_id WHERE SupplierProduct.product_id = Page.page_id AND SupplierProduct.is_active = 1 GROUP BY SupplierProduct.product_id ) AS "Quantity", Product.location_bin AS "LocationBin", Product.review_count AS "ReviewCount", Product.average_rating AS "AverageRating", Product.allow_backorders AS "AllowBackorders", Product.availability AS "Availability", Product.sales_rank AS "SalesRank", Product.is_new AS "New", Product.is_coming_soon AS "ComingSoon", Product.is_exclusive AS "Exclusive", Product.is_featured AS "Featured", Product.custom_flag_1 AS "CustomFlag1", Product.custom_flag_2 AS "CustomFlag2", Product.custom_flag_3 AS "CustomFlag3", Product.custom_flag_4 AS "CustomFlag4", Product.custom_flag_5 AS "CustomFlag5", Product.custom_field_1 AS "CustomField1", Product.custom_field_2 AS "CustomField2", Product.custom_field_3 AS "CustomField3", Product.custom_field_4 AS "CustomField4", Product.custom_field_5 AS "CustomField5", Product.custom_field_6 AS "CustomField6", Product.custom_field_7 AS "CustomField7", Product.custom_field_8 AS "CustomField8", Product.custom_field_9 AS "CustomField9", Product.custom_field_10 AS "CustomField10", (SELECT COUNT(1) FROM Ecom_ProductsVariants WHERE product_id = Page.page_id AND is_active = 1) AS "VariantCount" FROM Web_Pages Page LEFT JOIN Web_PagesLayouts DefaultLayout ON DefaultLayout.page_id = Page.page_id AND DefaultLayout.is_default = 1 LEFT JOIN Web_PagesURLs DefaultURL ON DefaultURL.page_id = Page.page_id AND DefaultURL.is_default = 1 LEFT JOIN DM_URLs DefaultFullURL ON DefaultFullURL.url_id = DefaultURL.url_id JOIN Ecom_Products Product ON Product.page_id = Page.page_id LEFT JOIN DM_Statuses Status ON Status.status_id = Page.status_id WHERE Page.page_id = 107 AND Status.is_public = true AND UNIX_TIMESTAMP(Page.status_date) <= 1732181568;
0.0073 (11)
SELECT DISTINCT Widget.widget_id AS "Id", Widget.widget_code AS "Code", Widget.admin_title AS "Title", Widget.default_region AS "DefaultRegion", Widget.properties AS "Properties", UNIX_TIMESTAMP(Widget.effective_on) AS "EffectiveOn", UNIX_TIMESTAMP(Widget.expires_on) AS "ExpiresOn", Widget.show_not_signed_in AS "ShowNotSignedIn", Widget.show_signed_in AS "ShowSignedIn", Widget.can_cache AS "CanCache", Widget.is_active AS "Active", UNIX_TIMESTAMP(Widget.modified) AS "Modified", Widget.modified_by AS "ModifiedBy.Id", UNIX_TIMESTAMP(Widget.created) AS "Created", Widget.created_by AS "CreatedBy.Id", Widget.cue_source AS "CueSource", Widget.cue_source_id AS "CueSourceId", Widget.cue_ver AS "CueVersion", WidgetPage.region AS "Region" FROM Web_WidgetsPages WidgetPage JOIN Web_Widgets Widget ON Widget.widget_id = WidgetPage.widget_id WHERE ( Widget.widget_id IN (SELECT widget_id FROM Web_WidgetsChannels WHERE channel_id = '106') OR Widget.widget_id IN (SELECT widget_id FROM Web_WidgetsEntities WHERE entity_name = 'Product') OR WidgetPage.page_id = '107' ) AND ( Widget.widget_id NOT IN (SELECT widget_id FROM Web_WidgetsPages WHERE page_id = '107' AND excluded = 1) ) ORDER BY WidgetPage.sort_order ASC;
SELECT MediaFile.media_file_id AS "Id", MediaFile.media_type AS "MediaType", MediaFile.title AS "Title", MediaFile.version AS "Version", MediaFile.description AS "Description", MediaFile.filename AS "Filename", MediaFile.path AS "Path", MediaFile.target_file AS "File", MediaFile.file_bytes AS "FileBytes", CONCAT(MediaFile.path, MediaFile.target_file) AS "FileURL", MediaFile.hash AS "Hash", MediaFile.mime_type AS "MimeType", MediaFile.show_in_media AS "ShowInMedia", UNIX_TIMESTAMP(MediaFile.status_date) AS "StatusDate", MediaFile.status_id AS "Status", UNIX_TIMESTAMP(MediaFile.modified) AS "Modified", MediaFile.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(MediaFile.created) AS "Created", MediaFile.created_by AS "CreatedBy", MediaFile.cue_source AS "CueSource", MediaFile.cue_source_id AS "CueSourceId", MediaFile.cue_ver AS "CueVersion", ImageFile.alt_text AS "AltText", ImageFile.source_width AS "SourceWidth", ImageFile.source_height AS "SourceHeight", ImageFile.micro_filename AS "MicroFilename", ImageFile.micro_width AS "MicroWidth", ImageFile.micro_height AS "MicroHeight", ImageFile.micro_bytes AS "MicroBytes", CONCAT(MediaFile.path, ImageFile.micro_filename) AS "MicroURL", ImageFile.thumbnail_filename AS "ThumbnailFilename", ImageFile.thumbnail_width AS "ThumbnailWidth", ImageFile.thumbnail_height AS "ThumbnailHeight", ImageFile.thumbnail_bytes AS "ThumbnailBytes", CONCAT(MediaFile.path, ImageFile.thumbnail_filename) AS "ThumbnailURL", ImageFile.small_filename AS "SmallFilename", ImageFile.small_width AS "SmallWidth", ImageFile.small_height AS "SmallHeight", ImageFile.small_bytes AS "SmallBytes", CONCAT(MediaFile.path, ImageFile.small_filename) AS "SmallURL", ImageFile.medium_filename AS "MediumFilename", ImageFile.medium_width AS "MediumWidth", ImageFile.medium_height AS "MediumHeight", ImageFile.medium_bytes AS "MediumBytes", CONCAT(MediaFile.path, ImageFile.medium_filename) AS "MediumURL", ImageFile.large_filename AS "LargeFilename", ImageFile.large_width AS "LargeWidth", ImageFile.large_height AS "LargeHeight", ImageFile.large_bytes AS "LargeBytes", CONCAT(MediaFile.path, ImageFile.large_filename) AS "LargeURL" FROM FM_MediaFiles MediaFile LEFT JOIN FM_ImageFiles ImageFile ON ImageFile.media_file_id = MediaFile.media_file_id WHERE MediaFile.media_file_id = '333';
SELECT Status.status_id AS "Id", Status.entity_name AS "Entity", Status.label AS "Label", Status.is_entity_active AS "EntityIsActive", Status.is_entity_inactive AS "EntityIsInactive", Status.is_default AS "Default", Status.is_public AS "Public", Status.is_active AS "Active", Status.sort_order AS "SortOrder", Status.modified AS "Modified", Status.modified_by AS "ModifiedBy", Status.created AS "Created", Status.created_by AS "CreatedBy", Status.cue_source AS "CueSource", Status.cue_source_id AS "CueSourceId", Status.cue_ver AS "CueVersion" FROM DM_Statuses Status WHERE Status.status_id = '27';
SELECT ChannelLite.page_id AS "Id", ChannelLite.channel_id AS "ChannelId", ChannelLite.title AS "Title", webGetPageHierarchy(Channel.page_id, 'title') AS "FullTitle", ChannelStatus.is_public AS "Public", ChannelDefaultURL.path AS "DefaultURL", DefaultFullURL.path AS "DefaultFullURL", Channel.page_entity AS "PageEntity", Channel.default_page_layout AS "DefaultPageLayout", Channel.sort_property AS "SortProperty", Channel.pages_per_index AS "PagesPerIndex", Channel.show_full_content AS "ShowFullContent", Channel.words_per_excerpt AS "WordsPerExcerpt", CONCAT_WS('/', MediaFile.path, ImageFile.thumbnail_filename) AS "ImageThumbnailURL", CONCAT_WS('/', MediaFile.path, ImageFile.small_filename) AS "ImageSmallURL", CONCAT_WS('/', MediaFile.path, ImageFile.medium_filename) AS "ImageMediumURL", CONCAT_WS('/', MediaFile.path, ImageFile.large_filename) AS "ImageLargeURL" FROM Web_Pages ChannelLite JOIN DM_Statuses ChannelStatus ON ChannelStatus.status_id = ChannelLite.status_id LEFT JOIN Web_PagesURLs ChannelDefaultURL ON ChannelDefaultURL.page_id = ChannelLite.page_id AND ChannelDefaultURL.is_default = 1 LEFT JOIN DM_URLs DefaultFullURL ON DefaultFullURL.url_id = ChannelDefaultURL.url_id JOIN Web_Channels Channel ON Channel.page_id = ChannelLite.page_id LEFT JOIN FM_MediaFiles MediaFile ON MediaFile.media_file_id = ChannelLite.image_id LEFT JOIN FM_ImageFiles ImageFile ON ImageFile.media_file_id = ChannelLite.image_id WHERE ChannelLite.page_id = '106';
SELECT PageAttachment.page_attachment_id AS "Id", PageAttachment.page_id AS "PageId", PageAttachment.media_file_id AS "MediaFileId", PageAttachment.tag_class AS "TagClass", PageAttachment.sort_order AS "SortOrder", MediaFile.media_type AS "MediaType", MediaFile.title AS "Title", MediaFile.version AS "Version", MediaFile.description AS "Description", MediaFile.filename AS "Filename", MediaFile.path AS "Path", MediaFile.target_file AS "File", MediaFile.file_bytes AS "FileBytes", CONCAT(MediaFile.path, MediaFile.target_file) AS "FileURL", MediaFile.mime_type AS "MimeType", UNIX_TIMESTAMP(MediaFile.status_date) AS "StatusDate", MediaFile.status_id AS "Status", UNIX_TIMESTAMP(PageAttachment.modified) AS "Modified", PageAttachment.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(PageAttachment.created) AS "Created", PageAttachment.created_by AS "CreatedBy", PageAttachment.cue_source AS "CueSource", PageAttachment.cue_source_id AS "CueSourceId", PageAttachment.cue_ver AS "CueVersion" FROM Web_PagesAttachments PageAttachment JOIN FM_MediaFiles MediaFile ON MediaFile.media_file_id = PageAttachment.media_file_id WHERE PageAttachment.page_id = 107;
SELECT PageCategory.page_category_id AS "Id", PageCategory.page_id AS "PageId", PageCategory.taxonomy_id AS "TaxonomyId", Taxonomy.label AS "Label", Taxonomy.description AS "Description", UNIX_TIMESTAMP(PageCategory.modified) AS "Modified", PageCategory.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(PageCategory.created) AS "Created", PageCategory.created_by AS "CreatedBy", PageCategory.cue_source AS "CueSource", PageCategory.cue_source_id AS "CueSourceId", PageCategory.cue_ver AS "CueVersion" FROM Web_PagesCategories PageCategory JOIN DM_Taxonomies Taxonomy ON Taxonomy.taxonomy_id = PageCategory.taxonomy_id WHERE PageCategory.page_id = 107 ORDER BY Taxonomy.label ASC;
SELECT PageImage.page_image_id AS "Id", PageImage.page_id AS "PageId", PageImage.media_file_id AS "MediaFileId", PageImage.tag_id AS "TagId", PageImage.tag_class AS "TagClass", PageImage.sort_order AS "SortOrder", MediaFile.media_type AS "MediaType", MediaFile.title AS "Title", MediaFile.version AS "Version", MediaFile.description AS "Description", MediaFile.filename AS "Filename", MediaFile.path AS "Path", MediaFile.target_file AS "File", MediaFile.file_bytes AS "FileBytes", CONCAT(MediaFile.path, MediaFile.target_file) AS "FileURL", MediaFile.mime_type AS "MimeType", ImageFile.alt_text AS "AltText", ImageFile.source_width AS "SourceWidth", ImageFile.source_height AS "SourceHeight", ImageFile.micro_filename AS "MicroFilename", ImageFile.micro_width AS "MicroWidth", ImageFile.micro_height AS "MicroHeight", ImageFile.micro_bytes AS "MicroBytes", CONCAT(MediaFile.path, ImageFile.micro_filename) AS "MicroURL", ImageFile.thumbnail_filename AS "ThumbnailFilename", ImageFile.thumbnail_width AS "ThumbnailWidth", ImageFile.thumbnail_height AS "ThumbnailHeight", ImageFile.thumbnail_bytes AS "ThumbnailBytes", CONCAT(MediaFile.path, ImageFile.thumbnail_filename) AS "ThumbnailURL", ImageFile.small_filename AS "SmallFilename", ImageFile.small_width AS "SmallWidth", ImageFile.small_height AS "SmallHeight", ImageFile.small_bytes AS "SmallBytes", CONCAT(MediaFile.path, ImageFile.small_filename) AS "SmallURL", ImageFile.medium_filename AS "MediumFilename", ImageFile.medium_width AS "MediumWidth", ImageFile.medium_height AS "MediumHeight", ImageFile.medium_bytes AS "MediumBytes", CONCAT(MediaFile.path, ImageFile.medium_filename) AS "MediumURL", ImageFile.large_filename AS "LargeFilename", ImageFile.large_width AS "LargeWidth", ImageFile.large_height AS "LargeHeight", ImageFile.large_bytes AS "LargeBytes", CONCAT(MediaFile.path, ImageFile.large_filename) AS "LargeURL", UNIX_TIMESTAMP(MediaFile.status_date) AS "StatusDate", MediaFile.status_id AS "Status", UNIX_TIMESTAMP(PageImage.modified) AS "Modified", PageImage.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(PageImage.created) AS "Created", PageImage.created_by AS "CreatedBy", PageImage.cue_source AS "CueSource", PageImage.cue_source_id AS "CueSourceId", PageImage.cue_ver AS "CueVersion" FROM Web_PagesImages PageImage LEFT JOIN FM_MediaFiles MediaFile ON MediaFile.media_file_id = PageImage.media_file_id LEFT JOIN FM_ImageFiles ImageFile ON ImageFile.media_file_id = PageImage.media_file_id WHERE PageImage.page_id = 107 ORDER BY PageImage.sort_order ASC;
SELECT PageTag.page_tag_id AS "Id", PageTag.page_id AS "PageId", PageTag.taxonomy_id AS "TaxonomyId", Taxonomy.label AS "Label", Taxonomy.description AS "Description", UNIX_TIMESTAMP(PageTag.modified) AS "Modified", PageTag.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(PageTag.created) AS "Created", PageTag.created_by AS "CreatedBy", PageTag.cue_source AS "CueSource", PageTag.cue_source_id AS "CueSourceId", PageTag.cue_ver AS "CueVersion" FROM Web_PagesTags PageTag JOIN DM_Taxonomies Taxonomy ON Taxonomy.taxonomy_id = PageTag.taxonomy_id WHERE PageTag.page_id = 107 ORDER BY Taxonomy.label ASC;
SELECT URL.url_id AS "Id", PageURL.page_id AS "PageId", PageURL.path AS "Path", URL.path AS "FullPath", URL.target_type AS "TargetType", URL.target_name AS "TargetName", PageURL.is_default AS "Default", UNIX_TIMESTAMP(PageURL.modified) AS "Modified", URL.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(PageURL.created) AS "Created", URL.created_by AS "CreatedBy", URL.cue_source AS "CueSource", URL.cue_source_id AS "CueSourceId", URL.cue_ver AS "CueVersion" FROM DM_URLs URL JOIN Web_PagesURLs PageURL ON PageURL.url_id = URL.url_id WHERE PageURL.page_id = 107 ORDER BY PageURL.is_default DESC;
SELECT Author.admin_user_id AS "Id", Author.first_name AS "FirstName", Author.last_name AS "LastName", Author.email AS "Email", TRIM(CONCAT(Author.first_name, ' ', Author.last_name, IF(Author.suffix <> '', CONCAT(' ', Author.suffix), ''))) AS "DisplayFirstLast", TRIM(CONCAT(Author.last_name, ', ', Author.first_name, IF(Author.suffix <> '', CONCAT(' ', Author.suffix), ''))) AS "DisplayLastFirst" FROM DM_AdminUsers Author WHERE Author.admin_user_id = '9';
SELECT Author.admin_user_id AS "Id", Author.first_name AS "FirstName", Author.last_name AS "LastName", Author.email AS "Email", TRIM(CONCAT(Author.first_name, ' ', Author.last_name, IF(Author.suffix <> '', CONCAT(' ', Author.suffix), ''))) AS "DisplayFirstLast", TRIM(CONCAT(Author.last_name, ', ', Author.first_name, IF(Author.suffix <> '', CONCAT(' ', Author.suffix), ''))) AS "DisplayLastFirst" FROM DM_AdminUsers Author WHERE Author.admin_user_id = '9';
SELECT Manufacturer.page_id AS "Id", Manufacturer.title AS "Title", Status.Label AS "Status", UNIX_TIMESTAMP(Manufacturer.modified) AS "Modified", UNIX_TIMESTAMP(Manufacturer.created) AS "Created", CONCAT('page/', Manufacturer.page_id) AS "Permalink", DefaultURL.path AS "DefaultURL", DefaultFullURL.path AS "DefaultFullURL" FROM Web_Pages Manufacturer JOIN DM_Statuses Status ON Status.status_id = Manufacturer.status_id LEFT JOIN Web_PagesURLs DefaultURL ON DefaultURL.page_id = Manufacturer.page_id AND DefaultURL.is_default = 1 JOIN DM_URLs DefaultFullURL ON DefaultFullURL.url_id = DefaultURL.url_id WHERE Manufacturer.page_id = '85';
SELECT TaxClass.tax_class_id AS "Id", TaxClass.class_type AS "ClassType", TaxClass.name AS "Name", TaxClass.is_taxable AS "Taxable", TaxClass.is_default AS "Default", TaxClass.is_active AS "Active", UNIX_TIMESTAMP(TaxClass.modified) AS "Modified", TaxClass.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(TaxClass.created) AS "Created", TaxClass.created_by AS "CreatedBy", TaxClass.cue_source AS "CueSource", TaxClass.cue_source_id AS "CueSourceId", TaxClass.cue_ver AS "CueVersion" FROM Ecom_TaxClasses TaxClass WHERE TaxClass.tax_class_id = '7';
SELECT ProductFeature.product_feature_id AS "Id", ProductFeature.product_id AS "ProductId", ProductFeature.feature AS "Feature", ProductFeature.sort_order AS "SortOrder", UNIX_TIMESTAMP(ProductFeature.modified) AS "Modified", ProductFeature.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(ProductFeature.created) AS "Created", ProductFeature.created_by AS "CreatedBy", ProductFeature.cue_source AS "CueSource", ProductFeature.cue_source_id AS "CueSourceId", ProductFeature.cue_ver AS "CueVersion" FROM Ecom_ProductsFeatures ProductFeature WHERE ProductFeature.product_id = 107 ORDER BY ProductFeature.sort_order ASC;
SELECT ProductOption.product_option_id AS "Id", ProductOption.product_id AS "ProductId", ProductOption.product_option_label_id AS "ProductOptionLabelId", ProductOptionLabel.label AS "Label", GROUP_CONCAT(CONCAT(ProductOptionValue.product_option_value_id, '=', ProductOptionValue.value) ORDER BY POLV.sort_order SEPARATOR '|') AS "Values", ProductOption.sort_order AS "SortOrder", UNIX_TIMESTAMP(ProductOption.modified) AS "Modified", ProductOption.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(ProductOption.created) AS "Created", ProductOption.created_by AS "CreatedBy", ProductOption.cue_source AS "CueSource", ProductOption.cue_source_id AS "CueSourceId", ProductOption.cue_ver AS "CueVersion" FROM Ecom_ProductsOptions ProductOption LEFT JOIN Ecom_ProductOptionLabels ProductOptionLabel ON ProductOptionLabel.product_option_label_id = ProductOption.product_option_label_id LEFT JOIN Ecom_ProductsOptionsLabelsValues POLV ON POLV.product_option_label_id = ProductOption.product_option_label_id AND POLV.product_id = ProductOption.product_id LEFT JOIN Ecom_ProductOptionValues ProductOptionValue ON ProductOptionValue.product_option_value_id = POLV.product_option_value_id WHERE ProductOption.product_id = 107 GROUP BY ProductOption.product_option_label_id ORDER BY ProductOption.sort_order ASC, ProductOption.sort_order ASC;
SELECT RelatedProduct.product_related_id AS "Id", RelatedProduct.product_id AS "ProductId", RelatedProduct.related_product_id AS "RelatedProductId", RelPage.title AS "Title", RelProduct.sku AS "SKU", RelatedProduct.sort_order AS "SortOrder", CONCAT(MediaFile.path, ImageFile.thumbnail_filename) AS "ThumbnailURL", UNIX_TIMESTAMP(RelatedProduct.modified) AS "Modified", RelatedProduct.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(RelatedProduct.created) AS "Created", RelatedProduct.created_by AS "CreatedBy", RelatedProduct.cue_source AS "CueSource", RelatedProduct.cue_source_id AS "CueSourceId", RelatedProduct.cue_ver AS "CueVersion" FROM Ecom_ProductsRelated RelatedProduct JOIN Web_Pages RelPage ON RelPage.page_id = RelatedProduct.related_product_id LEFT JOIN FM_MediaFiles MediaFile ON MediaFile.media_file_id = RelPage.image_id LEFT JOIN FM_ImageFiles ImageFile ON ImageFile.media_file_id = RelPage.image_id JOIN Ecom_Products RelProduct ON RelProduct.page_id = RelatedProduct.related_product_id WHERE RelatedProduct.product_id = 107 ORDER BY RelatedProduct.sort_order ASC;
SELECT ProductReview.product_review_id AS "Id", ProductReview.product_id AS "ProductId", Page.title AS "ProductTitle", Product.sku AS "ProductSKU", ProductReview.rating AS "Rating", ProductReview.customer_name AS "CustomerName", ProductReview.customer_email AS "CustomerEmail", ProductReview.subject AS "Subject", ProductReview.body AS "Body", ProductReview.is_active AS "Active", UNIX_TIMESTAMP(ProductReview.modified) AS "Modified", ProductReview.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(ProductReview.created) AS "Created", ProductReview.created_by AS "CreatedBy", ProductReview.cue_source AS "CueSource", ProductReview.cue_source_id AS "CueSourceId", ProductReview.cue_ver AS "CueVersion" FROM Ecom_ProductsReviews ProductReview JOIN Web_Pages Page ON Page.page_id = ProductReview.product_id JOIN Ecom_Products Product ON Product.page_id = ProductReview.product_id WHERE ProductReview.product_id = 107 ORDER BY ProductReview.created DESC;
SELECT ProductSpecification.product_specification_id AS "Id", ProductSpecification.product_id AS "ProductId", ProductSpecification.product_attribute_id AS "ProductAttributeId", ProductSpecification.product_attribute_value_id AS "ProductAttributeValueId", ProductAttribute.label AS "Label", ProductAttributeValue.value AS "Value", ProductSpecification.sort_order AS "SortOrder", ProductAttribute.sort_order AS "AttributeSortOrder", UNIX_TIMESTAMP(ProductSpecification.modified) AS "Modified", ProductSpecification.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(ProductSpecification.created) AS "Created", ProductSpecification.created_by AS "CreatedBy", ProductSpecification.cue_source AS "CueSource", ProductSpecification.cue_source_id AS "CueSourceId", ProductSpecification.cue_ver AS "CueVersion" FROM Ecom_ProductsSpecifications ProductSpecification JOIN Ecom_ProductAttributes ProductAttribute ON ProductAttribute.product_attribute_id = ProductSpecification.product_attribute_id JOIN Ecom_ProductAttributesValues ProductAttributeValue ON ProductAttributeValue.product_attribute_value_id = ProductSpecification.product_attribute_value_id WHERE ProductSpecification.product_id = 107 ORDER BY ProductSpecification.sort_order ASC;
0.0029 (3)
SELECT SQL_CALC_FOUND_ROWS ProductVariant.product_variant_id AS "Id", ProductVariant.product_id AS "ProductId", ProductVariant.title AS "Title", ProductVariant.sku AS "SKU", ProductVariant.part_no AS "PartNo", ProductVariant.barcode AS "Barcode", ProductVariant.use_default_pricing AS "UseDefaultPricing", ProductVariant.regular_price_type AS "RegularPriceType", ProductVariant.regular_price_modifier AS "RegularPriceModifier", ProductVariant.regular_price AS "RegularPrice", Product.regular_price AS "ProductRegularPrice", ProductVariant.sale_price_type AS "SalePriceType", ProductVariant.sale_price_modifier AS "SalePriceModifier", ProductVariant.sale_price AS "SalePrice", Product.sale_price AS "ProductSalePrice", ProductVariant.msrp_type AS "MSRPType", ProductVariant.msrp_modifier AS "MSRPModifier", ProductVariant.msrp_price AS "MSRP", Product.msrp_price AS "ProductMSRP", ProductVariant.cost_type AS "CostType", ProductVariant.cost_modifier AS "CostModifier", ProductVariant.cost_price AS "Cost", (SELECT IF(quantity = 0, MAX(cost_price), SUM(cost_price * quantity) / SUM(quantity)) FROM Ecom_SuppliersProducts WHERE product_id = Product.page_id AND is_active = 1) AS "ProductCost", ProductVariant.use_default_shipping AS "UseDefaultShipping", ProductVariant.dimension_width AS "DimensionWidth", ProductVariant.dimension_width_unit AS "DimensionWidthUnit", Product.dimension_width AS "ProductDimensionWidth", Product.dimension_width_unit AS "ProductDimensionWidthUnit", ProductVariant.dimension_length AS "DimensionLength", ProductVariant.dimension_length_unit AS "DimensionLengthUnit", Product.dimension_length AS "ProductDimensionLength", Product.dimension_length_unit AS "ProductDimensionLengthUnit", ProductVariant.dimension_height AS "DimensionHeight", ProductVariant.dimension_height_unit AS "DimensionHeightUnit", Product.dimension_height AS "ProductDimensionHeight", Product.dimension_height_unit AS "ProductDimensionHeightUnit", ProductVariant.weight AS "Weight", ProductVariant.weight_unit AS "WeightUnit", Product.weight AS "ProductWeight", Product.weight_unit AS "ProductWeightUnit", ProductVariant.shipping_fee AS "ShippingFee", ProductVariant.shipping_value AS "ShippingValue", Product.shipping_fee AS "ProductShippingFee", Product.shipping_value AS "ProductShippingValue", Product.track_variant_inventory AS "ProductTrackVariantInventory", (SELECT SUM(quantity) FROM Ecom_SuppliersProducts WHERE product_variant_id = ProductVariant.product_variant_id AND is_active = 1 GROUP BY product_variant_id) AS "QuantityOnHand", (SELECT SUM(quantity) FROM Ecom_ProductsAllocations WHERE product_variant_id = ProductVariant.product_variant_id GROUP BY product_variant_id) AS "QuantityAllocated", (
SELECT SUM(SupplierProduct.quantity) - IF(Allocation.quantity IS NULL, 0, Allocation.quantity) FROM Ecom_SuppliersProducts SupplierProduct LEFT JOIN (
SELECT product_variant_id, SUM(quantity) AS quantity FROM Ecom_ProductsAllocations GROUP BY product_variant_id ) Allocation ON Allocation.product_variant_id = SupplierProduct.product_variant_id WHERE SupplierProduct.product_variant_id = ProductVariant.product_variant_id AND SupplierProduct.is_active = 1 GROUP BY SupplierProduct.product_variant_id ) AS "Quantity", ProductVariant.image_id AS "Image", ProductVariant.sort_order AS "SortOrder", ProductVariant.is_active AS "Active", ProductVariant.settings AS "Settings", UNIX_TIMESTAMP(ProductVariant.modified) AS "Modified", ProductVariant.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(ProductVariant.created) AS "Created", ProductVariant.created_by AS "CreatedBy", ProductVariant.cue_source AS "CueSource", ProductVariant.cue_source_id AS "CueSourceId", ProductVariant.cue_ver AS "CueVersion" FROM Ecom_ProductsVariants ProductVariant JOIN Ecom_Products Product ON Product.page_id = ProductVariant.product_id WHERE ProductVariant.product_id = 107 AND ProductVariant.is_active = true;
SELECT FOUND_ROWS() AS `Rows`;
0.0015 (2)
SELECT MediaFile.media_file_id AS "Id", MediaFile.media_type AS "MediaType", MediaFile.title AS "Title", MediaFile.version AS "Version", MediaFile.description AS "Description", MediaFile.filename AS "Filename", MediaFile.path AS "Path", MediaFile.target_file AS "File", MediaFile.file_bytes AS "FileBytes", CONCAT(MediaFile.path, MediaFile.target_file) AS "FileURL", MediaFile.hash AS "Hash", MediaFile.mime_type AS "MimeType", MediaFile.show_in_media AS "ShowInMedia", UNIX_TIMESTAMP(MediaFile.status_date) AS "StatusDate", MediaFile.status_id AS "Status", UNIX_TIMESTAMP(MediaFile.modified) AS "Modified", MediaFile.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(MediaFile.created) AS "Created", MediaFile.created_by AS "CreatedBy", MediaFile.cue_source AS "CueSource", MediaFile.cue_source_id AS "CueSourceId", MediaFile.cue_ver AS "CueVersion", ImageFile.alt_text AS "AltText", ImageFile.source_width AS "SourceWidth", ImageFile.source_height AS "SourceHeight", ImageFile.micro_filename AS "MicroFilename", ImageFile.micro_width AS "MicroWidth", ImageFile.micro_height AS "MicroHeight", ImageFile.micro_bytes AS "MicroBytes", CONCAT(MediaFile.path, ImageFile.micro_filename) AS "MicroURL", ImageFile.thumbnail_filename AS "ThumbnailFilename", ImageFile.thumbnail_width AS "ThumbnailWidth", ImageFile.thumbnail_height AS "ThumbnailHeight", ImageFile.thumbnail_bytes AS "ThumbnailBytes", CONCAT(MediaFile.path, ImageFile.thumbnail_filename) AS "ThumbnailURL", ImageFile.small_filename AS "SmallFilename", ImageFile.small_width AS "SmallWidth", ImageFile.small_height AS "SmallHeight", ImageFile.small_bytes AS "SmallBytes", CONCAT(MediaFile.path, ImageFile.small_filename) AS "SmallURL", ImageFile.medium_filename AS "MediumFilename", ImageFile.medium_width AS "MediumWidth", ImageFile.medium_height AS "MediumHeight", ImageFile.medium_bytes AS "MediumBytes", CONCAT(MediaFile.path, ImageFile.medium_filename) AS "MediumURL", ImageFile.large_filename AS "LargeFilename", ImageFile.large_width AS "LargeWidth", ImageFile.large_height AS "LargeHeight", ImageFile.large_bytes AS "LargeBytes", CONCAT(MediaFile.path, ImageFile.large_filename) AS "LargeURL" FROM FM_MediaFiles MediaFile LEFT JOIN FM_ImageFiles ImageFile ON ImageFile.media_file_id = MediaFile.media_file_id WHERE MediaFile.media_file_id = '0';
SELECT ProductVariantOption.product_option_id AS "Id", ProductVariantOption.product_id AS "ProductId", ProductVariantOption.product_variant_id AS "ProductVariantId", ProductVariantOption.product_option_label_id AS "ProductOptionLabelId", ProductVariantOption.product_option_value_id AS "ProductOptionValueId", ProductVariantOption.sort_order AS "SortOrder", Label.label AS "Label", Value.value AS "Value", UNIX_TIMESTAMP(ProductVariantOption.modified) AS "Modified", ProductVariantOption.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(ProductVariantOption.created) AS "Created", ProductVariantOption.created_by AS "CreatedBy", ProductVariantOption.cue_source AS "CueSource", ProductVariantOption.cue_source_id AS "CueSourceId", ProductVariantOption.cue_ver AS "CueVersion" FROM Ecom_ProductsVariantsOptions ProductVariantOption JOIN Ecom_ProductOptionLabels Label ON Label.product_option_label_id = ProductVariantOption.product_option_label_id JOIN Ecom_ProductOptionValues Value ON Value.product_option_value_id = ProductVariantOption.product_option_value_id WHERE ProductVariantOption.product_variant_id = 51 ORDER BY ProductVariantOption.sort_order ASC;
SELECT Author.admin_user_id AS "Id", Author.first_name AS "FirstName", Author.last_name AS "LastName", Author.email AS "Email", TRIM(CONCAT(Author.first_name, ' ', Author.last_name, IF(Author.suffix <> '', CONCAT(' ', Author.suffix), ''))) AS "DisplayFirstLast", TRIM(CONCAT(Author.last_name, ', ', Author.first_name, IF(Author.suffix <> '', CONCAT(' ', Author.suffix), ''))) AS "DisplayLastFirst" FROM DM_AdminUsers Author WHERE Author.admin_user_id = '0';
SELECT Author.admin_user_id AS "Id", Author.first_name AS "FirstName", Author.last_name AS "LastName", Author.email AS "Email", TRIM(CONCAT(Author.first_name, ' ', Author.last_name, IF(Author.suffix <> '', CONCAT(' ', Author.suffix), ''))) AS "DisplayFirstLast", TRIM(CONCAT(Author.last_name, ', ', Author.first_name, IF(Author.suffix <> '', CONCAT(' ', Author.suffix), ''))) AS "DisplayLastFirst" FROM DM_AdminUsers Author WHERE Author.admin_user_id = '9';
0.0014 (2)
SELECT MediaFile.media_file_id AS "Id", MediaFile.media_type AS "MediaType", MediaFile.title AS "Title", MediaFile.version AS "Version", MediaFile.description AS "Description", MediaFile.filename AS "Filename", MediaFile.path AS "Path", MediaFile.target_file AS "File", MediaFile.file_bytes AS "FileBytes", CONCAT(MediaFile.path, MediaFile.target_file) AS "FileURL", MediaFile.hash AS "Hash", MediaFile.mime_type AS "MimeType", MediaFile.show_in_media AS "ShowInMedia", UNIX_TIMESTAMP(MediaFile.status_date) AS "StatusDate", MediaFile.status_id AS "Status", UNIX_TIMESTAMP(MediaFile.modified) AS "Modified", MediaFile.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(MediaFile.created) AS "Created", MediaFile.created_by AS "CreatedBy", MediaFile.cue_source AS "CueSource", MediaFile.cue_source_id AS "CueSourceId", MediaFile.cue_ver AS "CueVersion", ImageFile.alt_text AS "AltText", ImageFile.source_width AS "SourceWidth", ImageFile.source_height AS "SourceHeight", ImageFile.micro_filename AS "MicroFilename", ImageFile.micro_width AS "MicroWidth", ImageFile.micro_height AS "MicroHeight", ImageFile.micro_bytes AS "MicroBytes", CONCAT(MediaFile.path, ImageFile.micro_filename) AS "MicroURL", ImageFile.thumbnail_filename AS "ThumbnailFilename", ImageFile.thumbnail_width AS "ThumbnailWidth", ImageFile.thumbnail_height AS "ThumbnailHeight", ImageFile.thumbnail_bytes AS "ThumbnailBytes", CONCAT(MediaFile.path, ImageFile.thumbnail_filename) AS "ThumbnailURL", ImageFile.small_filename AS "SmallFilename", ImageFile.small_width AS "SmallWidth", ImageFile.small_height AS "SmallHeight", ImageFile.small_bytes AS "SmallBytes", CONCAT(MediaFile.path, ImageFile.small_filename) AS "SmallURL", ImageFile.medium_filename AS "MediumFilename", ImageFile.medium_width AS "MediumWidth", ImageFile.medium_height AS "MediumHeight", ImageFile.medium_bytes AS "MediumBytes", CONCAT(MediaFile.path, ImageFile.medium_filename) AS "MediumURL", ImageFile.large_filename AS "LargeFilename", ImageFile.large_width AS "LargeWidth", ImageFile.large_height AS "LargeHeight", ImageFile.large_bytes AS "LargeBytes", CONCAT(MediaFile.path, ImageFile.large_filename) AS "LargeURL" FROM FM_MediaFiles MediaFile LEFT JOIN FM_ImageFiles ImageFile ON ImageFile.media_file_id = MediaFile.media_file_id WHERE MediaFile.media_file_id = '0';
SELECT ProductVariantOption.product_option_id AS "Id", ProductVariantOption.product_id AS "ProductId", ProductVariantOption.product_variant_id AS "ProductVariantId", ProductVariantOption.product_option_label_id AS "ProductOptionLabelId", ProductVariantOption.product_option_value_id AS "ProductOptionValueId", ProductVariantOption.sort_order AS "SortOrder", Label.label AS "Label", Value.value AS "Value", UNIX_TIMESTAMP(ProductVariantOption.modified) AS "Modified", ProductVariantOption.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(ProductVariantOption.created) AS "Created", ProductVariantOption.created_by AS "CreatedBy", ProductVariantOption.cue_source AS "CueSource", ProductVariantOption.cue_source_id AS "CueSourceId", ProductVariantOption.cue_ver AS "CueVersion" FROM Ecom_ProductsVariantsOptions ProductVariantOption JOIN Ecom_ProductOptionLabels Label ON Label.product_option_label_id = ProductVariantOption.product_option_label_id JOIN Ecom_ProductOptionValues Value ON Value.product_option_value_id = ProductVariantOption.product_option_value_id WHERE ProductVariantOption.product_variant_id = 52 ORDER BY ProductVariantOption.sort_order ASC;
SELECT Author.admin_user_id AS "Id", Author.first_name AS "FirstName", Author.last_name AS "LastName", Author.email AS "Email", TRIM(CONCAT(Author.first_name, ' ', Author.last_name, IF(Author.suffix <> '', CONCAT(' ', Author.suffix), ''))) AS "DisplayFirstLast", TRIM(CONCAT(Author.last_name, ', ', Author.first_name, IF(Author.suffix <> '', CONCAT(' ', Author.suffix), ''))) AS "DisplayLastFirst" FROM DM_AdminUsers Author WHERE Author.admin_user_id = '0';
SELECT Author.admin_user_id AS "Id", Author.first_name AS "FirstName", Author.last_name AS "LastName", Author.email AS "Email", TRIM(CONCAT(Author.first_name, ' ', Author.last_name, IF(Author.suffix <> '', CONCAT(' ', Author.suffix), ''))) AS "DisplayFirstLast", TRIM(CONCAT(Author.last_name, ', ', Author.first_name, IF(Author.suffix <> '', CONCAT(' ', Author.suffix), ''))) AS "DisplayLastFirst" FROM DM_AdminUsers Author WHERE Author.admin_user_id = '9';
0.0015 (2)
SELECT c.label AS "Label", d.value AS "Value", SUM(e.quantity) - IF(f.quantity IS NULL, 0, f.quantity) AS "quantity" FROM Ecom_ProductsVariantsOptions a JOIN Ecom_ProductsOptions b ON b.product_id = a.product_id AND b.product_option_label_id = a.product_option_label_id JOIN Ecom_ProductOptionLabels c ON c.product_option_label_id = a.product_option_label_id JOIN Ecom_ProductOptionValues d ON d.product_option_value_id = a.product_option_value_id JOIN Ecom_SuppliersProducts e ON e.product_variant_id = a.product_variant_id AND e.is_active = 1 left join Ecom_ProductsAllocations f ON f.product_variant_id = a.product_variant_id WHERE a.product_id = 107 GROUP BY c.label, d.value ORDER BY b.sort_order ASC;
0.0007 (0)
SELECT Promotion.promotion_id AS "Id", Promotion.promotion_type AS "PromotionType", Promotion.banner_html AS "BannerHTML", Promotion.meta AS "Meta", Promotion.maximum_uses AS "MaximumUses", Promotion.used_count AS "UsedCount" FROM Ecom_Promotions Promotion WHERE UNIX_TIMESTAMP(Promotion.effective_on) <= 1732181568 AND UNIX_TIMESTAMP(Promotion.expires_on) >= 1732181568 AND Promotion.banner_html <> '\'\'' AND Promotion.is_active = true;
0.0007 (0)
SELECT Menu.menu_id AS "Id", Menu.name AS "Name", Menu.title AS "Title", Menu.tag_id AS "TagId", Menu.tag_class AS "TagClass", Menu.icon_class AS "IconClass", Menu.is_auto_events_enabled AS "EnableAutoEvents", Menu.is_admin AS "Admin", Menu.is_visible AS "Visible", Menu.show_children AS "ShowChildren", Menu.is_active AS "Active", UNIX_TIMESTAMP(Menu.modified) AS "Modified", Menu.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(Menu.created) AS "Created", Menu.created_by AS "CreatedBy", Menu.cue_source AS "CueSource", Menu.cue_source_id AS "CueSourceId", Menu.cue_ver AS "CueVersion" FROM Menu_Menus Menu WHERE Menu.tag_id = 'mobile-menu' AND Menu.is_active = 1;
0.0007 (1)
SELECT Menu.menu_id AS "Id", Menu.name AS "Name", Menu.title AS "Title", Menu.tag_id AS "TagId", Menu.tag_class AS "TagClass", Menu.icon_class AS "IconClass", Menu.is_auto_events_enabled AS "EnableAutoEvents", Menu.is_admin AS "Admin", Menu.is_visible AS "Visible", Menu.show_children AS "ShowChildren", Menu.is_active AS "Active", UNIX_TIMESTAMP(Menu.modified) AS "Modified", Menu.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(Menu.created) AS "Created", Menu.created_by AS "CreatedBy", Menu.cue_source AS "CueSource", Menu.cue_source_id AS "CueSourceId", Menu.cue_ver AS "CueVersion" FROM Menu_Menus Menu WHERE Menu.tag_id = 'primary-menu' AND Menu.is_active = 1;
0.0007 (11)
SELECT MenuItem.menu_item_id AS "Id", MenuItem.menu_id AS "MenuId", MenuItem.name AS "Name", MenuItem.item_type AS "ItemType", MenuItem.tag_id AS "TagId", MenuItem.tag_class AS "TagClass", MenuItem.link_to AS "LinkTo", MenuItem.url_id AS "URLId", MenuItem.tag_url AS "TagURL", MenuItem.tag_title AS "TagTitle", MenuItem.tag_target_blank AS "TagTargetBlank", MenuItem.icon_class AS "IconClass", MenuItem.onclick_event AS "OnClickEvent", MenuItem.html AS "HTML", MenuItem.is_visible AS "Visible", MenuItem.show_children AS "ShowChildren", MenuItem.sort_order AS "SortOrder", MenuItem.depth AS "Depth", MenuItem.allowed_roles AS "AllowedRoles", MenuItem.is_active AS "Active", UNIX_TIMESTAMP(MenuItem.modified) AS "Modified", MenuItem.modified_by AS "ModifiedBy.Id", UNIX_TIMESTAMP(MenuItem.created) AS "Created", MenuItem.created_by AS "CreatedBy.Id", MenuItem.cue_source AS "CueSource", MenuItem.cue_source_id AS "CueSourceId", MenuItem.cue_ver AS "CueVersion", URL.path AS "ContentURL" FROM Menu_MenusItems MenuItem LEFT JOIN DM_URLs URL ON URL.url_id = MenuItem.url_id LEFT JOIN DM_AdminUsers ModifiedBy ON ModifiedBy.admin_user_id = MenuItem.modified_by LEFT JOIN DM_AdminUsers CreatedBy ON CreatedBy.admin_user_id = MenuItem.created_by WHERE MenuItem.menu_id = 2 ORDER BY MenuItem.sort_order ASC, MenuItem.sort_order;
0.0007 (1)
SELECT Menu.menu_id AS "Id", Menu.name AS "Name", Menu.title AS "Title", Menu.tag_id AS "TagId", Menu.tag_class AS "TagClass", Menu.icon_class AS "IconClass", Menu.is_auto_events_enabled AS "EnableAutoEvents", Menu.is_admin AS "Admin", Menu.is_visible AS "Visible", Menu.show_children AS "ShowChildren", Menu.is_active AS "Active", UNIX_TIMESTAMP(Menu.modified) AS "Modified", Menu.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(Menu.created) AS "Created", Menu.created_by AS "CreatedBy", Menu.cue_source AS "CueSource", Menu.cue_source_id AS "CueSourceId", Menu.cue_ver AS "CueVersion" FROM Menu_Menus Menu WHERE Menu.tag_id = 'footer-menu-1' AND Menu.is_active = 1;
0.0007 (6)
SELECT MenuItem.menu_item_id AS "Id", MenuItem.menu_id AS "MenuId", MenuItem.name AS "Name", MenuItem.item_type AS "ItemType", MenuItem.tag_id AS "TagId", MenuItem.tag_class AS "TagClass", MenuItem.link_to AS "LinkTo", MenuItem.url_id AS "URLId", MenuItem.tag_url AS "TagURL", MenuItem.tag_title AS "TagTitle", MenuItem.tag_target_blank AS "TagTargetBlank", MenuItem.icon_class AS "IconClass", MenuItem.onclick_event AS "OnClickEvent", MenuItem.html AS "HTML", MenuItem.is_visible AS "Visible", MenuItem.show_children AS "ShowChildren", MenuItem.sort_order AS "SortOrder", MenuItem.depth AS "Depth", MenuItem.allowed_roles AS "AllowedRoles", MenuItem.is_active AS "Active", UNIX_TIMESTAMP(MenuItem.modified) AS "Modified", MenuItem.modified_by AS "ModifiedBy.Id", UNIX_TIMESTAMP(MenuItem.created) AS "Created", MenuItem.created_by AS "CreatedBy.Id", MenuItem.cue_source AS "CueSource", MenuItem.cue_source_id AS "CueSourceId", MenuItem.cue_ver AS "CueVersion", URL.path AS "ContentURL" FROM Menu_MenusItems MenuItem LEFT JOIN DM_URLs URL ON URL.url_id = MenuItem.url_id LEFT JOIN DM_AdminUsers ModifiedBy ON ModifiedBy.admin_user_id = MenuItem.modified_by LEFT JOIN DM_AdminUsers CreatedBy ON CreatedBy.admin_user_id = MenuItem.created_by WHERE MenuItem.menu_id = 3 ORDER BY MenuItem.sort_order ASC, MenuItem.sort_order;
0.0007 (1)
SELECT Menu.menu_id AS "Id", Menu.name AS "Name", Menu.title AS "Title", Menu.tag_id AS "TagId", Menu.tag_class AS "TagClass", Menu.icon_class AS "IconClass", Menu.is_auto_events_enabled AS "EnableAutoEvents", Menu.is_admin AS "Admin", Menu.is_visible AS "Visible", Menu.show_children AS "ShowChildren", Menu.is_active AS "Active", UNIX_TIMESTAMP(Menu.modified) AS "Modified", Menu.modified_by AS "ModifiedBy", UNIX_TIMESTAMP(Menu.created) AS "Created", Menu.created_by AS "CreatedBy", Menu.cue_source AS "CueSource", Menu.cue_source_id AS "CueSourceId", Menu.cue_ver AS "CueVersion" FROM Menu_Menus Menu WHERE Menu.tag_id = 'footer-menu-2' AND Menu.is_active = 1;
0.0007 (4)
SELECT MenuItem.menu_item_id AS "Id", MenuItem.menu_id AS "MenuId", MenuItem.name AS "Name", MenuItem.item_type AS "ItemType", MenuItem.tag_id AS "TagId", MenuItem.tag_class AS "TagClass", MenuItem.link_to AS "LinkTo", MenuItem.url_id AS "URLId", MenuItem.tag_url AS "TagURL", MenuItem.tag_title AS "TagTitle", MenuItem.tag_target_blank AS "TagTargetBlank", MenuItem.icon_class AS "IconClass", MenuItem.onclick_event AS "OnClickEvent", MenuItem.html AS "HTML", MenuItem.is_visible AS "Visible", MenuItem.show_children AS "ShowChildren", MenuItem.sort_order AS "SortOrder", MenuItem.depth AS "Depth", MenuItem.allowed_roles AS "AllowedRoles", MenuItem.is_active AS "Active", UNIX_TIMESTAMP(MenuItem.modified) AS "Modified", MenuItem.modified_by AS "ModifiedBy.Id", UNIX_TIMESTAMP(MenuItem.created) AS "Created", MenuItem.created_by AS "CreatedBy.Id", MenuItem.cue_source AS "CueSource", MenuItem.cue_source_id AS "CueSourceId", MenuItem.cue_ver AS "CueVersion", URL.path AS "ContentURL" FROM Menu_MenusItems MenuItem LEFT JOIN DM_URLs URL ON URL.url_id = MenuItem.url_id LEFT JOIN DM_AdminUsers ModifiedBy ON ModifiedBy.admin_user_id = MenuItem.modified_by LEFT JOIN DM_AdminUsers CreatedBy ON CreatedBy.admin_user_id = MenuItem.created_by WHERE MenuItem.menu_id = 4 ORDER BY MenuItem.sort_order ASC, MenuItem.sort_order;