Posted: Tue Mar 16, 2010 10:03 pm Post subject: I know I am missing something
Ok, I am not new but I am missing something simple and I am not seeing it, dont we all do this at time?
If I run this query to a blank table it is fine, but to a table that has data and more fields I am getting an error
insert into 'retailwholesale'
select workingtable.retailprice from `workingtable`
WHERE workingtable.model = retailwholesale.model
Retail Price is only field I want to update to the 'retailwholesale' table. field name is retailprice in both tables. I know I have to define the field in the destination but using either insert into 'retailwholesale' (retailprice) or insert into 'retailwholesale.retailprice' also give errors. What am I missing?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum