Commit f1179e57 authored by zYne's avatar zYne

typo fix

parent e5c02c21
...@@ -224,7 +224,7 @@ Some advantages of the subqueries: ...@@ -224,7 +224,7 @@ Some advantages of the subqueries:
// finding all users which don't belong to any group 1 // finding all users which don't belong to any group 1
$query = "FROM User WHERE User.id NOT IN $query = "FROM User WHERE User.id NOT IN
(SELECT u.id FROM User u (SELECT u.id FROM User u
INNER JOIN u.Group g WHERE g.id = ?"; INNER JOIN u.Group g WHERE g.id = ?)";
$users = $conn->query($query, array(1)); $users = $conn->query($query, array(1));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment