Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Do I Define Alias in MS ACCESS?

Status
Not open for further replies.

gys67

Programmer
Nov 4, 2003
19
US
Hi I am trying to convert a pl/sql query in MS ACCESS query.
SELECT student_name FROm student s WHERE EXISTS (SELECT * FROM math_club m
WHERE m.student_id = s.student_id)


NOw How do I write this in MS Access?

Please Help
Thanks

 
The AS statement is your option to do an alias some SQL languages allow you to leave it out but it is part of the all the standard SQL that exist.


SELECT student_name FROm student s WHERE EXISTS (SELECT * FROM math_club AS m
WHERE m.student_id = s.student_id)



Steve
 
Thanks SteveR77

It works !!!

Thanks a lot again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top