sorting - msaccess sql select sort on secondary select -


MSAccess 2003

I have a SQL query, such as the following:

 ID, (Select from number of tablets (*) where TableB.ID = TableA.ID) from table ACC to 2 ACC according to "2 order" according to 2 ACC  

T produces an error - but it is certain that the sub-query (or secondary selection) is not sorted back by the value of "calculation (*)".

What do I need to do in order to sort back based on the value of "calculation (*)"?

As a secondary question, I use the name of "tablebread" in order "2"?

You simply wrap your SQL statement with an external SQL statement.