此查询有错误,我不知道如何解决

时间:2019-12-02 11:25:37

标签: mysql

SELECT
  LEFT (DATE_GHARARDAD_LABEL, 4) AS `date`,
  CONCAT(`pmt_sabt_gharardad`.`DROP_VAZEYAT_LABEL`,
    LEFT (DATE_GHARARDAD_LABEL, 4)) AS `gharardad `,
    (SELECT
      CONCAT(
        `pmt_sabt_gharardad`.`DROP_VAZEYAT_LABEL`,
        LEFT (DATE_GHARARDAD_LABEL, 4)) AS `factor `
    FROM
      `pmt_sabt_gharardad`
    WHERE
      DROP_VAZEYAT_LABEL = 'factor')AS `factor`
FROM
  `pmt_sabt_gharardad`
WHERE
  DROP_VAZEYAT_LABEL = 'gharardad'

0 个答案:

没有答案