我已经通过谷歌云运行部署了一个应用程序。如何限制用户访问正在访问的URL?我希望只有一组特定的用户能够使用该 URL。有没有办法做到这一点?
我有三个表:Student、Roommate、Salary。
各列如下:
学生
student_id (Primary Key) | smallint
student_name | varchar(30)
Run Code Online (Sandbox Code Playgroud)
室友
student_id (Primary Key) | smallint
roommate_id | smallint
Run Code Online (Sandbox Code Playgroud)
薪水
student_id (Primary Key) | smallint
salary | float(10,2)
Run Code Online (Sandbox Code Playgroud)
现在我需要打印学生和室友的名字。好吧,我能够找到薪水相同的人。但我无法确定他们是否是室友。这个怎么做?