Where do you write SQL code?
As you seem (like me ) very new to SQL then the easiest way to start this off is:
1 - open the access DB you are workig on
2 - click in to the QUERY OBJECT
3 - DOUBLE click on Create Query In Design View
4 - Close the SHOW TABLE Box that appears
5 - In VIEW change to SQL or if SQL appears in the top left Menu bar click that (depends on Access version you are using)
6 - You will be presented with SQL View and should have "SELECT;" already in place
7 - remove this and add your code
8 - save the query as what ever name and run it
If you have input correctly you'll have your table there. If you click again Access will tell you you already have the desired table.
Hope that helps you start off ground up
Gareth