I have 2 tables. tbl_names and tbl_section which has both the id field in them. How do I go about selecting the id field,
tbl_names
tbl_section
id
SELECT tbl_names.id, tbl_names.name, tbl_names.section FROM tbl_names, tbl_section WHERE tbl_names.id = tbl_section.id