sql-optimized - Related information

  • Can the SQL be optimized without changing the table structure (too inefficient)

    SELECT DISTINCT GROUP_CONCAT( DISTINCT pch.erpContractNumber ) AS fbk22, poh.*, IFNULL(eei.shortName, eei.fullName) AS companyShortName, GROUP_CONCAT(DISTINCT poi.fbk7) AS materialNumber FROM purchase_order_header poh LEFT JOIN...

    Mar.28,2021
  • Sql optimization: add judgment when querying

    1. Structure of the data table: order ID:orderid, user ID:memberid, date of order issued: order_date 2. Demand: need to query the record of orders issued from 2017 to April (orderid,memberid). If the user of the current record has placed an order b...

    Mar.20,2021
  • MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
    MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3adc2-407d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
    MySQL Errno : 1021
    Message : Disk full (/tmp/#sql-temptable-64f5-1b3adc2-407d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
    Need Help?