asp.net - ESQL aggregation `COUNT()` in nested query -


i have asp.net page request url parameter of sql ajax json response.

e.g.: url: 'gridservice.aspx?query=select value s.name, s.email modelcontainer.studentset s' information of name , email.

in order implement paging jqgrid, have add total count of query json response.

but following query not work esql:

select value count(0) (select value s.name, s.email modelcontainer.studentset s) 

this because 2 columns selected in child query. , following work:

select value count(0) (select value s modelcontainer.studentset s) 

since i don't want select unnecessary columns, i'm wondering if give example of making former 1 work. note neither name nor email pk.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -