Gayner Posted August 26, 2009 Share Posted August 26, 2009 SELECT f.*, c.id as cat_id, c.position as cat_position, c.state as cat_state, c.name as cat_name, c.description as cat_desc, c.image, m.member_name as mod_name, mr.desktop, m.member_id as mod_id, m.is_group, m.group_id, m.group_name, m.mid FROM ( ibf_forums f, ibf_categories c ) LEFT JOIN ibf_moderators m ON (f.id=m.forum_id) LEFT JOIN ibf_members mr ON (mr.id=f.last_poster_id) When f.* Does that mean it's selecting all for only ibf_forums or for all the tables listed, ibf_members, ibf_categories, etc? Quote Link to comment https://forums.phpfreaks.com/topic/171913-solved-f-mean-selecting-all-querys-or-only-the-f/ Share on other sites More sharing options...
ignace Posted August 26, 2009 Share Posted August 26, 2009 f is an alias for ibf_forums thus f.* is the same as ibf_forums.* and thus it selects all columns of that table. Quote Link to comment https://forums.phpfreaks.com/topic/171913-solved-f-mean-selecting-all-querys-or-only-the-f/#findComment-906486 Share on other sites More sharing options...
Gayner Posted August 26, 2009 Author Share Posted August 26, 2009 f is an alias for ibf_forums thus f.* is the same as ibf_forums.* and thus it selects all columns of that table. ty sir Quote Link to comment https://forums.phpfreaks.com/topic/171913-solved-f-mean-selecting-all-querys-or-only-the-f/#findComment-906497 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.