473,462 Members | 1,128 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Acces Help

how do i count column value for E.G column name 1,2,3,4 value a,a,b,b. so answer is a-2, b-2
Jun 16 '07 #1
1 1161
ADezii
8,834 Expert 8TB
how do i count column value for E.G column name 1,2,3,4 value a,a,b,b. so answer is a-2, b-2
Assuming a Table Name of Table1, and a Field named Value:
Expand|Select|Wrap|Line Numbers
  1. SELECT Table1.Value, Count(Table1.Value) AS Value_Count
  2. FROM Table1
  3. GROUP BY Table1.Value
  4. ORDER BY Table1.Value;
Jun 16 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

29
by: Hagen | last post by:
Hello, in a recent thread "speed of vector vs array" I read about the problem of the slow acces by addressing vector elements by indexing, unfortunately I see no workaround in my case. My...
4
by: Kona | last post by:
Hello, I would like to known if it is possible to limit acces to a UDB database on Solaris system through db2connect to only specified clients ? My client is a db2connect on Windows platform. ...
1
by: TTD_hck | last post by:
Hello, I need suggestions for the following. I have a acces 97 database and with a script command in acces 97, I can e-mail a file via outllok. I do this with the folowing command in Acces 97:...
0
by: John Smith | last post by:
I am currently using excel to manage a small database. The problem is my database is getting big and I need more then the 65000 lines excel can have. I have considered access but it lacks some...
0
by: sven_hub | last post by:
Hello everybody, I read interstings posts by Andy and Willy, but it didn't help regarding my configuration. I try to make a WMI query on a "distant" server, that is actually part of the same...
0
by: Nikeco | last post by:
Hello, I`m a little new to access and vb But i need to write a webservice client for a certified webservice, My certificate is stored in the keystore of microsoft and i don`t know how to...
3
by: aschauhan18 | last post by:
Hi Does Anybody help me Substitute Of Last() Function Of Ms Acces 2000 in Sql Server 2000 . This is my query...
0
by: bik | last post by:
Hi guys, it'll be great if some can help me, I have a problem geting directories Url in vista scaning the C:\\ disc, it says that the acces is denied, i had disabled the UAC, and have administrator...
3
by: tomPee | last post by:
Hi, I have the following problem: I am trying to make some sort of base class menu that i can then use to derive other menu's from. Those menu's should then be able to interact with each other....
6
by: zaankanter | last post by:
Hi, This my problem. After distribution of my acces-application I want the new user to be able to enter his Name-adress-etc values, in a one-row table called program-variables. These will be used...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.