For VBA, open a module, find a keyword you don't know, put the cursor on the keyword, and hit F1
For SQL, build queries in the QBE grid, and then change the query view to SQL View. Start with small queries to get the structure then gradually make them more complex. There's not a lot to SQL.