rooot
Новичок
Выборка из ххх таблиц с условием
SELECT * FROM `angelscity_shop`,`capitalcity_shop`,`demonscity_shop`,`devilscity_shop`,`emeraldscity_shop`,`mooncity_shop`,`newcapital_shop`,`sandcity_shop`,`suncity_shop` where item_type='1'
Query failed : Column 'item_type' in where clause is ambiguous
направте плиз на путь истинный......
-~{}~ 09.05.06 11:36:
SELECT * FROM `angelscity_shop`,`capitalcity_shop` where `angelscity_shop`.item_type='1' and `capitalcity_shop`.item_type='1'
вот прочел и попытался вывести из 2-х таблиц, помойму записи дублируются, причем много раз ((((
SELECT * FROM `angelscity_shop`,`capitalcity_shop`,`demonscity_shop`,`devilscity_shop`,`emeraldscity_shop`,`mooncity_shop`,`newcapital_shop`,`sandcity_shop`,`suncity_shop` where item_type='1'
Query failed : Column 'item_type' in where clause is ambiguous
направте плиз на путь истинный......
-~{}~ 09.05.06 11:36:
SELECT * FROM `angelscity_shop`,`capitalcity_shop` where `angelscity_shop`.item_type='1' and `capitalcity_shop`.item_type='1'
вот прочел и попытался вывести из 2-х таблиц, помойму записи дублируются, причем много раз ((((