Query Execution Error [SQE::0]

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '{res.id}' at line 1
[QueryExec]
SELECT
[ValueType] string

FOOT NOTE

Stack:
Level 1
Caller: show_exception
File: /home/lwuchurc/public_html/Lay/orm/SQL.php
Line: 292
Level 2
Caller: query
File: /home/lwuchurc/public_html/Lay/orm/SQL.php
Line: 156
Level 3
Caller: query_select
File: /home/lwuchurc/public_html/Lay/orm/EXTENSIONS/SelectorOOP.php
Line: 106
Level 4
Caller: select
File: /home/lwuchurc/public_html/res/server/model/__front/WebsiteRequest.php
Line: 117
Level 5
Caller: get_campus_detail
File: /home/lwuchurc/public_html/res/server/controller/__front/website_requests.php
Line: 21
Level 6
Caller: website_requests
File: /home/lwuchurc/public_html/bob_d_builder.php
Line: 306
Level 7
Caller: bob_the_builder
File: /home/lwuchurc/public_html/index.php
Line: 6
Env: DEVELOPMENT