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

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -