找考题网-背景图
单项选择题

如何显示今天是星期几(周一到周日,分别用1~7表示)()

A.select to_char(sysdate,'D') from dual;
B.select to_char(sysdate,'W') from dual;
C.select to_char(sysdate,'D')-1 from dual;
D.select to_char(sysdate-1,'D') from dual;
E.select to_char(sysdate-1,'W') from dual;

热门试题