View Single Post
Old 10-21-2012, 01:30 AM  
seeme
Stephen
 
Industry Role:
Join Date: Jun 2011
Location: Europe
Posts: 840
Quote:
Originally Posted by Kiopa_Matt View Post
Code:
SELECT banner.id AS banner_id, banner.program_id AS program_id, programs.site AS site_name FROM banner, programs WHERE banner.program_id = programs.id;
You have three columns returned -- banner_id, program_id, site_name.
seeme is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote