There are three tables in the database associated with foreign keys.
-- `country` `id` `name` -- `region` `id` `name` `country_id` -- `city` `id` `name` `region_id` Using the generator, Gii generated code for the city table. With the help of GridView derived the following data from the fields: Name of the Region, Name of the City, but I cannot understand how to display the name of the Country.
How to display so that all the names (Country, Region, City) were in the same table using the Gridview ?