need help regarding creating views

  • Thread starter Thread starter cardinal
  • Start date Start date
C

cardinal

Guest
hi,
i am actually trying to create a view using the following syntax


CREATE VIEW Pa_only (name, number, st) AS
SELECT student_name, student#, state
FROM Students
WHERE state = ‘PA’;
but i am getting an error
saying syntax error in create table statement

plz help me out
 
There are no 'Views' in Access. You can take a look at creating a query.

I think when you run your code, Access thinks you are trying to create a table, and doesn't like the syntax.
 

Users who are viewing this thread

Back
Top Bottom