PL/SQL 怎么判断一个studentID 是否在student 表中 ??
SQL> select studentID from student;
STUDENTID
----------
1001
1002
1003
1004
1005
1201
1202
1203
1204
1205
10 rows selected.
-- 怎么判断 1003 是否在表中??
好想不能用 in ??
-- 这个函数怎么写》
isStudent(1003) return true
isStudent(2003) return false