![]() |
1
3
你需要使用
ID Product Product_Cat Cat_Ident ----------- -------- ----------- ----------- 1 Cat 0 1 2 Dog 0 2 3 Potatoes 2 1 4 Carrots 2 2 5 Laundry 1 1 6 Bird 0 3 (6 row(s) affected) |
![]() |
2
0
我们需要更多的信息,但看起来您需要使用触发器来形成cat_ident的值。
|
![]() |
3
-1
|