CREATE OR REPLACE VIEW `cs_inventory_stock_1` AS select distinct `legacy_stock_status`.`product_id` AS `product_id`, `legacy_stock_status`.`website_id` AS `website_id`, `legacy_stock_status`.`stock_id` AS `stock_id`, `legacy_stock_status`.`qty` AS `quantity`, `legacy_stock_status`.`stock_status` AS `is_salable`, `product`.`sku` AS `sku` from ( `cs_cataloginventory_stock_status` as `legacy_stock_status` join `cs_catalog_product_entity` as `product` on (( `legacy_stock_status`.`product_id` = `product`.`entity_id` )))