# [05-Oct-2023 14:09:52] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:09:55] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:09:58] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT
                    `Inv`.*,
                    `Original`.`ID` AS `OriginalID`
                FROM
                    `invoices` AS `Inv`
                    LEFT JOIN `invoices` AS `Original` ON `Inv`.`ID` = `Original`.`ParentID`
                WHERE
                    `Inv`.`Type` = 0
             ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:10:03] /finance/root/bg/ajax/invoices/form/clone/10379.html?pid=10379&_=1696504203271 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 10379
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [05-Oct-2023 14:10:09] /finance/root/bg/ajax/invoices/insert.html?_=1696504209713 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 51 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2110', `Language` = 'bg', `PostDate` = '2023-10-05 14:10:09', `LastUpdate` = '2023-10-05 14:10:09', `Type` = '1', `ParentID` = 10379, `Data` = 'X3Cy1QigkcgCIbIzMTXcDggBccExOpWlyBzL3Dj7z8xBImWy1qLK6fKzaRU6_M7MTBecPKxqaOdrsoVcp5VcLaX-UGLNsQCdzk5jxKW6vijRwuZyy7N7GVytEScMKcvlnxCNIWWc6IybK5fxeXh6B0-iLJn_zn_xGxW0Ngku3gXJd20UQSbiTIbzO7IEn_h_s08w-kzyI1vmdPPITIpcgLfq1u0330IEsR0XRDIDc3aWgI1dRfU0pSOhHx-6QcLhgZgbe8ElMrPr7JP_YRyJxj5DyUNA1fKAZ3d8EZmaHUzpVxr8QcNQUbTtEpjmyf5ZuH87QGiZW_uKK5mgGcF8AWMsML5PsYQnULVpCJq0IyOdUylXxqUmKzf123nZPUCAaP61oFYbvtkB5EuQe5sn1DweS9NImyLPjiJFtGbm-c-_ZMuEDaBy8IiVeNk2WHsTjg2yJl_6Rtee6kTlXimW2TZGQ1z746EHtFUxSmtUOvvTBT_SFAboc5IW8jlJBRUQ9rDwEA2gJZCfaeO73Jh84QzjEpj3AG8LMjqBsimMiyfLQE3CjGeo8qvc4RFVHbQ3We_VbMUX9zFflm3pDFarCuuqNYNAqjjNilFbgLZqM4WqAPbdwUbRiugQ8GHwsGu631guU8VsnEoK8h8aCDYg01dlR1p8QoEsB2bjXN97-v2DCqvGzIHuXzekXFZv0LHramt_tRcDFPgNkvx0Jej_yPQtvC8Bcoo45G0zNFsfYZd9vCKC2ZY33JNyIPcXas7yF0mgb7KTglJ5od--LObJgHScy71foFfwFL16Xvl9tDi_VSH-lJoAXfAZaa3iBXdyWdbbAea0yd3UChyoE_iSCUhWdQrWgtA3JLOTOwCvp7HSikt4zMVDZKqdka89YFtSJWljSNpy8j0AQNiEPtIkAA7cQd2XExSLginUCxK7KFHYR0OwMIpZd5eLqI9fGbHRC75mpx7vn3NIAozeSiuG39GZQfy-P_gXLUxTidgkPkIwMH2QNtLL2JLhnb1V53bg5_yo1oRXpb2BSPi6WxQmKqFO73d36KpQuK5cfkYzxyg', `SearchKey` = 'wofCscOSwrDgcOQwrPCtcKDwrHCuMKsw4zCpMKhwwofCpMOIwrDg8OgwqCocKDwqTCwrDCisOGw6fCscK0w4LDwofCscK8wrDgcOQwrPCusKDwqTCn8Krw5rCucKhwrfChMKhwqrCvcOIw5TCiMKJwp3DgMwofCpMOPwrDg8OgwqCpMKDwqTDgMKsw4zCucKhwrrChMKhwrTCvMOWw6TCiMwofCpMOiw4DCtsOgwqCwofCscOAwrDgcOQwqDrMK'
# [05-Oct-2023 14:10:09] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT
                    `Inv`.*,
                    `Original`.`ID` AS `OriginalID`
                FROM
                    `invoices` AS `Inv`
                    LEFT JOIN `invoices` AS `Original` ON `Inv`.`ID` = `Original`.`ParentID`
                WHERE
                    `Inv`.`Type` = 0
             ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:10:11] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:10:16] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT
                    `Inv`.*,
                    `Original`.`ID` AS `OriginalID`
                FROM
                    `invoices` AS `Inv`
                    LEFT JOIN `invoices` AS `Original` ON `Inv`.`ID` = `Original`.`ParentID`
                WHERE
                    `Inv`.`Type` = 0
             ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:10:29] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:10:35] /finance/root/bg/ajax/invoices/delete/2110.html?_=1696504235838 167.99.142.201

