[Problem Description] Run sdb being given "db.exec ( 'select substr (pad , 1,2) as sss, count (id) as count from sysbench_test.sbtest1 group by substr (pad, 1,2)')" , the error message is as follows: (SDBBP): 1 Uncaught Exception: -195 SQL syntax error [solution] is currently built-in SQL syntax does not support such functions, only support function associated with aggregation. Built-in SQL function is not comprehensive enough, it is generally recommended to use SQL engine (MySQL / PostgreSQL), but the standard SQL statements in support of the json operation is relatively weak. It is therefore recommended direct use of syntax native to operate. Specific reference character updatesubstr:http://doc.sequoiadb.com/cn/index−catid−1440656863−editionid−. 3 0 2 [ solutions must square law ] mesh before the set S Q L language method only support support S U m ( ) , C O U n- T ( ) , A V G ( ) , m A X ( ) , m I n- ( ) , F I R & lt S T ( ) ,L A S T ( ) , P U S H ( ) , A D D T O S E T ( ) , B U I L D O B J ( ) , m E R & lt G E A R & lt R & lt A Y S E T ( ) and other function number , does not support support S U BS T R & lt function number . Made in the set S Q L function can not be the whole surface , a generally push recommended by S Q L primer engine ( M Y S Q L / P O S T G R & lt E S Q L ) , but is a standard quasi S Q L language sentence in on the jS O n- in operation for the support holder is than compared weaker . Due to this pushing recommended direct contact with the primary students of language method to operate as , primary raw pragmatic method makes use substr command: db.cs.cl.find ({}, {a2]}}) with particular reference character update substr $:http://doc.sequoiadb.com/cn/index-cat_id-1440656863-edition_id-302