我有一个问题,检索列值,如依赖于其他列,我试图用外连接和嵌套选择,但我想我找不到我的脑袋里的解决方案
Categories Table:
ID Name ParentID
--------------------------------
1 Software NULL
2 Domains NULL
3 Games NULL
4 Accounts NULL
5 Others NULL
6 Security Software 1
7 Operating Systems 1
8 Browsers 1
9 Developer Tools 1
10 .com Domains 2
11 .net Domains 2
12 .org Domains 2
13 Online Games 3
14 PC Games 3
15 PS Games 3
16 RapidShare Accounts 4
17 4shared Account 4
18 Web Templates 5
19 Flash Intros 5
20 Firewall 6 …Run Code Online (Sandbox Code Playgroud) 可能重复:
我需要一个快速的运行时表达式解析器
如果有人在我的页面上的文本框中键入x*y ^ z来计算后面代码中的等式并得到结果,我怎么做呢?