我要使用的表是
create type Rehearsal_ty as object
(RehID char(4),
RLocation add_ty,
Attendance varchar2 (100),
RDate date)
create table Rehearsal_tbl of Rehearsal_ty
我尝试使用的 select 语句无法正常工作
SELECT rehid, DATEPART(wk,rdate)
from Rehearsal_tbl
SELECT DATEPART (ww,rdate())
FROM Rehearsal_tbl;
请帮助真的卡住了