摘要:
SQL中的单记录函数 1.ASCII 返回与指定的字符对应的十进制数;SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual; A A ZERO SPACE 65 97 48 32 2.CHR 阅读全文
摘要:
12、查询Score表中至少有5名学生选修的并以3开头的课程的平均分数。 13、查询分数大于70,小于90的Sno列。 select degree from score s where degree between 70 and 90; 14、查询所有学生的Sname、Cno和Degree列。 se 阅读全文