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',  
<(
from / 01 ',' Thunder ', SM (Ave)

Comments

Popular posts from this blog

php - multilevel menu with multilevel array -

c# - TypeConverter in propertygrid only converts from string, not to -

jQuery UI: Datepicker month format -