Skip to content
Snippets Groups Projects
Commit f61cc571 authored by Martin Stähr's avatar Martin Stähr
Browse files

#40 add comment for sql query

parent 28c51737
No related branches found
No related tags found
No related merge requests found
......@@ -313,6 +313,7 @@ public class ManagementImpl implements Management {
MysqlConnect connect = new MysqlConnect();
connect.connect();
// TODO: implement correct join and finish implementation
//SELECT * FROM groupuser gu JOIN groups g ON g.id=gu.groupId JOIN users u ON u.email=gu.userEmail WHERE g.projectId = '1'
String mysqlRequest = "SELECT * FROM groups g " +
"JOIN groupuser gu u ON g.id=gu.groupId " + "JOIN users u ON gu.userEmail=u.email" +
"where g.projectId = ?";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment