sql - insert a value calculated from another table -
I want to make a query to enter the value calculated on another table. I do not want to use floating tables and I want to do everything in a single query. it's possible?
I tried this one down but it does not work.
Thanks
FEG
INSERT in MyTable (`DATE`,` name`, `total`) VALUES ('2010/01 / SELECT 'SUM (aValue)) for the second option, 01', 'Thunder',
Comments
Post a Comment