set names utf8

DELETE FROM `invoices` WHERE `ID` = '2110'
# [05-Oct-2023 14:10:35] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:10:37] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT
                    `Inv`.*,
                    `Original`.`ID` AS `OriginalID`
                FROM
                    `invoices` AS `Inv`
                    LEFT JOIN `invoices` AS `Original` ON `Inv`.`ID` = `Original`.`ParentID`
                WHERE
                    `Inv`.`Type` = 0
             ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:10:39] /finance/root/bg/ajax/invoices/form/clone/10380.html?pid=10380&_=1696504239766 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 10380
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [05-Oct-2023 14:10:44] /finance/root/bg/ajax/invoices/insert.html?_=1696504244721 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 52 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2110', `Language` = 'bg', `PostDate` = '2023-10-05 14:10:44', `LastUpdate` = '2023-10-05 14:10:44', `Type` = '1', `ParentID` = 10380, `Data` = '1rAjm8U4Czf5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FJeco4oQDS09_VdBhP0L64q49jNMlXrM6M1BlcQintJJzOiS52NEtuzF9eFyNDbIwG_ZUeFJPeLk08ahsHQqlLvAZI382PMxV7WekWP9rh1vYxTqBMSAMa1I9-N_eXwAyMno64dYCvyWueLM6zLOJHh7zAFTTqa6dx1GoDjYfIBJkzOKUqw2Si1ATy5aITGLRfrCMY2grqbIhyTp2aVnFW3l3A3RSPrVLMfX75z8Ts6B6CGyfY9DJWhMT3NPYWQr1VHygocKTRh8YqE_azHeOZz5Hpv13k6QQmFIZD3Ryn0U1ryVko2-s1zJ6KO3T0', `SearchKey` = 'wofCpMOiwrDgsK6wrPCtcKDwqTDlsKrw5rDwofCpMK0w4DCtMOgwqDq8KDwqTCn8Krw5jCucKhwrHChMKhwonCvMOUwwofCpMK8wrDgcOQwrPCtsKDwqTDhMKrw5rCpMKdwqPChMKhwoXCvcOIw5TCiMKJwp3DgMwrvDhcOGw6jCp8ODw6TDpMK1w4bCusOMw4bCwofCscK4w4DCtsOgwqCp8KDwqTDgMKrw5jCucKdw6jChMKhwpbCvMOXw5TC'
# [05-Oct-2023 14:10:44] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT
                    `Inv`.*,
                    `Original`.`ID` AS `OriginalID`
                FROM
                    `invoices` AS `Inv`
                    LEFT JOIN `invoices` AS `Original` ON `Inv`.`ID` = `Original`.`ParentID`
                WHERE
                    `Inv`.`Type` = 0
             ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:10:50] /finance/root/bg/ajax/invoices/form/clone/10379.html?pid=10379&_=1696504250551 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 10379
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [05-Oct-2023 14:10:53] /finance/root/bg/ajax/invoices/insert.html?_=1696504253361 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 51 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT MAX(`ID`) + 1 FROM `invoices` WHERE `Type` > 0 AND `ID` < 1000000000

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

