cags Posted October 2, 2009 Share Posted October 2, 2009 Just a quick question, since joining the forums a few days ago I've seen alot of code like... FROM image m1 I've never seen this before, is that some sort of short hand to allow you to use m1 in-place of the table name for the rest of the query? Or something else I've missed? Quote Link to comment https://forums.phpfreaks.com/topic/176325-solved-space-in-from-syntax/ Share on other sites More sharing options...
corbin Posted October 2, 2009 Share Posted October 2, 2009 Yes, that's exactly what it is. The full syntax is FROM something AS alias Quote Link to comment https://forums.phpfreaks.com/topic/176325-solved-space-in-from-syntax/#findComment-929353 Share on other sites More sharing options...
cags Posted October 2, 2009 Author Share Posted October 2, 2009 Excellent, I've seen (and used) AS before, just never seen the short hand. Thanks for confirming it. Quote Link to comment https://forums.phpfreaks.com/topic/176325-solved-space-in-from-syntax/#findComment-929360 Share on other sites More sharing options...
corbin Posted October 3, 2009 Share Posted October 3, 2009 No problem . Quote Link to comment https://forums.phpfreaks.com/topic/176325-solved-space-in-from-syntax/#findComment-929438 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.