ORDER BY in queries

G

Guest

If I have two queries such as the following:

Query1: SELECT * FROM tblOne ORDER BY MyKey
Query2: SELECT * FROM Query1 WHERE MyDesc IS NOT NULL

Will query 2 retain the sort order from Query1?

-David
 
M

Marshall Barton

mscertified said:
If I have two queries such as the following:

Query1: SELECT * FROM tblOne ORDER BY MyKey
Query2: SELECT * FROM Query1 WHERE MyDesc IS NOT NULL

Will query 2 retain the sort order from Query1?


Not necessarily.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top