# `viw_ai_product` (view)


- **Updatable:** NO

## Columns

| # | Name | Type | Null |
|---|---|---|---|
| 1 | `sId` | `varchar(50)` | NO |
| 2 | `sSlaveId` | `varchar(50)` | NO |
| 3 | `sBrandsId` | `varchar(50)` | NO |
| 4 | `sSubsidiaryId` | `varchar(50)` | NO |
| 5 | `tCreateDate` | `datetime` | NO |
| 6 | `tUpdateDate` | `datetime` | NO |
| 7 | `sMakePerson` | `varchar(50)` | NO |
| 8 | `sProductNo` | `varchar(50)` | NO |
| 9 | `sProductName` | `varchar(100)` | NO |
| 10 | `sProductStyle` | `varchar(50)` | NO |
| 11 | `sProductUnit` | `varchar(50)` | YES |
| 12 | `sCustomerNo` | `varchar(255)` | YES |
| 13 | `sCustomerName` | `varchar(255)` | YES |
| 14 | `sSalesManName` | `varchar(255)` | YES |
| 15 | `sDepartName` | `varchar(255)` | YES |
| 16 | `sProductSortName` | `varchar(100)` | YES |

## Definition

```sql
select `eleproduct`.`sId` AS `sId`,`eleproduct`.`sId` AS `sSlaveId`,`eleproduct`.`sBrandsId` AS `sBrandsId`,`eleproduct`.`sSubsidiaryId` AS `sSubsidiaryId`,`eleproduct`.`tCreateDate` AS `tCreateDate`,`eleproduct`.`tCreateDate` AS `tUpdateDate`,`eleproduct`.`sMakePerson` AS `sMakePerson`,`eleproduct`.`sProductNo` AS `sProductNo`,`eleproduct`.`sProductName` AS `sProductName`,`eleproduct`.`sProductStyle` AS `sProductStyle`,`eleproduct`.`sProductUnit` AS `sProductUnit`,`elecustomer`.`sCustomerNo` AS `sCustomerNo`,`elecustomer`.`sCustomerName` AS `sCustomerName`,`sissalesman`.`sName` AS `sSalesManName`,`sisdepart`.`sName` AS `sDepartName`,`sisproductclassify`.`sName` AS `sProductSortName` from ((((`eleproduct` left join `sisproductclassify` on((`sisproductclassify`.`sId` = `eleproduct`.`sParentId`))) left join `elecustomer` on((`elecustomer`.`sId` = `eleproduct`.`sCustomerId`))) left join `sissalesman` on((`sissalesman`.`sId` = `elecustomer`.`sSalesManId`))) left join `sisdepart` on((`sisdepart`.`sId` = `sissalesman`.`sDepartId`)))
```

## Narrative

_No human-written narrative yet._
