Try this
SELECT Count(*) AS N
FROM
(SELECT DISTINCT Name FROM table1) AS T;
Read this for more info.
More Related Contents:
- sql in ms-access [closed]
- Managing and debugging SQL queries in MS Access
- How do I write a full outer join query in access
- What’s the difference between DoCmd.SetWarnings and CurrentDB.Execute
- How to simulate UNPIVOT in Access?
- Table-less UNION query in MS Access (Jet/ACE)
- SQL Query – Using Order By in UNION
- Ms Access Query: Concatenating Rows through a query
- Date Difference between consecutive rows
- Pivoting data in MS Access
- coalesce alternative in Access SQL
- Top n records per group sql in access
- Access-SQL: Inner Join with multiple tables
- Address standardization within a database
- Does MS Access support “CASE WHEN” clause if connect with ODBC?
- How to SUM two fields within an SQL query
- How to use system username directly in MS Access query?
- Achieving ROW_NUMBER / PARTITION BY in MS Access
- Query for getting value from another record in same table and filter by difference greater than a gap threshold
- SQL Updating from an inner join
- Lightweight SQL database which doesn’t require installation [closed]
- Convert String to Date in MS Access Query
- HOW TO SELECT PREVIOUS ROW VALUE? [duplicate]
- MSAccess – query to return result set of earliest rows with a unique combination of 2 columns
- How do I perform update query with subquery in Access?
- SQL Update woes in MS Access – Operation must use an updateable query
- SQL SET DEFAULT not working in MS Access
- How do I create a decimal field in Access with Alter Table?
- Access substitute for EXCEPT clause
- Escaping ‘ in Access SQL