On 11/10/2014 4:40 AM, Prakash Premkumar wrote:
                            =
                          /    \
               salary        +
                              /   \
                            3     3
                           /
                          *
                       /    \
                      5     4

This tree makes no sense whatsoever - it somehow has a literal as an inner node, with two children. In a correct expression tree, literals would be in the leaves and operators in the inner nodes, with each subtree representing one operand.
--
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to