I have two tables. One holds the ISO country codes and the associated country name. The other holds user info which contains a field called country
The tables are user and country respectively.
I want to get all of the country codes and only the user record that that relates to a specific record # for editing. Using the country table I want to create a dynamic select box that defaults to the option matching the country field in the users table.
I am a little confused how to use the SELECT statement for this.