I have the following structure of a MySQL first table:
http://www.clubmadam.com/zadatak.jpg
Structure of a MySQL second table:
http://www.clubmadam.com/country.jpg
I need an SQL query to count number of cities in each country and summarise population for all cities in country;
This is what I have so far:
$upit = "SELECT";
$rezultat = mysql_query($upit);
{
}
Can a MySQL handle this, or do I need to also use PHP? How would I do this?