INSERT INTO `invoices` SET `ID` = '2111', `Language` = 'bg', `PostDate` = '2023-10-05 14:10:53', `LastUpdate` = '2023-10-05 14:10:53', `Type` = '1', `ParentID` = 10379, `Data` = '9X-tpRDVHgBPaBAdyEFL2dBLqez2AlUdQC472MEtoGumCqSp-HlIFcONBg6GQsVm2B75UQVhPJ9Zs9nkfP32ejZelosRL2PNdIjUbDSZRntjqj2eky0oiAiY1D9V76_VYz6ZUioptZNWSe6cT3W_LvR3Azjx_6rfVIceyrt5ml2QujrPHH2pvuCs6z-5jFzOie8KLggvCi-3u-YT1sU1iBEiizxlk1dEqJ3QAqCDlShAKG1vgkvVjLg_rYZuaWOyTQDDwmSw40efKJnYNo1x8TlCe1Itg-AC7brbOKehzu0rQqwEJxe5IA-fn2khwqjYEO-tJ5Zgk-3II2RPAhCJnTNxovJ5cHtjXOAnwyhQoPiL3RP-CME18deNZ4YzouDrs7IkQrQUBxm33aEifsaJYtQtRF_14xQJcJ4IyOag-5LCPW2FeQ5Arge7Q1BlhGsn__Slo6dAqQ69uRMoIYf2oJZdqSZPg-UAlzPpY1HF26Q4tSYqox_W76V7Py5S1NrWN8AGgUWENdtSGf7fHvL7y5ElsDa1V2nmCo-bq4VKYSf5p-XseIeMHYd8Eh2SqzPZlHBPMbLzI6SIYUairuh2xg75JVl2b-0hKi8xegZWkjtVBI2MNiCa0PgEctN5Kek2sUk1jrouVDM8EpAwBa3AtfFCW1dlhAt8sBPjg6cKiaYe_75eXQN5fYrkZVvP2BY8OezGkW07fLoVvnWAmn_ZZ5JniVfnJCO2OysmwbMTl6T67VM6Msn3Sk8zmMXED1cnPs2OeKQ0ux8TfgLLe68teODjWKPokyU3Urc-AXHog3pKQzOk6eWIp957mFV33lp6xbxKedXL91gaaOLPTH0FsF-ICRpb0rgpmiJocTx2ho68cpug-iK3xAunNOVv-VcHynlAonVkPY9tYuwS7BroDecQNsTAYVgEfVWOT-FuVzrUJjXYsR7vN5bKnd_b1dKW3jdqk8wSJ70XAPaVoV2cGbPzaw7kcP_KlPomEGEsyKyxp5DYMqVYDUwSQJV_b2ZX7zy4t0k19YLGu2VtYWSKlyO9rAv3i_ZAOvvNfifhyYA', `SearchKey` = 'wofCscOSwrDgcOQwrPCtcKDwrHCuMKsw4zCpMKhwwofCpMOIwrDg8OgwqCocKDwqTCwrDCisOGw6fCscK0w4LDwofCscK8wrDgcOQwrPCusKDwqTCn8Krw5rCucKhwrfChMKhwqrCvcOIw5TCiMKJwp3DgMwofCpMOPwrDg8OgwqCpMKDwqTDgMKsw4zCucKhwrrChMKhwrTCvMOWw6TCiMwofCpMOiw4DCtsOgwqCwofCscOAwrDgcOQwqDrMK'
# [05-Oct-2023 14:10:53] /finance/root/bg/proforma.html 167.99.142.201

set names utf8

SELECT
                    `Inv`.*,
                    `Original`.`ID` AS `OriginalID`
                FROM
                    `invoices` AS `Inv`
                    LEFT JOIN `invoices` AS `Original` ON `Inv`.`ID` = `Original`.`ParentID`
                WHERE
                    `Inv`.`Type` = 0
             ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:10:55] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:11:02] /finance/root/bg/invoices/2110.html 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2110
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Oct') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [05-Oct-2023 14:11:47] /finance/root/bg/ajax/invoices/form/2110.html?_=1696504307039 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2110
            LIMIT 1

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 0 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20

SELECT
                `ID`,
                `Data`
            FROM
                `clients`
            WHERE
         `Type` = 1 AND 
                    `Top` = 1
                ORDER BY
                    `PostDate`
                LIMIT 20
# [05-Oct-2023 14:11:50] /finance/root/bg/ajax/invoices/update/2110.html?_=1696504310873 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 52 AND
                `Visible` = 1
            LIMIT 1

SELECT
                *
            FROM
                `clients`
            WHERE
                `ID` = 1 AND
                `Visible` = 1
            LIMIT 1

SELECT * FROM `invoices` WHERE 1  AND ID = '2110' AND Language = 'bg' LIMIT 1

