Edit by browser

This commit is contained in:
杨茂林 2022-02-20 23:29:17 +08:00
parent f343f85364
commit b1410a610f
1 changed files with 23 additions and 1 deletions

View File

@ -1 +1,23 @@
#
use finance1;
-- type 21 is illegal!
insert into property values(2001,2000,1,21,'可用',1,800,CURDATE());
select * from property where pro_id = 2001;
-- insurance #40 not found!
insert into property values(2002,2000,40,2,'可用',1,800,CURDATE());
select * from property where pro_id = 2002;
-- fund #40 not found!
insert into property values(2003,2000,40,3,'可用',1,800,CURDATE());
select * from property where pro_id = 2003;
-- normal insert
insert into property values(2004,2000,1,2,'可用',1,800,CURDATE());
select pro_id,pro_c_id,pro_pif_id,pro_type,pro_status,pro_quantity,pro_income
from property where pro_id = 2004;
-- finances product #20 not found!
insert into property values(2005,2000,20,1,'可用',1,800,CURDATE());
select * from property where pro_id = 2005;