skip to Main Content

Count GROUP_CONCAT column to check for duplicates – Mysql

I have the following query: SELECT cpe.entity_id AS configurable_product_id, cpe.sku AS configurable_product_sku, GROUP_CONCAT(DISTINCT cpsa.attribute_id ORDER BY cpsa.attribute_id SEPARATOR ',') AS configurable_super_attribute_ids, cp.entity_id AS simple_product_id, cp.sku AS simple_product_sku, GROUP_CONCAT(cpei.attribute_id, '_', cpei.value ORDER BY cpei.attribute_id SEPARATOR ',') AS simple_product_super_attribute_values FROM catalog_product_entity AS…

VIEW QUESTION

How add 1billion rows – Mysql

I have a table users (username, email, validts, confirmed. I want add 1 billion unique rows I tried to do this but it only adds 16 unique values INSERT INTO users (username, email, validts, confirmed) SELECT CONCAT('user', n) AS username,…

VIEW QUESTION

MySQL 64kb size limit for MyISAM table-based metadata storage unclear – differences between MySQL and MariaDB

The information found in the official MySQL documentation at https://dev.mysql.com/doc/refman/8.0/en/data-dictionary-file-removal.html does not match the information shown in the manual at https://dev.mysql.com/doc/refman/8.0/en/column-count-limit.html for version 8. First link says that the 64kb limit was dropped, the 2nd link says it exists. It…

VIEW QUESTION
Back To Top
Search