INSERT INTO `history`
                (`ID`, `PostDate`, `TableName`, `PrimaryKey`, `Data`) VALUES
                (NULL, NOW(), 'invoices', '2110bg', '-YSzCae4naL8EHrM61M0pCx4QkI07uM2RiBuLiD-aGCL4inzGwJ_Znv2BhSceJWO7UK0_iEtJS0FLjCNOd3nPltSeSK8-gNolb7hbrfgbM0ggxxjxyNAR-aLx3-zqYH_T4sM-KnIQZ0roJpezI3T9Q1pz0XRtPxhMxz232DIIaY3xF4kiWN4PVoWtVpaJXWPHKIFqJPSrMOxt_uIvoYEQ7yd66F185DUNOjKyo0_nu8HAp_Dmg4UFM1b1u09GtjrSGS4QuamqHRadO_OxsKh0HPiNptTIzp9b7svtwhnAXAyxmc5AcZ19eL8D4HvVmB_JwwxLfsyEROFtvhn0q0VaIXpXYpYrqfYQREbt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

SELECT * FROM `invoices` LIMIT 1

SHOW COLUMNS FROM `invoices`

UPDATE `invoices` SET `ID` = '2110', `Language` = 'bg', `PostDate` = '2023-10-03 14:11:50', `LastUpdate` = '2023-10-05 14:11:50', `Type` = '1', `ParentID` = 10380, `Data` = '7J116Pz9vZ3K4psxSaR76FgeolvlOwukFW85_prAfqZ5cg3f3-ePfU7R9wQ5-pjkJ17EErjWBM_rLE2dKpIXFiaoN8f9IfpTsGJ8WwvauE-PyxnqBd1aOGwKwT_rILvW5q1tALC42t6WJnw8W_Yi18J4a15h629hsXZMfd5NDBl1QlnFzrfcDCosCxC10qN4rvzxLXxZC2gAnM1AdG9KnVCnF4kOjWvHHTS6ABNeazsM65QNb20BfqzssPNETgfjbwhOIKX98BS3unwT6eIN0HB2jlz-JKnJySmEUaw8wdEPYz8pQ52H-eeBxuP0-ubZIZzCTE3G6EwG_3puiVzYOQpFmxT6chEXTukmDpdNtxXYrUWohJN6QM1FzSmMPdp2glwSoHiBrRXD6yZj6mdFFhNPGvHNu6rlRvk5w41-EH71oxkmEbDLhzZVL-V8Nqi03JfmfKQy8qBYoEv6fnVxSnotiyWaE8ZAyxGjlHtFiM5XmSt28Ov4UxO9JoaeuexSJ2bZE199u5vxJ7PqHFEyyJcoAuim1_l5DW8xLT7OvrvlR_FJiCCJdLsX0ZHRqVwp8xi5UgTkpyW5nZ24UTInFPZsEfUnCsk5yX35W82-0OFvrgKpQJFqecuyUhuwdBDz_icU5XmDmA2Lja877XXH_irymXuQV0C66GvCAuIzEapxGao5J_GbNorlDmp7b7ucrvIE5xab_lnC_rcHHKEiRXiM66hrzfOdHpBoIE-aMLOSzM-we7fNnYl0zXJS4MQtusgRrGUd_XiOvy8Bq_avTlBcUtf75QKVJodPTdj_kUVh3I0Ca4oCB_bvZTJN9RNvr0BnswOEvI3dobjNlfoJ0rrVEBcoTTyNiBBmTLzC4W4am09lE7P6pQ-nRq9nctNHKsSi1i8WNIovawc-2apiFaAeRk1md5Ccy1hpUUuttReeL14vOFo9nem9QYu3zzH-UKmcMTf1HnZ5HR-L_BhbcgD_CbGDKfgKfraM0k7U3tIL7GmhlyVh8PD0CNZaeKUphEIEsrDsYRqpuSDj1-FiQBxENWcko4nWbc5-xURMIz7c570TPcjQPdjILzXyl7NN0vJZ7RzgvXgNyzYbx6PWnTgGp9q0X93mJV4VUkqVgQraIG61fiwDM40SU_ojIZQPTnD1dmCYMlzaW9QiLjAkPqsIYOfJEnuehtmEgy7jfoJEvnoC94tNNGO-YnedsvYBIPqyMe6_f7WJMz7w5Ou-QumQCtN-UiYhwbqSwHTeFHDmawDGtCv-1MJhlqYyj5i4H1mGYaw38bhGq13XCuQvF7bbXpFmWPmxuTEBK27m5ZuijP-6Kmp-Ktv8LgciTHC-JYWP3IzvCv7xHX2v-6qcYk4ev5iOLPK11E2O1YD8bI5f5fHCcYEL1ODkGTy13g6s', `SearchKey` = 'wofCpMOiwrDgsK6wrPCtcKDwqTDlsKrw5rDwofCpMK0w4DCtMOgwqDq8KDwqTCn8Krw5jCucKhwrHChMKhwonCvMOUwwofCpMK8wrDgcOQwrPCtsKDwqTDhMKrw5rCpMKdwqPChMKhwoXCvcOIw5TCiMKJwp3DgMwrvDhcOGw6jCp8ODw6TDpMK1w4bCusOMw4bCwofCscK4w4DCtsOgwqCp8KDwqTDgMKrw5jCucKdw6jChMKhwpbCvMOXw5TC' WHERE `ID` = '2110'
# [05-Oct-2023 14:11:50] /finance/root/bg/invoices.html 167.99.142.201

set names utf8

SELECT * FROM `invoices` AS `Inv` WHERE `Inv`.`Type` > 0 ORDER BY `Inv`.`PostDate` DESC, `Inv`.`ID` DESC
# [05-Oct-2023 14:14:14] /finance/root/bg/invoices/2110.html 167.99.142.201

set names utf8

SELECT
                *
            FROM
                `invoices`
            WHERE
                `ID` = 2110
            LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Oct') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
