
-- Arti Atolye ERP - Stone Core v1
-- Safe migration + initial seed data. Does not drop existing tables.
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 1;

CREATE TABLE IF NOT EXISTS stone_species (
    id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    species_code VARCHAR(20) NOT NULL UNIQUE,
    species_name VARCHAR(100) NOT NULL,
    species_group VARCHAR(40) NULL,
    is_active TINYINT(1) NOT NULL DEFAULT 1,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS stone_cuts (
    id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    cut_code VARCHAR(20) NOT NULL UNIQUE,
    cut_name VARCHAR(100) NOT NULL,
    is_active TINYINT(1) NOT NULL DEFAULT 1,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS stone_colors (
    id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    color_code VARCHAR(20) NOT NULL UNIQUE,
    color_name VARCHAR(100) NOT NULL,
    is_active TINYINT(1) NOT NULL DEFAULT 1,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS stone_sizes (
    id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    cut_id INT UNSIGNED NOT NULL,
    size_code VARCHAR(30) NOT NULL,
    size_label VARCHAR(100) NOT NULL,
    diameter_mm DECIMAL(8,2) NULL,
    length_mm DECIMAL(8,2) NULL,
    width_mm DECIMAL(8,2) NULL,
    is_active TINYINT(1) NOT NULL DEFAULT 1,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    CONSTRAINT fk_stone_sizes_cut FOREIGN KEY (cut_id) REFERENCES stone_cuts(id) ON DELETE CASCADE ON UPDATE CASCADE,
    UNIQUE KEY uq_stone_sizes_cut_code (cut_id, size_code),
    INDEX idx_stone_sizes_cut (cut_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS stone_carat_references (
    id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    cut_id INT UNSIGNED NOT NULL,
    size_id INT UNSIGNED NOT NULL,
    carat_each DECIMAL(12,5) NOT NULL,
    source_note VARCHAR(255) NULL,
    is_active TINYINT(1) NOT NULL DEFAULT 1,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    CONSTRAINT fk_stone_carat_ref_cut FOREIGN KEY (cut_id) REFERENCES stone_cuts(id) ON DELETE CASCADE ON UPDATE CASCADE,
    CONSTRAINT fk_stone_carat_ref_size FOREIGN KEY (size_id) REFERENCES stone_sizes(id) ON DELETE CASCADE ON UPDATE CASCADE,
    UNIQUE KEY uq_stone_carat_ref (cut_id, size_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS stones (
    id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    stone_sku VARCHAR(80) NOT NULL UNIQUE,
    species_id INT UNSIGNED NOT NULL,
    cut_id INT UNSIGNED NOT NULL,
    size_id INT UNSIGNED NOT NULL,
    color_id INT UNSIGNED NOT NULL,
    carat_each DECIMAL(12,5) NOT NULL,
    critical_stock_qty INT UNSIGNED NOT NULL DEFAULT 0,
    is_active TINYINT(1) NOT NULL DEFAULT 1,
    created_by INT UNSIGNED NULL,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
    CONSTRAINT fk_stones_species FOREIGN KEY (species_id) REFERENCES stone_species(id) ON DELETE RESTRICT ON UPDATE CASCADE,
    CONSTRAINT fk_stones_cut FOREIGN KEY (cut_id) REFERENCES stone_cuts(id) ON DELETE RESTRICT ON UPDATE CASCADE,
    CONSTRAINT fk_stones_size FOREIGN KEY (size_id) REFERENCES stone_sizes(id) ON DELETE RESTRICT ON UPDATE CASCADE,
    CONSTRAINT fk_stones_color FOREIGN KEY (color_id) REFERENCES stone_colors(id) ON DELETE RESTRICT ON UPDATE CASCADE,
    CONSTRAINT fk_stones_created_by FOREIGN KEY (created_by) REFERENCES users(id) ON DELETE SET NULL ON UPDATE CASCADE,
    UNIQUE KEY uq_stones_combo (species_id, cut_id, size_id, color_id),
    INDEX idx_stones_species (species_id),
    INDEX idx_stones_cut (cut_id),
    INDEX idx_stones_color (color_id),
    INDEX idx_stones_active (is_active)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS suppliers (
    id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    supplier_name VARCHAR(190) NOT NULL UNIQUE,
    contact_name VARCHAR(190) NULL,
    phone VARCHAR(80) NULL,
    email VARCHAR(190) NULL,
    default_currency VARCHAR(10) NOT NULL DEFAULT 'USD',
    notes TEXT NULL,
    is_active TINYINT(1) NOT NULL DEFAULT 1,
    created_by INT UNSIGNED NULL,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
    CONSTRAINT fk_suppliers_created_by FOREIGN KEY (created_by) REFERENCES users(id) ON DELETE SET NULL ON UPDATE CASCADE,
    INDEX idx_suppliers_active (is_active)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS stone_purchase_lots (
    id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    stone_id INT UNSIGNED NOT NULL,
    supplier_id INT UNSIGNED NOT NULL,
    purchase_date DATE NOT NULL,
    total_carat DECIMAL(12,4) NOT NULL,
    price_per_carat DECIMAL(12,4) NOT NULL,
    total_cost DECIMAL(14,2) NOT NULL,
    calculated_qty INT UNSIGNED NOT NULL,
    currency VARCHAR(10) NOT NULL DEFAULT 'USD',
    invoice_no VARCHAR(100) NULL,
    note TEXT NULL,
    created_by INT UNSIGNED NULL,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    CONSTRAINT fk_lots_stone FOREIGN KEY (stone_id) REFERENCES stones(id) ON DELETE RESTRICT ON UPDATE CASCADE,
    CONSTRAINT fk_lots_supplier FOREIGN KEY (supplier_id) REFERENCES suppliers(id) ON DELETE RESTRICT ON UPDATE CASCADE,
    CONSTRAINT fk_lots_user FOREIGN KEY (created_by) REFERENCES users(id) ON DELETE SET NULL ON UPDATE CASCADE,
    INDEX idx_lots_stone (stone_id),
    INDEX idx_lots_supplier (supplier_id),
    INDEX idx_lots_date (purchase_date)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS stone_stock_movements (
    id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    stone_id INT UNSIGNED NOT NULL,
    purchase_lot_id BIGINT UNSIGNED NULL,
    movement_type VARCHAR(40) NOT NULL,
    movement_date DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
    qty_change INT NOT NULL,
    carat_change DECIMAL(12,4) NOT NULL,
    unit_cost_per_carat DECIMAL(12,4) NULL,
    reference_type VARCHAR(60) NULL,
    reference_id BIGINT UNSIGNED NULL,
    note TEXT NULL,
    created_by INT UNSIGNED NULL,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    CONSTRAINT fk_movements_stone FOREIGN KEY (stone_id) REFERENCES stones(id) ON DELETE RESTRICT ON UPDATE CASCADE,
    CONSTRAINT fk_movements_lot FOREIGN KEY (purchase_lot_id) REFERENCES stone_purchase_lots(id) ON DELETE SET NULL ON UPDATE CASCADE,
    CONSTRAINT fk_movements_user FOREIGN KEY (created_by) REFERENCES users(id) ON DELETE SET NULL ON UPDATE CASCADE,
    INDEX idx_movements_stone (stone_id),
    INDEX idx_movements_type (movement_type),
    INDEX idx_movements_date (movement_date)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS supplier_transactions (
    id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    supplier_id INT UNSIGNED NOT NULL,
    transaction_date DATE NOT NULL,
    transaction_type VARCHAR(40) NOT NULL,
    debit_amount DECIMAL(14,2) NOT NULL DEFAULT 0,
    credit_amount DECIMAL(14,2) NOT NULL DEFAULT 0,
    currency VARCHAR(10) NOT NULL DEFAULT 'USD',
    reference_type VARCHAR(60) NULL,
    reference_id BIGINT UNSIGNED NULL,
    note TEXT NULL,
    created_by INT UNSIGNED NULL,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    CONSTRAINT fk_supplier_tx_supplier FOREIGN KEY (supplier_id) REFERENCES suppliers(id) ON DELETE CASCADE ON UPDATE CASCADE,
    CONSTRAINT fk_supplier_tx_user FOREIGN KEY (created_by) REFERENCES users(id) ON DELETE SET NULL ON UPDATE CASCADE,
    INDEX idx_supplier_tx_supplier (supplier_id),
    INDEX idx_supplier_tx_date (transaction_date),
    INDEX idx_supplier_tx_type (transaction_type)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS stone_open_requests (
    id BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    requested_by INT UNSIGNED NULL,
    species_text VARCHAR(100) NULL,
    cut_text VARCHAR(100) NULL,
    size_text VARCHAR(100) NULL,
    color_text VARCHAR(100) NULL,
    note TEXT NULL,
    status VARCHAR(40) NOT NULL DEFAULT 'pending',
    resolved_stone_id INT UNSIGNED NULL,
    admin_note TEXT NULL,
    created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    resolved_at DATETIME NULL,
    CONSTRAINT fk_stone_req_user FOREIGN KEY (requested_by) REFERENCES users(id) ON DELETE SET NULL ON UPDATE CASCADE,
    CONSTRAINT fk_stone_req_stone FOREIGN KEY (resolved_stone_id) REFERENCES stones(id) ON DELETE SET NULL ON UPDATE CASCADE,
    INDEX idx_stone_req_status (status),
    INDEX idx_stone_req_created (created_at)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

CREATE OR REPLACE VIEW v_stone_stock_summary AS
SELECT
    st.id AS stone_id,
    st.stone_sku,
    sp.species_name,
    sc.cut_name,
    ss.size_label,
    co.color_name,
    st.carat_each,
    COALESCE(SUM(m.qty_change), 0) AS on_hand_qty,
    COALESCE(SUM(m.carat_change), 0) AS on_hand_carat,
    st.critical_stock_qty,
    CASE
        WHEN COALESCE(SUM(m.qty_change), 0) <= st.critical_stock_qty THEN 1
        ELSE 0
    END AS is_below_critical
FROM stones st
JOIN stone_species sp ON sp.id = st.species_id
JOIN stone_cuts sc ON sc.id = st.cut_id
JOIN stone_sizes ss ON ss.id = st.size_id
JOIN stone_colors co ON co.id = st.color_id
LEFT JOIN stone_stock_movements m ON m.stone_id = st.id
GROUP BY st.id, st.stone_sku, sp.species_name, sc.cut_name, ss.size_label, co.color_name, st.carat_each, st.critical_stock_qty;

-- Seed species
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('DIA', 'Diamond', 'natural');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('LD', 'Lab Diamond', 'lab');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('MO', 'Moissanite', 'synthetic');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('ZR', 'Zirconia', 'synthetic');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('GAR', 'Garnet', 'natural');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('AME', 'Amethyst', 'natural');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('AQU', 'Aquamarine', 'natural');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('EME', 'Emerald', 'natural');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('ALX', 'Alexandrite', 'natural');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('RUB', 'Ruby', 'natural');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('PER', 'Peridot', 'natural');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('SAP', 'Sapphire', 'natural');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('PTO', 'Pink Tourmaline', 'natural');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('TOP', 'Topaz', 'natural');
INSERT IGNORE INTO stone_species (species_code, species_name, species_group) VALUES ('BZR', 'Blue Zircon', 'natural');

-- Seed cuts
INSERT IGNORE INTO stone_cuts (cut_code, cut_name) VALUES ('RND', 'Round');
INSERT IGNORE INTO stone_cuts (cut_code, cut_name) VALUES ('MRQ', 'Marquise');
INSERT IGNORE INTO stone_cuts (cut_code, cut_name) VALUES ('OVL', 'Oval');
INSERT IGNORE INTO stone_cuts (cut_code, cut_name) VALUES ('EMD', 'Emerald Cut');
INSERT IGNORE INTO stone_cuts (cut_code, cut_name) VALUES ('PRN', 'Princess');
INSERT IGNORE INTO stone_cuts (cut_code, cut_name) VALUES ('HRT', 'Heart');
INSERT IGNORE INTO stone_cuts (cut_code, cut_name) VALUES ('PEAR', 'Pear');
INSERT IGNORE INTO stone_cuts (cut_code, cut_name) VALUES ('BAG', 'Baguette');

-- Seed colors
INSERT IGNORE INTO stone_colors (color_code, color_name) VALUES ('CLR', 'Colorless');
INSERT IGNORE INTO stone_colors (color_code, color_name) VALUES ('GAR', 'Garnet');
INSERT IGNORE INTO stone_colors (color_code, color_name) VALUES ('AME', 'Amethyst');
INSERT IGNORE INTO stone_colors (color_code, color_name) VALUES ('AQU', 'Aquamarine');
INSERT IGNORE INTO stone_colors (color_code, color_name) VALUES ('EME', 'Emerald');
INSERT IGNORE INTO stone_colors (color_code, color_name) VALUES ('ALX', 'Alexandrite');
INSERT IGNORE INTO stone_colors (color_code, color_name) VALUES ('RUB', 'Ruby');
INSERT IGNORE INTO stone_colors (color_code, color_name) VALUES ('PER', 'Peridot');
INSERT IGNORE INTO stone_colors (color_code, color_name) VALUES ('SAP', 'Sapphire');
INSERT IGNORE INTO stone_colors (color_code, color_name) VALUES ('PTO', 'Pink Tourmaline');
INSERT IGNORE INTO stone_colors (color_code, color_name) VALUES ('TOP', 'Topaz');
INSERT IGNORE INTO stone_colors (color_code, color_name) VALUES ('BZR', 'Blue Zircon');

-- Seed sizes and carat references
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0080', '0.80 mm', 0.8, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.00300, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0080' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0090', '0.90 mm', 0.9, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.00400, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0090' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0100', '1.00 mm', 1.0, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.00500, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0100' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0110', '1.10 mm', 1.1, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.00600, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0110' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0115', '1.15 mm', 1.15, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.00700, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0115' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0120', '1.20 mm', 1.2, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.00800, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0120' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0125', '1.25 mm', 1.25, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.00900, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0125' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0130', '1.30 mm', 1.3, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.01000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0130' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0135', '1.35 mm', 1.35, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.01100, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0135' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0140', '1.40 mm', 1.4, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.01200, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0140' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0145', '1.45 mm', 1.45, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.01300, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0145' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0150', '1.50 mm', 1.5, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.01400, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0150' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0155', '1.55 mm', 1.55, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.01500, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0155' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0160', '1.60 mm', 1.6, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.01800, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0160' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0170', '1.70 mm', 1.7, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.02200, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0170' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0180', '1.80 mm', 1.8, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.02500, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0180' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0190', '1.90 mm', 1.9, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.02900, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0190' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0200', '2.00 mm', 2.0, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.03600, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0200' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0210', '2.10 mm', 2.1, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.04000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0210' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0220', '2.20 mm', 2.2, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.04500, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0220' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0230', '2.30 mm', 2.3, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.05000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0230' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0240', '2.40 mm', 2.4, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.05800, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0240' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0250', '2.50 mm', 2.5, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.06600, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0250' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0260', '2.60 mm', 2.6, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.07400, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0260' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0270', '2.70 mm', 2.7, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.07700, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0270' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0280', '2.80 mm', 2.8, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.08600, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0280' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0290', '2.90 mm', 2.9, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.09400, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0290' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0300', '3.00 mm', 3.0, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.10300, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0300' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0310', '3.10 mm', 3.1, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.11900, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0310' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0320', '3.20 mm', 3.2, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.13100, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0320' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0330', '3.30 mm', 3.3, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.14400, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0330' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0340', '3.40 mm', 3.4, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.15800, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0340' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0350', '3.50 mm', 3.5, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.17500, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0350' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0360', '3.60 mm', 3.6, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.20000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0360' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0370', '3.70 mm', 3.7, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.21000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0370' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0380', '3.80 mm', 3.8, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.22000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0380' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0390', '3.90 mm', 3.9, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.23000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0390' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0400', '4.00 mm', 4.0, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.25000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0400' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0410', '4.10 mm', 4.1, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.26000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0410' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0420', '4.20 mm', 4.2, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.27000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0420' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0430', '4.30 mm', 4.3, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.30000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0430' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0440', '4.40 mm', 4.4, NULL, NULL FROM stone_cuts WHERE cut_code='RND';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.33000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0440' WHERE c.cut_code='RND';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0400X0200', '4.00 x 2.00 mm', NULL, 4.0, 2.0 FROM stone_cuts WHERE cut_code='MRQ';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.10000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0400X0200' WHERE c.cut_code='MRQ';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0500X0250', '5.00 x 2.50 mm', NULL, 5.0, 2.5 FROM stone_cuts WHERE cut_code='MRQ';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.15000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0500X0250' WHERE c.cut_code='MRQ';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0600X0300', '6.00 x 3.00 mm', NULL, 6.0, 3.0 FROM stone_cuts WHERE cut_code='MRQ';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.25000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0600X0300' WHERE c.cut_code='MRQ';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0700X0350', '7.00 x 3.50 mm', NULL, 7.0, 3.5 FROM stone_cuts WHERE cut_code='MRQ';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.35000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0700X0350' WHERE c.cut_code='MRQ';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0800X0400', '8.00 x 4.00 mm', NULL, 8.0, 4.0 FROM stone_cuts WHERE cut_code='MRQ';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.50000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0800X0400' WHERE c.cut_code='MRQ';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '1000X0500', '10.00 x 5.00 mm', NULL, 10.0, 5.0 FROM stone_cuts WHERE cut_code='MRQ';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.95000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='1000X0500' WHERE c.cut_code='MRQ';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0400X0300', '4.00 x 3.00 mm', NULL, 4.0, 3.0 FROM stone_cuts WHERE cut_code='OVL';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.15000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0400X0300' WHERE c.cut_code='OVL';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0500X0300', '5.00 x 3.00 mm', NULL, 5.0, 3.0 FROM stone_cuts WHERE cut_code='OVL';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.20000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0500X0300' WHERE c.cut_code='OVL';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0600X0400', '6.00 x 4.00 mm', NULL, 6.0, 4.0 FROM stone_cuts WHERE cut_code='OVL';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.50000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0600X0400' WHERE c.cut_code='OVL';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0700X0500', '7.00 x 5.00 mm', NULL, 7.0, 5.0 FROM stone_cuts WHERE cut_code='OVL';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.75000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0700X0500' WHERE c.cut_code='OVL';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0800X0600', '8.00 x 6.00 mm', NULL, 8.0, 6.0 FROM stone_cuts WHERE cut_code='OVL';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 1.00000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0800X0600' WHERE c.cut_code='OVL';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0900X0700', '9.00 x 7.00 mm', NULL, 9.0, 7.0 FROM stone_cuts WHERE cut_code='OVL';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 1.50000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0900X0700' WHERE c.cut_code='OVL';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '1000X0800', '10.00 x 8.00 mm', NULL, 10.0, 8.0 FROM stone_cuts WHERE cut_code='OVL';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 2.00000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='1000X0800' WHERE c.cut_code='OVL';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0400X0300', '4.00 x 3.00 mm', NULL, 4.0, 3.0 FROM stone_cuts WHERE cut_code='PEAR';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.15000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0400X0300' WHERE c.cut_code='PEAR';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0500X0300', '5.00 x 3.00 mm', NULL, 5.0, 3.0 FROM stone_cuts WHERE cut_code='PEAR';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.20000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0500X0300' WHERE c.cut_code='PEAR';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0600X0400', '6.00 x 4.00 mm', NULL, 6.0, 4.0 FROM stone_cuts WHERE cut_code='PEAR';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.40000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0600X0400' WHERE c.cut_code='PEAR';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0700X0500', '7.00 x 5.00 mm', NULL, 7.0, 5.0 FROM stone_cuts WHERE cut_code='PEAR';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.75000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0700X0500' WHERE c.cut_code='PEAR';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0800X0500', '8.00 x 5.00 mm', NULL, 8.0, 5.0 FROM stone_cuts WHERE cut_code='PEAR';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 1.00000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0800X0500' WHERE c.cut_code='PEAR';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0900X0600', '9.00 x 6.00 mm', NULL, 9.0, 6.0 FROM stone_cuts WHERE cut_code='PEAR';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 1.50000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0900X0600' WHERE c.cut_code='PEAR';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '1000X0700', '10.00 x 7.00 mm', NULL, 10.0, 7.0 FROM stone_cuts WHERE cut_code='PEAR';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 2.00000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='1000X0700' WHERE c.cut_code='PEAR';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0150X0150', '1.50 mm', NULL, 1.5, 1.5 FROM stone_cuts WHERE cut_code='PRN';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.01500, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0150X0150' WHERE c.cut_code='PRN';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0200X0200', '2.00 mm', NULL, 2.0, 2.0 FROM stone_cuts WHERE cut_code='PRN';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.06000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0200X0200' WHERE c.cut_code='PRN';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0250X0250', '2.50 mm', NULL, 2.5, 2.5 FROM stone_cuts WHERE cut_code='PRN';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.10000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0250X0250' WHERE c.cut_code='PRN';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0300X0300', '3.00 mm', NULL, 3.0, 3.0 FROM stone_cuts WHERE cut_code='PRN';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.18000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0300X0300' WHERE c.cut_code='PRN';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0350X0350', '3.50 mm', NULL, 3.5, 3.5 FROM stone_cuts WHERE cut_code='PRN';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.25000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0350X0350' WHERE c.cut_code='PRN';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0400X0400', '4.00 mm', NULL, 4.0, 4.0 FROM stone_cuts WHERE cut_code='PRN';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.35000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0400X0400' WHERE c.cut_code='PRN';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0500X0500', '5.00 mm', NULL, 5.0, 5.0 FROM stone_cuts WHERE cut_code='PRN';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.70000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0500X0500' WHERE c.cut_code='PRN';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0400X0200', '4.00 x 2.00 mm', NULL, 4.0, 2.0 FROM stone_cuts WHERE cut_code='EMD';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.14000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0400X0200' WHERE c.cut_code='EMD';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0500X0300', '5.00 x 3.00 mm', NULL, 5.0, 3.0 FROM stone_cuts WHERE cut_code='EMD';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.30000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0500X0300' WHERE c.cut_code='EMD';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0600X0400', '6.00 x 4.00 mm', NULL, 6.0, 4.0 FROM stone_cuts WHERE cut_code='EMD';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.60000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0600X0400' WHERE c.cut_code='EMD';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0700X0500', '7.00 x 5.00 mm', NULL, 7.0, 5.0 FROM stone_cuts WHERE cut_code='EMD';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 1.00000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0700X0500' WHERE c.cut_code='EMD';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0800X0600', '8.00 x 6.00 mm', NULL, 8.0, 6.0 FROM stone_cuts WHERE cut_code='EMD';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 1.50000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0800X0600' WHERE c.cut_code='EMD';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0300X0150', '3.00 x 1.50 mm', NULL, 3.0, 1.5 FROM stone_cuts WHERE cut_code='BAG';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.05000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0300X0150' WHERE c.cut_code='BAG';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0400X0200', '4.00 x 2.00 mm', NULL, 4.0, 2.0 FROM stone_cuts WHERE cut_code='BAG';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.10000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0400X0200' WHERE c.cut_code='BAG';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0500X0250', '5.00 x 2.50 mm', NULL, 5.0, 2.5 FROM stone_cuts WHERE cut_code='BAG';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.18000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0500X0250' WHERE c.cut_code='BAG';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0600X0300', '6.00 x 3.00 mm', NULL, 6.0, 3.0 FROM stone_cuts WHERE cut_code='BAG';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.30000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0600X0300' WHERE c.cut_code='BAG';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0300X0300', '3.00 mm', NULL, 3.0, 3.0 FROM stone_cuts WHERE cut_code='HRT';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.10000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0300X0300' WHERE c.cut_code='HRT';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0400X0400', '4.00 mm', NULL, 4.0, 4.0 FROM stone_cuts WHERE cut_code='HRT';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.20000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0400X0400' WHERE c.cut_code='HRT';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0500X0500', '5.00 mm', NULL, 5.0, 5.0 FROM stone_cuts WHERE cut_code='HRT';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.45000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0500X0500' WHERE c.cut_code='HRT';
INSERT IGNORE INTO stone_sizes (cut_id, size_code, size_label, diameter_mm, length_mm, width_mm) SELECT id, '0600X0600', '6.00 mm', NULL, 6.0, 6.0 FROM stone_cuts WHERE cut_code='HRT';
INSERT IGNORE INTO stone_carat_references (cut_id, size_id, carat_each, source_note) SELECT c.id, s.id, 0.75000, 'Initial seed from uploaded stone size references; editable' FROM stone_cuts c JOIN stone_sizes s ON s.cut_id=c.id AND s.size_code='0600X0600' WHERE c.cut_code='HRT';

-- Seed initial stone cards with auto-generated SKUs
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0080-CLR', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0090-CLR', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0100-CLR', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0110-CLR', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0115-CLR', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0120-CLR', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0125-CLR', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0130-CLR', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0135-CLR', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0140-CLR', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0145-CLR', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0150-CLR', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0155-CLR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0160-CLR', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0170-CLR', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0180-CLR', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0190-CLR', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0200-CLR', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0210-CLR', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0220-CLR', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0230-CLR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0240-CLR', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0250-CLR', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0260-CLR', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0270-CLR', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0280-CLR', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0290-CLR', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0300-CLR', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0310-CLR', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0320-CLR', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0330-CLR', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0340-CLR', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0350-CLR', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0360-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0370-CLR', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0380-CLR', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0390-CLR', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0400-CLR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0410-CLR', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0420-CLR', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0430-CLR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-RND-0440-CLR', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-MRQ-0400X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-MRQ-0500X0250-CLR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-MRQ-0600X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-MRQ-0700X0350-CLR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-MRQ-0800X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-MRQ-1000X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-OVL-0400X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-OVL-0500X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-OVL-0600X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-OVL-0700X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-OVL-0800X0600-CLR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-OVL-0900X0700-CLR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-OVL-1000X0800-CLR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PEAR-0400X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PEAR-0500X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PEAR-0600X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PEAR-0700X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PEAR-0800X0500-CLR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PEAR-0900X0600-CLR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PEAR-1000X0700-CLR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PRN-0150X0150-CLR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PRN-0200X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PRN-0250X0250-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PRN-0300X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PRN-0350X0350-CLR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PRN-0400X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-PRN-0500X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-EMD-0400X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-EMD-0500X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-EMD-0600X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-EMD-0700X0500-CLR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-EMD-0800X0600-CLR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-BAG-0300X0150-CLR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-BAG-0400X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-BAG-0500X0250-CLR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-BAG-0600X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-HRT-0300X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-HRT-0400X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-HRT-0500X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-DIA-HRT-0600X0600-CLR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='DIA';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0080-CLR', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0090-CLR', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0100-CLR', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0110-CLR', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0115-CLR', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0120-CLR', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0125-CLR', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0130-CLR', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0135-CLR', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0140-CLR', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0145-CLR', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0150-CLR', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0155-CLR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0160-CLR', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0170-CLR', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0180-CLR', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0190-CLR', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0200-CLR', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0210-CLR', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0220-CLR', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0230-CLR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0240-CLR', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0250-CLR', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0260-CLR', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0270-CLR', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0280-CLR', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0290-CLR', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0300-CLR', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0310-CLR', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0320-CLR', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0330-CLR', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0340-CLR', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0350-CLR', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0360-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0370-CLR', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0380-CLR', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0390-CLR', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0400-CLR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0410-CLR', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0420-CLR', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0430-CLR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-RND-0440-CLR', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-MRQ-0400X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-MRQ-0500X0250-CLR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-MRQ-0600X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-MRQ-0700X0350-CLR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-MRQ-0800X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-MRQ-1000X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-OVL-0400X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-OVL-0500X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-OVL-0600X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-OVL-0700X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-OVL-0800X0600-CLR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-OVL-0900X0700-CLR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-OVL-1000X0800-CLR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PEAR-0400X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PEAR-0500X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PEAR-0600X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PEAR-0700X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PEAR-0800X0500-CLR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PEAR-0900X0600-CLR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PEAR-1000X0700-CLR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PRN-0150X0150-CLR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PRN-0200X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PRN-0250X0250-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PRN-0300X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PRN-0350X0350-CLR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PRN-0400X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-PRN-0500X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-EMD-0400X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-EMD-0500X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-EMD-0600X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-EMD-0700X0500-CLR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-EMD-0800X0600-CLR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-BAG-0300X0150-CLR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-BAG-0400X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-BAG-0500X0250-CLR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-BAG-0600X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-HRT-0300X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-HRT-0400X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-HRT-0500X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-LD-HRT-0600X0600-CLR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='LD';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0080-CLR', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0090-CLR', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0100-CLR', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0110-CLR', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0115-CLR', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0120-CLR', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0125-CLR', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0130-CLR', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0135-CLR', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0140-CLR', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0145-CLR', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0150-CLR', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0155-CLR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0160-CLR', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0170-CLR', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0180-CLR', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0190-CLR', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0200-CLR', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0210-CLR', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0220-CLR', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0230-CLR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0240-CLR', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0250-CLR', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0260-CLR', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0270-CLR', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0280-CLR', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0290-CLR', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0300-CLR', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0310-CLR', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0320-CLR', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0330-CLR', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0340-CLR', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0350-CLR', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0360-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0370-CLR', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0380-CLR', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0390-CLR', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0400-CLR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0410-CLR', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0420-CLR', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0430-CLR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-RND-0440-CLR', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-MRQ-0400X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-MRQ-0500X0250-CLR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-MRQ-0600X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-MRQ-0700X0350-CLR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-MRQ-0800X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-MRQ-1000X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-OVL-0400X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-OVL-0500X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-OVL-0600X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-OVL-0700X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-OVL-0800X0600-CLR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-OVL-0900X0700-CLR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-OVL-1000X0800-CLR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PEAR-0400X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PEAR-0500X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PEAR-0600X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PEAR-0700X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PEAR-0800X0500-CLR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PEAR-0900X0600-CLR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PEAR-1000X0700-CLR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PRN-0150X0150-CLR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PRN-0200X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PRN-0250X0250-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PRN-0300X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PRN-0350X0350-CLR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PRN-0400X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-PRN-0500X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-EMD-0400X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-EMD-0500X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-EMD-0600X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-EMD-0700X0500-CLR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-EMD-0800X0600-CLR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-BAG-0300X0150-CLR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-BAG-0400X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-BAG-0500X0250-CLR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-BAG-0600X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-HRT-0300X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-HRT-0400X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-HRT-0500X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-MO-HRT-0600X0600-CLR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='MO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0080-CLR', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0080-GAR', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0080-AME', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0080-AQU', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0080-EME', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0080-ALX', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0080-RUB', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0080-PER', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0080-SAP', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0080-PTO', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0080-TOP', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0080-BZR', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0090-CLR', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0090-GAR', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0090-AME', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0090-AQU', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0090-EME', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0090-ALX', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0090-RUB', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0090-PER', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0090-SAP', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0090-PTO', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0090-TOP', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0090-BZR', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0100-CLR', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0100-GAR', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0100-AME', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0100-AQU', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0100-EME', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0100-ALX', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0100-RUB', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0100-PER', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0100-SAP', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0100-PTO', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0100-TOP', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0100-BZR', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0110-CLR', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0110-GAR', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0110-AME', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0110-AQU', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0110-EME', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0110-ALX', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0110-RUB', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0110-PER', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0110-SAP', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0110-PTO', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0110-TOP', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0110-BZR', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0115-CLR', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0115-GAR', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0115-AME', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0115-AQU', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0115-EME', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0115-ALX', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0115-RUB', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0115-PER', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0115-SAP', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0115-PTO', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0115-TOP', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0115-BZR', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0120-CLR', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0120-GAR', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0120-AME', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0120-AQU', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0120-EME', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0120-ALX', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0120-RUB', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0120-PER', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0120-SAP', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0120-PTO', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0120-TOP', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0120-BZR', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0125-CLR', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0125-GAR', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0125-AME', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0125-AQU', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0125-EME', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0125-ALX', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0125-RUB', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0125-PER', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0125-SAP', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0125-PTO', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0125-TOP', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0125-BZR', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0130-CLR', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0130-GAR', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0130-AME', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0130-AQU', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0130-EME', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0130-ALX', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0130-RUB', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0130-PER', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0130-SAP', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0130-PTO', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0130-TOP', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0130-BZR', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0135-CLR', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0135-GAR', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0135-AME', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0135-AQU', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0135-EME', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0135-ALX', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0135-RUB', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0135-PER', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0135-SAP', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0135-PTO', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0135-TOP', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0135-BZR', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0140-CLR', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0140-GAR', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0140-AME', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0140-AQU', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0140-EME', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0140-ALX', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0140-RUB', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0140-PER', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0140-SAP', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0140-PTO', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0140-TOP', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0140-BZR', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0145-CLR', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0145-GAR', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0145-AME', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0145-AQU', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0145-EME', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0145-ALX', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0145-RUB', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0145-PER', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0145-SAP', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0145-PTO', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0145-TOP', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0145-BZR', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0150-CLR', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0150-GAR', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0150-AME', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0150-AQU', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0150-EME', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0150-ALX', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0150-RUB', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0150-PER', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0150-SAP', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0150-PTO', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0150-TOP', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0150-BZR', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0155-CLR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0155-GAR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0155-AME', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0155-AQU', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0155-EME', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0155-ALX', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0155-RUB', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0155-PER', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0155-SAP', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0155-PTO', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0155-TOP', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0155-BZR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0160-CLR', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0160-GAR', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0160-AME', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0160-AQU', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0160-EME', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0160-ALX', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0160-RUB', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0160-PER', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0160-SAP', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0160-PTO', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0160-TOP', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0160-BZR', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0170-CLR', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0170-GAR', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0170-AME', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0170-AQU', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0170-EME', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0170-ALX', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0170-RUB', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0170-PER', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0170-SAP', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0170-PTO', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0170-TOP', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0170-BZR', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0180-CLR', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0180-GAR', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0180-AME', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0180-AQU', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0180-EME', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0180-ALX', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0180-RUB', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0180-PER', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0180-SAP', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0180-PTO', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0180-TOP', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0180-BZR', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0190-CLR', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0190-GAR', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0190-AME', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0190-AQU', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0190-EME', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0190-ALX', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0190-RUB', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0190-PER', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0190-SAP', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0190-PTO', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0190-TOP', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0190-BZR', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0200-CLR', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0200-GAR', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0200-AME', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0200-AQU', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0200-EME', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0200-ALX', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0200-RUB', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0200-PER', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0200-SAP', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0200-PTO', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0200-TOP', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0200-BZR', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0210-CLR', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0210-GAR', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0210-AME', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0210-AQU', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0210-EME', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0210-ALX', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0210-RUB', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0210-PER', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0210-SAP', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0210-PTO', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0210-TOP', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0210-BZR', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0220-CLR', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0220-GAR', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0220-AME', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0220-AQU', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0220-EME', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0220-ALX', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0220-RUB', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0220-PER', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0220-SAP', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0220-PTO', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0220-TOP', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0220-BZR', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0230-CLR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0230-GAR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0230-AME', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0230-AQU', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0230-EME', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0230-ALX', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0230-RUB', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0230-PER', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0230-SAP', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0230-PTO', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0230-TOP', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0230-BZR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0240-CLR', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0240-GAR', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0240-AME', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0240-AQU', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0240-EME', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0240-ALX', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0240-RUB', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0240-PER', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0240-SAP', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0240-PTO', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0240-TOP', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0240-BZR', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0250-CLR', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0250-GAR', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0250-AME', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0250-AQU', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0250-EME', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0250-ALX', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0250-RUB', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0250-PER', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0250-SAP', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0250-PTO', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0250-TOP', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0250-BZR', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0260-CLR', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0260-GAR', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0260-AME', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0260-AQU', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0260-EME', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0260-ALX', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0260-RUB', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0260-PER', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0260-SAP', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0260-PTO', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0260-TOP', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0260-BZR', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0270-CLR', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0270-GAR', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0270-AME', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0270-AQU', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0270-EME', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0270-ALX', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0270-RUB', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0270-PER', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0270-SAP', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0270-PTO', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0270-TOP', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0270-BZR', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0280-CLR', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0280-GAR', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0280-AME', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0280-AQU', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0280-EME', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0280-ALX', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0280-RUB', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0280-PER', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0280-SAP', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0280-PTO', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0280-TOP', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0280-BZR', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0290-CLR', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0290-GAR', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0290-AME', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0290-AQU', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0290-EME', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0290-ALX', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0290-RUB', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0290-PER', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0290-SAP', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0290-PTO', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0290-TOP', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0290-BZR', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0300-CLR', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0300-GAR', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0300-AME', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0300-AQU', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0300-EME', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0300-ALX', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0300-RUB', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0300-PER', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0300-SAP', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0300-PTO', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0300-TOP', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0300-BZR', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0310-CLR', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0310-GAR', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0310-AME', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0310-AQU', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0310-EME', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0310-ALX', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0310-RUB', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0310-PER', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0310-SAP', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0310-PTO', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0310-TOP', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0310-BZR', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0320-CLR', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0320-GAR', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0320-AME', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0320-AQU', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0320-EME', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0320-ALX', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0320-RUB', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0320-PER', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0320-SAP', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0320-PTO', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0320-TOP', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0320-BZR', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0330-CLR', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0330-GAR', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0330-AME', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0330-AQU', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0330-EME', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0330-ALX', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0330-RUB', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0330-PER', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0330-SAP', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0330-PTO', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0330-TOP', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0330-BZR', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0340-CLR', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0340-GAR', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0340-AME', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0340-AQU', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0340-EME', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0340-ALX', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0340-RUB', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0340-PER', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0340-SAP', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0340-PTO', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0340-TOP', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0340-BZR', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0350-CLR', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0350-GAR', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0350-AME', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0350-AQU', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0350-EME', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0350-ALX', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0350-RUB', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0350-PER', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0350-SAP', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0350-PTO', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0350-TOP', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0350-BZR', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0360-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0360-GAR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0360-AME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0360-AQU', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0360-EME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0360-ALX', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0360-RUB', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0360-PER', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0360-SAP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0360-PTO', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0360-TOP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0360-BZR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0370-CLR', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0370-GAR', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0370-AME', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0370-AQU', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0370-EME', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0370-ALX', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0370-RUB', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0370-PER', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0370-SAP', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0370-PTO', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0370-TOP', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0370-BZR', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0380-CLR', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0380-GAR', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0380-AME', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0380-AQU', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0380-EME', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0380-ALX', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0380-RUB', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0380-PER', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0380-SAP', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0380-PTO', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0380-TOP', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0380-BZR', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0390-CLR', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0390-GAR', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0390-AME', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0390-AQU', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0390-EME', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0390-ALX', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0390-RUB', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0390-PER', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0390-SAP', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0390-PTO', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0390-TOP', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0390-BZR', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0400-CLR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0400-GAR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0400-AME', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0400-AQU', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0400-EME', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0400-ALX', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0400-RUB', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0400-PER', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0400-SAP', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0400-PTO', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0400-TOP', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0400-BZR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0410-CLR', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0410-GAR', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0410-AME', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0410-AQU', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0410-EME', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0410-ALX', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0410-RUB', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0410-PER', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0410-SAP', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0410-PTO', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0410-TOP', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0410-BZR', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0420-CLR', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0420-GAR', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0420-AME', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0420-AQU', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0420-EME', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0420-ALX', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0420-RUB', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0420-PER', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0420-SAP', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0420-PTO', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0420-TOP', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0420-BZR', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0430-CLR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0430-GAR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0430-AME', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0430-AQU', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0430-EME', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0430-ALX', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0430-RUB', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0430-PER', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0430-SAP', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0430-PTO', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0430-TOP', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0430-BZR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0440-CLR', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0440-GAR', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0440-AME', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0440-AQU', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0440-EME', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0440-ALX', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0440-RUB', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0440-PER', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0440-SAP', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0440-PTO', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0440-TOP', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-RND-0440-BZR', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0400X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0400X0200-GAR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0400X0200-AME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0400X0200-AQU', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0400X0200-EME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0400X0200-ALX', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0400X0200-RUB', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0400X0200-PER', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0400X0200-SAP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0400X0200-PTO', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0400X0200-TOP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0400X0200-BZR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0500X0250-CLR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0500X0250-GAR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0500X0250-AME', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0500X0250-AQU', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0500X0250-EME', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0500X0250-ALX', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0500X0250-RUB', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0500X0250-PER', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0500X0250-SAP', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0500X0250-PTO', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0500X0250-TOP', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0500X0250-BZR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0600X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0600X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0600X0300-AME', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0600X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0600X0300-EME', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0600X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0600X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0600X0300-PER', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0600X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0600X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0600X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0600X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0700X0350-CLR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0700X0350-GAR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0700X0350-AME', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0700X0350-AQU', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0700X0350-EME', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0700X0350-ALX', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0700X0350-RUB', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0700X0350-PER', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0700X0350-SAP', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0700X0350-PTO', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0700X0350-TOP', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0700X0350-BZR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0800X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0800X0400-GAR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0800X0400-AME', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0800X0400-AQU', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0800X0400-EME', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0800X0400-ALX', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0800X0400-RUB', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0800X0400-PER', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0800X0400-SAP', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0800X0400-PTO', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0800X0400-TOP', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-0800X0400-BZR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-1000X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-1000X0500-GAR', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-1000X0500-AME', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-1000X0500-AQU', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-1000X0500-EME', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-1000X0500-ALX', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-1000X0500-RUB', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-1000X0500-PER', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-1000X0500-SAP', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-1000X0500-PTO', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-1000X0500-TOP', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-MRQ-1000X0500-BZR', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0400X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0400X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0400X0300-AME', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0400X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0400X0300-EME', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0400X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0400X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0400X0300-PER', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0400X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0400X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0400X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0400X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0500X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0500X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0500X0300-AME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0500X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0500X0300-EME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0500X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0500X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0500X0300-PER', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0500X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0500X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0500X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0500X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0600X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0600X0400-GAR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0600X0400-AME', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0600X0400-AQU', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0600X0400-EME', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0600X0400-ALX', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0600X0400-RUB', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0600X0400-PER', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0600X0400-SAP', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0600X0400-PTO', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0600X0400-TOP', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0600X0400-BZR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0700X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0700X0500-GAR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0700X0500-AME', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0700X0500-AQU', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0700X0500-EME', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0700X0500-ALX', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0700X0500-RUB', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0700X0500-PER', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0700X0500-SAP', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0700X0500-PTO', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0700X0500-TOP', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0700X0500-BZR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0800X0600-CLR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0800X0600-GAR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0800X0600-AME', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0800X0600-AQU', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0800X0600-EME', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0800X0600-ALX', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0800X0600-RUB', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0800X0600-PER', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0800X0600-SAP', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0800X0600-PTO', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0800X0600-TOP', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0800X0600-BZR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0900X0700-CLR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0900X0700-GAR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0900X0700-AME', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0900X0700-AQU', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0900X0700-EME', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0900X0700-ALX', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0900X0700-RUB', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0900X0700-PER', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0900X0700-SAP', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0900X0700-PTO', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0900X0700-TOP', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-0900X0700-BZR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-1000X0800-CLR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-1000X0800-GAR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-1000X0800-AME', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-1000X0800-AQU', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-1000X0800-EME', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-1000X0800-ALX', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-1000X0800-RUB', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-1000X0800-PER', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-1000X0800-SAP', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-1000X0800-PTO', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-1000X0800-TOP', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-OVL-1000X0800-BZR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0400X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0400X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0400X0300-AME', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0400X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0400X0300-EME', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0400X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0400X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0400X0300-PER', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0400X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0400X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0400X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0400X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0500X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0500X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0500X0300-AME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0500X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0500X0300-EME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0500X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0500X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0500X0300-PER', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0500X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0500X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0500X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0500X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0600X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0600X0400-GAR', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0600X0400-AME', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0600X0400-AQU', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0600X0400-EME', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0600X0400-ALX', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0600X0400-RUB', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0600X0400-PER', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0600X0400-SAP', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0600X0400-PTO', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0600X0400-TOP', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0600X0400-BZR', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0700X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0700X0500-GAR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0700X0500-AME', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0700X0500-AQU', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0700X0500-EME', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0700X0500-ALX', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0700X0500-RUB', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0700X0500-PER', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0700X0500-SAP', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0700X0500-PTO', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0700X0500-TOP', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0700X0500-BZR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0800X0500-CLR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0800X0500-GAR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0800X0500-AME', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0800X0500-AQU', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0800X0500-EME', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0800X0500-ALX', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0800X0500-RUB', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0800X0500-PER', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0800X0500-SAP', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0800X0500-PTO', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0800X0500-TOP', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0800X0500-BZR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0900X0600-CLR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0900X0600-GAR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0900X0600-AME', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0900X0600-AQU', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0900X0600-EME', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0900X0600-ALX', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0900X0600-RUB', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0900X0600-PER', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0900X0600-SAP', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0900X0600-PTO', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0900X0600-TOP', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-0900X0600-BZR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-1000X0700-CLR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-1000X0700-GAR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-1000X0700-AME', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-1000X0700-AQU', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-1000X0700-EME', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-1000X0700-ALX', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-1000X0700-RUB', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-1000X0700-PER', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-1000X0700-SAP', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-1000X0700-PTO', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-1000X0700-TOP', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PEAR-1000X0700-BZR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0150X0150-CLR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0150X0150-GAR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0150X0150-AME', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0150X0150-AQU', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0150X0150-EME', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0150X0150-ALX', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0150X0150-RUB', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0150X0150-PER', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0150X0150-SAP', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0150X0150-PTO', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0150X0150-TOP', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0150X0150-BZR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0200X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0200X0200-GAR', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0200X0200-AME', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0200X0200-AQU', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0200X0200-EME', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0200X0200-ALX', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0200X0200-RUB', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0200X0200-PER', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0200X0200-SAP', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0200X0200-PTO', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0200X0200-TOP', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0200X0200-BZR', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0250X0250-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0250X0250-GAR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0250X0250-AME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0250X0250-AQU', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0250X0250-EME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0250X0250-ALX', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0250X0250-RUB', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0250X0250-PER', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0250X0250-SAP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0250X0250-PTO', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0250X0250-TOP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0250X0250-BZR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0300X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0300X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0300X0300-AME', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0300X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0300X0300-EME', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0300X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0300X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0300X0300-PER', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0300X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0300X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0300X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0300X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0350X0350-CLR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0350X0350-GAR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0350X0350-AME', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0350X0350-AQU', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0350X0350-EME', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0350X0350-ALX', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0350X0350-RUB', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0350X0350-PER', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0350X0350-SAP', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0350X0350-PTO', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0350X0350-TOP', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0350X0350-BZR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0400X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0400X0400-GAR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0400X0400-AME', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0400X0400-AQU', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0400X0400-EME', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0400X0400-ALX', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0400X0400-RUB', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0400X0400-PER', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0400X0400-SAP', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0400X0400-PTO', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0400X0400-TOP', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0400X0400-BZR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0500X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0500X0500-GAR', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0500X0500-AME', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0500X0500-AQU', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0500X0500-EME', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0500X0500-ALX', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0500X0500-RUB', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0500X0500-PER', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0500X0500-SAP', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0500X0500-PTO', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0500X0500-TOP', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-PRN-0500X0500-BZR', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0400X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0400X0200-GAR', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0400X0200-AME', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0400X0200-AQU', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0400X0200-EME', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0400X0200-ALX', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0400X0200-RUB', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0400X0200-PER', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0400X0200-SAP', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0400X0200-PTO', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0400X0200-TOP', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0400X0200-BZR', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0500X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0500X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0500X0300-AME', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0500X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0500X0300-EME', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0500X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0500X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0500X0300-PER', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0500X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0500X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0500X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0500X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0600X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0600X0400-GAR', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0600X0400-AME', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0600X0400-AQU', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0600X0400-EME', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0600X0400-ALX', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0600X0400-RUB', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0600X0400-PER', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0600X0400-SAP', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0600X0400-PTO', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0600X0400-TOP', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0600X0400-BZR', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0700X0500-CLR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0700X0500-GAR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0700X0500-AME', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0700X0500-AQU', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0700X0500-EME', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0700X0500-ALX', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0700X0500-RUB', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0700X0500-PER', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0700X0500-SAP', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0700X0500-PTO', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0700X0500-TOP', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0700X0500-BZR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0800X0600-CLR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0800X0600-GAR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0800X0600-AME', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0800X0600-AQU', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0800X0600-EME', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0800X0600-ALX', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0800X0600-RUB', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0800X0600-PER', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0800X0600-SAP', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0800X0600-PTO', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0800X0600-TOP', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-EMD-0800X0600-BZR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0300X0150-CLR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0300X0150-GAR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0300X0150-AME', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0300X0150-AQU', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0300X0150-EME', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0300X0150-ALX', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0300X0150-RUB', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0300X0150-PER', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0300X0150-SAP', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0300X0150-PTO', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0300X0150-TOP', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0300X0150-BZR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0400X0200-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0400X0200-GAR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0400X0200-AME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0400X0200-AQU', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0400X0200-EME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0400X0200-ALX', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0400X0200-RUB', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0400X0200-PER', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0400X0200-SAP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0400X0200-PTO', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0400X0200-TOP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0400X0200-BZR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0500X0250-CLR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0500X0250-GAR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0500X0250-AME', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0500X0250-AQU', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0500X0250-EME', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0500X0250-ALX', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0500X0250-RUB', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0500X0250-PER', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0500X0250-SAP', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0500X0250-PTO', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0500X0250-TOP', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0500X0250-BZR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0600X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0600X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0600X0300-AME', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0600X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0600X0300-EME', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0600X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0600X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0600X0300-PER', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0600X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0600X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0600X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-BAG-0600X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0300X0300-CLR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0300X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0300X0300-AME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0300X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0300X0300-EME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0300X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0300X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0300X0300-PER', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0300X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0300X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0300X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0300X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0400X0400-CLR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0400X0400-GAR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0400X0400-AME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0400X0400-AQU', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0400X0400-EME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0400X0400-ALX', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0400X0400-RUB', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0400X0400-PER', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0400X0400-SAP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0400X0400-PTO', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0400X0400-TOP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0400X0400-BZR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0500X0500-CLR', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0500X0500-GAR', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0500X0500-AME', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0500X0500-AQU', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0500X0500-EME', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0500X0500-ALX', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0500X0500-RUB', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0500X0500-PER', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0500X0500-SAP', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0500X0500-PTO', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0500X0500-TOP', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0500X0500-BZR', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0600X0600-CLR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='CLR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0600X0600-GAR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0600X0600-AME', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0600X0600-AQU', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0600X0600-EME', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0600X0600-ALX', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0600X0600-RUB', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0600X0600-PER', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0600X0600-SAP', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0600X0600-PTO', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0600X0600-TOP', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ZR-HRT-0600X0600-BZR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='ZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0080-GAR', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0090-GAR', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0100-GAR', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0110-GAR', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0115-GAR', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0120-GAR', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0125-GAR', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0130-GAR', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0135-GAR', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0140-GAR', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0145-GAR', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0150-GAR', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0155-GAR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0160-GAR', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0170-GAR', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0180-GAR', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0190-GAR', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0200-GAR', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0210-GAR', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0220-GAR', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0230-GAR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0240-GAR', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0250-GAR', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0260-GAR', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0270-GAR', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0280-GAR', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0290-GAR', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0300-GAR', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0310-GAR', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0320-GAR', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0330-GAR', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0340-GAR', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0350-GAR', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0360-GAR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0370-GAR', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0380-GAR', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0390-GAR', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0400-GAR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0410-GAR', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0420-GAR', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0430-GAR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-RND-0440-GAR', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-MRQ-0400X0200-GAR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-MRQ-0500X0250-GAR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-MRQ-0600X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-MRQ-0700X0350-GAR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-MRQ-0800X0400-GAR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-MRQ-1000X0500-GAR', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-OVL-0400X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-OVL-0500X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-OVL-0600X0400-GAR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-OVL-0700X0500-GAR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-OVL-0800X0600-GAR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-OVL-0900X0700-GAR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-OVL-1000X0800-GAR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PEAR-0400X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PEAR-0500X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PEAR-0600X0400-GAR', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PEAR-0700X0500-GAR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PEAR-0800X0500-GAR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PEAR-0900X0600-GAR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PEAR-1000X0700-GAR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PRN-0150X0150-GAR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PRN-0200X0200-GAR', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PRN-0250X0250-GAR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PRN-0300X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PRN-0350X0350-GAR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PRN-0400X0400-GAR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-PRN-0500X0500-GAR', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-EMD-0400X0200-GAR', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-EMD-0500X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-EMD-0600X0400-GAR', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-EMD-0700X0500-GAR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-EMD-0800X0600-GAR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-BAG-0300X0150-GAR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-BAG-0400X0200-GAR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-BAG-0500X0250-GAR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-BAG-0600X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-HRT-0300X0300-GAR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-HRT-0400X0400-GAR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-HRT-0500X0500-GAR', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-GAR-HRT-0600X0600-GAR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='GAR' WHERE sp.species_code='GAR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0080-AME', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0090-AME', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0100-AME', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0110-AME', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0115-AME', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0120-AME', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0125-AME', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0130-AME', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0135-AME', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0140-AME', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0145-AME', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0150-AME', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0155-AME', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0160-AME', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0170-AME', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0180-AME', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0190-AME', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0200-AME', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0210-AME', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0220-AME', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0230-AME', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0240-AME', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0250-AME', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0260-AME', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0270-AME', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0280-AME', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0290-AME', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0300-AME', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0310-AME', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0320-AME', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0330-AME', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0340-AME', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0350-AME', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0360-AME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0370-AME', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0380-AME', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0390-AME', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0400-AME', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0410-AME', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0420-AME', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0430-AME', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-RND-0440-AME', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-MRQ-0400X0200-AME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-MRQ-0500X0250-AME', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-MRQ-0600X0300-AME', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-MRQ-0700X0350-AME', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-MRQ-0800X0400-AME', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-MRQ-1000X0500-AME', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-OVL-0400X0300-AME', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-OVL-0500X0300-AME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-OVL-0600X0400-AME', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-OVL-0700X0500-AME', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-OVL-0800X0600-AME', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-OVL-0900X0700-AME', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-OVL-1000X0800-AME', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PEAR-0400X0300-AME', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PEAR-0500X0300-AME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PEAR-0600X0400-AME', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PEAR-0700X0500-AME', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PEAR-0800X0500-AME', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PEAR-0900X0600-AME', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PEAR-1000X0700-AME', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PRN-0150X0150-AME', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PRN-0200X0200-AME', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PRN-0250X0250-AME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PRN-0300X0300-AME', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PRN-0350X0350-AME', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PRN-0400X0400-AME', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-PRN-0500X0500-AME', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-EMD-0400X0200-AME', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-EMD-0500X0300-AME', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-EMD-0600X0400-AME', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-EMD-0700X0500-AME', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-EMD-0800X0600-AME', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-BAG-0300X0150-AME', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-BAG-0400X0200-AME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-BAG-0500X0250-AME', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-BAG-0600X0300-AME', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-HRT-0300X0300-AME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-HRT-0400X0400-AME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-HRT-0500X0500-AME', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AME-HRT-0600X0600-AME', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='AME' WHERE sp.species_code='AME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0080-AQU', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0090-AQU', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0100-AQU', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0110-AQU', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0115-AQU', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0120-AQU', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0125-AQU', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0130-AQU', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0135-AQU', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0140-AQU', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0145-AQU', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0150-AQU', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0155-AQU', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0160-AQU', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0170-AQU', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0180-AQU', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0190-AQU', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0200-AQU', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0210-AQU', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0220-AQU', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0230-AQU', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0240-AQU', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0250-AQU', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0260-AQU', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0270-AQU', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0280-AQU', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0290-AQU', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0300-AQU', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0310-AQU', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0320-AQU', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0330-AQU', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0340-AQU', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0350-AQU', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0360-AQU', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0370-AQU', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0380-AQU', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0390-AQU', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0400-AQU', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0410-AQU', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0420-AQU', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0430-AQU', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-RND-0440-AQU', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-MRQ-0400X0200-AQU', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-MRQ-0500X0250-AQU', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-MRQ-0600X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-MRQ-0700X0350-AQU', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-MRQ-0800X0400-AQU', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-MRQ-1000X0500-AQU', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-OVL-0400X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-OVL-0500X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-OVL-0600X0400-AQU', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-OVL-0700X0500-AQU', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-OVL-0800X0600-AQU', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-OVL-0900X0700-AQU', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-OVL-1000X0800-AQU', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PEAR-0400X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PEAR-0500X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PEAR-0600X0400-AQU', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PEAR-0700X0500-AQU', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PEAR-0800X0500-AQU', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PEAR-0900X0600-AQU', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PEAR-1000X0700-AQU', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PRN-0150X0150-AQU', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PRN-0200X0200-AQU', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PRN-0250X0250-AQU', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PRN-0300X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PRN-0350X0350-AQU', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PRN-0400X0400-AQU', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-PRN-0500X0500-AQU', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-EMD-0400X0200-AQU', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-EMD-0500X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-EMD-0600X0400-AQU', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-EMD-0700X0500-AQU', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-EMD-0800X0600-AQU', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-BAG-0300X0150-AQU', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-BAG-0400X0200-AQU', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-BAG-0500X0250-AQU', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-BAG-0600X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-HRT-0300X0300-AQU', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-HRT-0400X0400-AQU', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-HRT-0500X0500-AQU', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-AQU-HRT-0600X0600-AQU', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='AQU' WHERE sp.species_code='AQU';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0080-EME', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0090-EME', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0100-EME', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0110-EME', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0115-EME', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0120-EME', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0125-EME', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0130-EME', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0135-EME', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0140-EME', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0145-EME', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0150-EME', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0155-EME', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0160-EME', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0170-EME', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0180-EME', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0190-EME', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0200-EME', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0210-EME', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0220-EME', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0230-EME', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0240-EME', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0250-EME', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0260-EME', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0270-EME', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0280-EME', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0290-EME', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0300-EME', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0310-EME', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0320-EME', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0330-EME', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0340-EME', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0350-EME', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0360-EME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0370-EME', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0380-EME', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0390-EME', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0400-EME', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0410-EME', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0420-EME', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0430-EME', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-RND-0440-EME', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-MRQ-0400X0200-EME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-MRQ-0500X0250-EME', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-MRQ-0600X0300-EME', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-MRQ-0700X0350-EME', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-MRQ-0800X0400-EME', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-MRQ-1000X0500-EME', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-OVL-0400X0300-EME', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-OVL-0500X0300-EME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-OVL-0600X0400-EME', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-OVL-0700X0500-EME', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-OVL-0800X0600-EME', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-OVL-0900X0700-EME', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-OVL-1000X0800-EME', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PEAR-0400X0300-EME', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PEAR-0500X0300-EME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PEAR-0600X0400-EME', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PEAR-0700X0500-EME', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PEAR-0800X0500-EME', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PEAR-0900X0600-EME', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PEAR-1000X0700-EME', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PRN-0150X0150-EME', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PRN-0200X0200-EME', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PRN-0250X0250-EME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PRN-0300X0300-EME', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PRN-0350X0350-EME', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PRN-0400X0400-EME', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-PRN-0500X0500-EME', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-EMD-0400X0200-EME', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-EMD-0500X0300-EME', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-EMD-0600X0400-EME', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-EMD-0700X0500-EME', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-EMD-0800X0600-EME', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-BAG-0300X0150-EME', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-BAG-0400X0200-EME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-BAG-0500X0250-EME', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-BAG-0600X0300-EME', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-HRT-0300X0300-EME', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-HRT-0400X0400-EME', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-HRT-0500X0500-EME', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-EME-HRT-0600X0600-EME', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='EME' WHERE sp.species_code='EME';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0080-ALX', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0090-ALX', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0100-ALX', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0110-ALX', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0115-ALX', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0120-ALX', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0125-ALX', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0130-ALX', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0135-ALX', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0140-ALX', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0145-ALX', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0150-ALX', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0155-ALX', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0160-ALX', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0170-ALX', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0180-ALX', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0190-ALX', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0200-ALX', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0210-ALX', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0220-ALX', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0230-ALX', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0240-ALX', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0250-ALX', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0260-ALX', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0270-ALX', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0280-ALX', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0290-ALX', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0300-ALX', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0310-ALX', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0320-ALX', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0330-ALX', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0340-ALX', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0350-ALX', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0360-ALX', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0370-ALX', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0380-ALX', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0390-ALX', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0400-ALX', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0410-ALX', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0420-ALX', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0430-ALX', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-RND-0440-ALX', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-MRQ-0400X0200-ALX', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-MRQ-0500X0250-ALX', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-MRQ-0600X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-MRQ-0700X0350-ALX', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-MRQ-0800X0400-ALX', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-MRQ-1000X0500-ALX', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-OVL-0400X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-OVL-0500X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-OVL-0600X0400-ALX', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-OVL-0700X0500-ALX', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-OVL-0800X0600-ALX', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-OVL-0900X0700-ALX', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-OVL-1000X0800-ALX', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PEAR-0400X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PEAR-0500X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PEAR-0600X0400-ALX', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PEAR-0700X0500-ALX', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PEAR-0800X0500-ALX', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PEAR-0900X0600-ALX', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PEAR-1000X0700-ALX', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PRN-0150X0150-ALX', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PRN-0200X0200-ALX', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PRN-0250X0250-ALX', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PRN-0300X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PRN-0350X0350-ALX', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PRN-0400X0400-ALX', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-PRN-0500X0500-ALX', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-EMD-0400X0200-ALX', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-EMD-0500X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-EMD-0600X0400-ALX', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-EMD-0700X0500-ALX', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-EMD-0800X0600-ALX', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-BAG-0300X0150-ALX', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-BAG-0400X0200-ALX', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-BAG-0500X0250-ALX', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-BAG-0600X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-HRT-0300X0300-ALX', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-HRT-0400X0400-ALX', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-HRT-0500X0500-ALX', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-ALX-HRT-0600X0600-ALX', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='ALX' WHERE sp.species_code='ALX';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0080-RUB', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0090-RUB', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0100-RUB', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0110-RUB', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0115-RUB', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0120-RUB', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0125-RUB', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0130-RUB', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0135-RUB', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0140-RUB', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0145-RUB', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0150-RUB', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0155-RUB', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0160-RUB', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0170-RUB', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0180-RUB', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0190-RUB', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0200-RUB', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0210-RUB', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0220-RUB', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0230-RUB', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0240-RUB', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0250-RUB', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0260-RUB', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0270-RUB', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0280-RUB', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0290-RUB', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0300-RUB', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0310-RUB', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0320-RUB', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0330-RUB', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0340-RUB', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0350-RUB', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0360-RUB', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0370-RUB', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0380-RUB', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0390-RUB', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0400-RUB', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0410-RUB', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0420-RUB', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0430-RUB', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-RND-0440-RUB', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-MRQ-0400X0200-RUB', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-MRQ-0500X0250-RUB', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-MRQ-0600X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-MRQ-0700X0350-RUB', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-MRQ-0800X0400-RUB', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-MRQ-1000X0500-RUB', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-OVL-0400X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-OVL-0500X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-OVL-0600X0400-RUB', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-OVL-0700X0500-RUB', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-OVL-0800X0600-RUB', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-OVL-0900X0700-RUB', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-OVL-1000X0800-RUB', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PEAR-0400X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PEAR-0500X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PEAR-0600X0400-RUB', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PEAR-0700X0500-RUB', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PEAR-0800X0500-RUB', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PEAR-0900X0600-RUB', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PEAR-1000X0700-RUB', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PRN-0150X0150-RUB', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PRN-0200X0200-RUB', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PRN-0250X0250-RUB', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PRN-0300X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PRN-0350X0350-RUB', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PRN-0400X0400-RUB', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-PRN-0500X0500-RUB', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-EMD-0400X0200-RUB', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-EMD-0500X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-EMD-0600X0400-RUB', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-EMD-0700X0500-RUB', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-EMD-0800X0600-RUB', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-BAG-0300X0150-RUB', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-BAG-0400X0200-RUB', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-BAG-0500X0250-RUB', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-BAG-0600X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-HRT-0300X0300-RUB', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-HRT-0400X0400-RUB', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-HRT-0500X0500-RUB', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-RUB-HRT-0600X0600-RUB', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='RUB' WHERE sp.species_code='RUB';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0080-PER', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0090-PER', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0100-PER', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0110-PER', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0115-PER', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0120-PER', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0125-PER', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0130-PER', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0135-PER', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0140-PER', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0145-PER', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0150-PER', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0155-PER', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0160-PER', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0170-PER', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0180-PER', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0190-PER', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0200-PER', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0210-PER', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0220-PER', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0230-PER', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0240-PER', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0250-PER', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0260-PER', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0270-PER', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0280-PER', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0290-PER', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0300-PER', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0310-PER', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0320-PER', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0330-PER', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0340-PER', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0350-PER', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0360-PER', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0370-PER', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0380-PER', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0390-PER', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0400-PER', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0410-PER', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0420-PER', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0430-PER', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-RND-0440-PER', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-MRQ-0400X0200-PER', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-MRQ-0500X0250-PER', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-MRQ-0600X0300-PER', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-MRQ-0700X0350-PER', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-MRQ-0800X0400-PER', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-MRQ-1000X0500-PER', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-OVL-0400X0300-PER', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-OVL-0500X0300-PER', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-OVL-0600X0400-PER', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-OVL-0700X0500-PER', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-OVL-0800X0600-PER', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-OVL-0900X0700-PER', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-OVL-1000X0800-PER', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PEAR-0400X0300-PER', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PEAR-0500X0300-PER', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PEAR-0600X0400-PER', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PEAR-0700X0500-PER', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PEAR-0800X0500-PER', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PEAR-0900X0600-PER', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PEAR-1000X0700-PER', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PRN-0150X0150-PER', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PRN-0200X0200-PER', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PRN-0250X0250-PER', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PRN-0300X0300-PER', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PRN-0350X0350-PER', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PRN-0400X0400-PER', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-PRN-0500X0500-PER', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-EMD-0400X0200-PER', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-EMD-0500X0300-PER', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-EMD-0600X0400-PER', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-EMD-0700X0500-PER', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-EMD-0800X0600-PER', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-BAG-0300X0150-PER', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-BAG-0400X0200-PER', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-BAG-0500X0250-PER', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-BAG-0600X0300-PER', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-HRT-0300X0300-PER', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-HRT-0400X0400-PER', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-HRT-0500X0500-PER', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PER-HRT-0600X0600-PER', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='PER' WHERE sp.species_code='PER';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0080-SAP', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0090-SAP', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0100-SAP', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0110-SAP', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0115-SAP', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0120-SAP', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0125-SAP', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0130-SAP', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0135-SAP', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0140-SAP', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0145-SAP', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0150-SAP', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0155-SAP', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0160-SAP', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0170-SAP', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0180-SAP', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0190-SAP', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0200-SAP', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0210-SAP', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0220-SAP', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0230-SAP', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0240-SAP', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0250-SAP', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0260-SAP', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0270-SAP', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0280-SAP', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0290-SAP', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0300-SAP', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0310-SAP', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0320-SAP', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0330-SAP', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0340-SAP', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0350-SAP', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0360-SAP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0370-SAP', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0380-SAP', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0390-SAP', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0400-SAP', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0410-SAP', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0420-SAP', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0430-SAP', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-RND-0440-SAP', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-MRQ-0400X0200-SAP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-MRQ-0500X0250-SAP', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-MRQ-0600X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-MRQ-0700X0350-SAP', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-MRQ-0800X0400-SAP', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-MRQ-1000X0500-SAP', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-OVL-0400X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-OVL-0500X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-OVL-0600X0400-SAP', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-OVL-0700X0500-SAP', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-OVL-0800X0600-SAP', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-OVL-0900X0700-SAP', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-OVL-1000X0800-SAP', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PEAR-0400X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PEAR-0500X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PEAR-0600X0400-SAP', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PEAR-0700X0500-SAP', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PEAR-0800X0500-SAP', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PEAR-0900X0600-SAP', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PEAR-1000X0700-SAP', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PRN-0150X0150-SAP', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PRN-0200X0200-SAP', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PRN-0250X0250-SAP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PRN-0300X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PRN-0350X0350-SAP', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PRN-0400X0400-SAP', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-PRN-0500X0500-SAP', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-EMD-0400X0200-SAP', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-EMD-0500X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-EMD-0600X0400-SAP', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-EMD-0700X0500-SAP', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-EMD-0800X0600-SAP', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-BAG-0300X0150-SAP', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-BAG-0400X0200-SAP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-BAG-0500X0250-SAP', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-BAG-0600X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-HRT-0300X0300-SAP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-HRT-0400X0400-SAP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-HRT-0500X0500-SAP', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-SAP-HRT-0600X0600-SAP', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='SAP' WHERE sp.species_code='SAP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0080-PTO', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0090-PTO', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0100-PTO', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0110-PTO', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0115-PTO', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0120-PTO', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0125-PTO', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0130-PTO', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0135-PTO', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0140-PTO', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0145-PTO', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0150-PTO', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0155-PTO', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0160-PTO', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0170-PTO', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0180-PTO', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0190-PTO', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0200-PTO', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0210-PTO', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0220-PTO', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0230-PTO', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0240-PTO', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0250-PTO', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0260-PTO', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0270-PTO', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0280-PTO', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0290-PTO', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0300-PTO', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0310-PTO', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0320-PTO', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0330-PTO', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0340-PTO', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0350-PTO', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0360-PTO', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0370-PTO', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0380-PTO', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0390-PTO', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0400-PTO', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0410-PTO', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0420-PTO', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0430-PTO', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-RND-0440-PTO', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-MRQ-0400X0200-PTO', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-MRQ-0500X0250-PTO', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-MRQ-0600X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-MRQ-0700X0350-PTO', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-MRQ-0800X0400-PTO', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-MRQ-1000X0500-PTO', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-OVL-0400X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-OVL-0500X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-OVL-0600X0400-PTO', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-OVL-0700X0500-PTO', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-OVL-0800X0600-PTO', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-OVL-0900X0700-PTO', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-OVL-1000X0800-PTO', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PEAR-0400X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PEAR-0500X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PEAR-0600X0400-PTO', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PEAR-0700X0500-PTO', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PEAR-0800X0500-PTO', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PEAR-0900X0600-PTO', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PEAR-1000X0700-PTO', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PRN-0150X0150-PTO', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PRN-0200X0200-PTO', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PRN-0250X0250-PTO', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PRN-0300X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PRN-0350X0350-PTO', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PRN-0400X0400-PTO', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-PRN-0500X0500-PTO', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-EMD-0400X0200-PTO', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-EMD-0500X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-EMD-0600X0400-PTO', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-EMD-0700X0500-PTO', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-EMD-0800X0600-PTO', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-BAG-0300X0150-PTO', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-BAG-0400X0200-PTO', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-BAG-0500X0250-PTO', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-BAG-0600X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-HRT-0300X0300-PTO', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-HRT-0400X0400-PTO', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-HRT-0500X0500-PTO', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-PTO-HRT-0600X0600-PTO', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='PTO' WHERE sp.species_code='PTO';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0080-TOP', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0090-TOP', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0100-TOP', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0110-TOP', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0115-TOP', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0120-TOP', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0125-TOP', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0130-TOP', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0135-TOP', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0140-TOP', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0145-TOP', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0150-TOP', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0155-TOP', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0160-TOP', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0170-TOP', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0180-TOP', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0190-TOP', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0200-TOP', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0210-TOP', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0220-TOP', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0230-TOP', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0240-TOP', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0250-TOP', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0260-TOP', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0270-TOP', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0280-TOP', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0290-TOP', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0300-TOP', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0310-TOP', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0320-TOP', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0330-TOP', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0340-TOP', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0350-TOP', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0360-TOP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0370-TOP', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0380-TOP', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0390-TOP', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0400-TOP', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0410-TOP', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0420-TOP', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0430-TOP', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-RND-0440-TOP', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-MRQ-0400X0200-TOP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-MRQ-0500X0250-TOP', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-MRQ-0600X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-MRQ-0700X0350-TOP', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-MRQ-0800X0400-TOP', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-MRQ-1000X0500-TOP', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-OVL-0400X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-OVL-0500X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-OVL-0600X0400-TOP', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-OVL-0700X0500-TOP', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-OVL-0800X0600-TOP', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-OVL-0900X0700-TOP', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-OVL-1000X0800-TOP', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PEAR-0400X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PEAR-0500X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PEAR-0600X0400-TOP', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PEAR-0700X0500-TOP', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PEAR-0800X0500-TOP', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PEAR-0900X0600-TOP', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PEAR-1000X0700-TOP', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PRN-0150X0150-TOP', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PRN-0200X0200-TOP', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PRN-0250X0250-TOP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PRN-0300X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PRN-0350X0350-TOP', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PRN-0400X0400-TOP', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-PRN-0500X0500-TOP', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-EMD-0400X0200-TOP', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-EMD-0500X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-EMD-0600X0400-TOP', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-EMD-0700X0500-TOP', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-EMD-0800X0600-TOP', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-BAG-0300X0150-TOP', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-BAG-0400X0200-TOP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-BAG-0500X0250-TOP', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-BAG-0600X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-HRT-0300X0300-TOP', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-HRT-0400X0400-TOP', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-HRT-0500X0500-TOP', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-TOP-HRT-0600X0600-TOP', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='TOP' WHERE sp.species_code='TOP';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0080-BZR', sp.id, cu.id, sz.id, co.id, 0.00300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0080' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0090-BZR', sp.id, cu.id, sz.id, co.id, 0.00400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0090' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0100-BZR', sp.id, cu.id, sz.id, co.id, 0.00500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0100' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0110-BZR', sp.id, cu.id, sz.id, co.id, 0.00600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0110' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0115-BZR', sp.id, cu.id, sz.id, co.id, 0.00700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0115' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0120-BZR', sp.id, cu.id, sz.id, co.id, 0.00800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0120' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0125-BZR', sp.id, cu.id, sz.id, co.id, 0.00900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0125' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0130-BZR', sp.id, cu.id, sz.id, co.id, 0.01000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0130' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0135-BZR', sp.id, cu.id, sz.id, co.id, 0.01100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0135' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0140-BZR', sp.id, cu.id, sz.id, co.id, 0.01200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0140' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0145-BZR', sp.id, cu.id, sz.id, co.id, 0.01300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0145' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0150-BZR', sp.id, cu.id, sz.id, co.id, 0.01400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0155-BZR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0155' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0160-BZR', sp.id, cu.id, sz.id, co.id, 0.01800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0160' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0170-BZR', sp.id, cu.id, sz.id, co.id, 0.02200, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0170' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0180-BZR', sp.id, cu.id, sz.id, co.id, 0.02500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0180' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0190-BZR', sp.id, cu.id, sz.id, co.id, 0.02900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0190' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0200-BZR', sp.id, cu.id, sz.id, co.id, 0.03600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0210-BZR', sp.id, cu.id, sz.id, co.id, 0.04000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0210' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0220-BZR', sp.id, cu.id, sz.id, co.id, 0.04500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0220' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0230-BZR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0230' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0240-BZR', sp.id, cu.id, sz.id, co.id, 0.05800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0240' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0250-BZR', sp.id, cu.id, sz.id, co.id, 0.06600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0260-BZR', sp.id, cu.id, sz.id, co.id, 0.07400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0260' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0270-BZR', sp.id, cu.id, sz.id, co.id, 0.07700, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0270' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0280-BZR', sp.id, cu.id, sz.id, co.id, 0.08600, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0280' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0290-BZR', sp.id, cu.id, sz.id, co.id, 0.09400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0290' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0300-BZR', sp.id, cu.id, sz.id, co.id, 0.10300, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0310-BZR', sp.id, cu.id, sz.id, co.id, 0.11900, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0310' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0320-BZR', sp.id, cu.id, sz.id, co.id, 0.13100, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0320' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0330-BZR', sp.id, cu.id, sz.id, co.id, 0.14400, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0330' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0340-BZR', sp.id, cu.id, sz.id, co.id, 0.15800, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0340' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0350-BZR', sp.id, cu.id, sz.id, co.id, 0.17500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0360-BZR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0360' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0370-BZR', sp.id, cu.id, sz.id, co.id, 0.21000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0370' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0380-BZR', sp.id, cu.id, sz.id, co.id, 0.22000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0380' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0390-BZR', sp.id, cu.id, sz.id, co.id, 0.23000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0390' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0400-BZR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0410-BZR', sp.id, cu.id, sz.id, co.id, 0.26000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0410' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0420-BZR', sp.id, cu.id, sz.id, co.id, 0.27000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0420' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0430-BZR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0430' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-RND-0440-BZR', sp.id, cu.id, sz.id, co.id, 0.33000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='RND' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0440' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-MRQ-0400X0200-BZR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-MRQ-0500X0250-BZR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-MRQ-0600X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-MRQ-0700X0350-BZR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0350' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-MRQ-0800X0400-BZR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-MRQ-1000X0500-BZR', sp.id, cu.id, sz.id, co.id, 0.95000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='MRQ' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-OVL-0400X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-OVL-0500X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-OVL-0600X0400-BZR', sp.id, cu.id, sz.id, co.id, 0.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-OVL-0700X0500-BZR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-OVL-0800X0600-BZR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-OVL-0900X0700-BZR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0700' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-OVL-1000X0800-BZR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='OVL' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0800' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PEAR-0400X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.15000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PEAR-0500X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PEAR-0600X0400-BZR', sp.id, cu.id, sz.id, co.id, 0.40000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PEAR-0700X0500-BZR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PEAR-0800X0500-BZR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PEAR-0900X0600-BZR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0900X0600' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PEAR-1000X0700-BZR', sp.id, cu.id, sz.id, co.id, 2.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PEAR' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='1000X0700' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PRN-0150X0150-BZR', sp.id, cu.id, sz.id, co.id, 0.01500, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0150X0150' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PRN-0200X0200-BZR', sp.id, cu.id, sz.id, co.id, 0.06000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0200X0200' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PRN-0250X0250-BZR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0250X0250' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PRN-0300X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PRN-0350X0350-BZR', sp.id, cu.id, sz.id, co.id, 0.25000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0350X0350' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PRN-0400X0400-BZR', sp.id, cu.id, sz.id, co.id, 0.35000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-PRN-0500X0500-BZR', sp.id, cu.id, sz.id, co.id, 0.70000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='PRN' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-EMD-0400X0200-BZR', sp.id, cu.id, sz.id, co.id, 0.14000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-EMD-0500X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-EMD-0600X0400-BZR', sp.id, cu.id, sz.id, co.id, 0.60000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-EMD-0700X0500-BZR', sp.id, cu.id, sz.id, co.id, 1.00000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0700X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-EMD-0800X0600-BZR', sp.id, cu.id, sz.id, co.id, 1.50000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='EMD' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0800X0600' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-BAG-0300X0150-BZR', sp.id, cu.id, sz.id, co.id, 0.05000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0150' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-BAG-0400X0200-BZR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0200' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-BAG-0500X0250-BZR', sp.id, cu.id, sz.id, co.id, 0.18000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0250' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-BAG-0600X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.30000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='BAG' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-HRT-0300X0300-BZR', sp.id, cu.id, sz.id, co.id, 0.10000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0300X0300' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-HRT-0400X0400-BZR', sp.id, cu.id, sz.id, co.id, 0.20000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0400X0400' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-HRT-0500X0500-BZR', sp.id, cu.id, sz.id, co.id, 0.45000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0500X0500' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
INSERT IGNORE INTO stones (stone_sku, species_id, cut_id, size_id, color_id, carat_each, critical_stock_qty) SELECT 'ST-BZR-HRT-0600X0600-BZR', sp.id, cu.id, sz.id, co.id, 0.75000, 0 FROM stone_species sp JOIN stone_cuts cu ON cu.cut_code='HRT' JOIN stone_sizes sz ON sz.cut_id=cu.id AND sz.size_code='0600X0600' JOIN stone_colors co ON co.color_code='BZR' WHERE sp.species_code='BZR';
