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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -