mysql-error-1111
trying to get the overdue members by the due day
this is the actual query Select members.member_Id, membertomships.memberToMship_DueDay, sum(memberToMship_Char开发者_开发知识库gePerPeriod)-sum(memberAccTran_Value) as StillDue[详细]
2023-03-19 05:18 分类:问答mySQL query error 'Invalid use of group function'
I have set up a price comparison tool that crawl开发者_如何学JAVAs websites and then detects price changes. I have a table that contains the price, the items id and the scan id. I have another table w[详细]
2023-03-10 20:43 分类:问答mysql nested count - how?
Here\'s the initial query: SELECT COUNT(column) FROM table GROUP BY column; This gives me something like the following:[详细]
2023-03-08 10:22 分类:问答Update a column with a COUNT of other fields is SQL?
I have the following tables set up: Articles: ID | TITLE | CONTENT | USER | NUM_COMMENTS COMMENTS ID | ARTICLE_ID | TEXT[详细]
2023-03-08 06:38 分类:问答MySQL: UPDATE with a JOIN and a GROUP_CONCAT
Is this possible? I have 2 tables, Customers and Orders. Now I want to fill a column in Customers with all order id\'s of that customer (comma separated).[详细]
2023-03-08 00:55 分类:问答sql query help? Sql newbie question
I keep getting this stateme开发者_StackOverflow社区nt \"Invalid use of group function\" for this query[详细]
2023-03-06 14:37 分类:问答why this query is faling?
select max( sum(duration) ),cd from rent group by cd;开发者_运维问答 . ERROR 1111 (HY000): Invalid use of group function From documentation - group (aggregate) functions that operate on sets of va[详细]
2023-02-26 10:42 分类:问答mysql group concat
how can I group concat? here is my query select t.date, group_concat(count(*)) from table1 t group by t.date[详细]
2023-02-22 06:06 分类:问答MySQL select count(*) statement excluding minimium value
I have a simple MySQL select statement: SELECT COUNT(*) AS COUNT FROM MY_TABLE WHERE TIME_STAMP > ?[详细]
2023-02-17 02:45 分类:问答Calculating commission
I am trying to calculate com开发者_高级运维missions payable to clients at the beginning of every month (providing their commission is more then £25).[详细]
2023-02-07 12:51 分类:问答