mysql field in table -


select * users select * country 

the users , country tables have same field called "city".
table country have field "prov".

i need add field "prov" in users table.

select u.city,c.prov users u join country c on u.city = c.city; 

Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

java - How to put two numbers separated by a space into two different arrays -

c++ - Why am i getting wrong values when performing PE base relocation? -