Linked Questions

511 votes
18 answers
750k views

I have upgraded my system and have installed MySql 5.7.9 with php for a web application I am working on. I have a query that is dynamically created, and when run in older versions of MySQL it works ...
Dan Bemowski's user avatar
  • 5,385
2 votes
1 answer
2k views

I'm using Oracle as database and Spring Data on a project with jBoss AS. A simple query with a GROUP BY doesn't work. This is the Repository code: public interface UseCaseRepository extends ...
notting65's user avatar
  • 143
0 votes
1 answer
1k views

I'm building a web application that has a search engine. I'm using NetBeans ( Java ) and SQL databases. I'm trying to (group by) the results of a search engine. So I don't get duplicate results and ...
Mimo Mohasseb's user avatar
3 votes
2 answers
479 views

I have some sporting results that i'd like to loop through and group under dates in a table. For example; |Sat, 20| |Game 1 Results| |Game 2 Results| |Sun, 21| |Game 3 Results| |Sat, 27| |Game 4 ...
DollarChills's user avatar
  • 1,096
-2 votes
1 answer
646 views

Suppose I have two table one is A and second is B. A has primary key Aid and B has foreign key B_foreignid which contain Aid i.e table A primary key and table B contain multiple Aid as foreign key.So ...
hari vallabh shukla's user avatar
0 votes
1 answer
503 views

The code runs ok when i don't have the last line (GROUP BY ch.name). When I include the line I receive an error listed below - I am trying to get a query where I can identify and group many things ...
Troy Draizen's user avatar
0 votes
1 answer
90 views

GROUP BY clause need an aggregate ?
dave's user avatar
  • 61
1 vote
2 answers
121 views

I am trying to group by dates 2 different tables. However, something is going wrong as I am not able to group by dates. I have 2 tables First "Budget" and Second "Sales Performance By Region" The ...
Eduardo Montero's user avatar
-1 votes
1 answer
56 views

I want to find duplicate of single word in my ItemDescription column. Please Look The Picture: https://i.sstatic.net/mBX7F.jpg .Not the duplicate value but the duplicate of single word with in the ...
Iman Nungki Kautsar's user avatar
0 votes
3 answers
53 views

SELECT HCIS,ServiceDate,PrimeInsMnemonic,TIN,Amount,SUM(Amount) AS Total FROM dbo.PbrChargeTransactions WHERE HCIS = 'ASL' AND ServiceDate Between'01/01/16' and '12/31/16' AND PrimeInsMnemonic = 'MED' ...
SkysLastChance's user avatar
0 votes
0 answers
49 views

I have a query in MySQL designed with multi JOINs. But the sum total value is different if I use a Group or just one total value. If I run the query like below I get e.b. 3 lines with the correct ...
couganet's user avatar
0 votes
0 answers
35 views

I need help with this query select ca_city from AM_PROVISIONAL where ca_province='پنجاب' group by ca_city when I run it, it shows the blank field but the database exists.
Awais's user avatar
  • 1,237