I still live in this ambiguity: conceptually what's the difference between a statement and a query in SQL? Can anybody give a definition for each of them? It would be useful, for example when choosing variables names inside programs in a way that will be clear for everybody. Thanks!
ADDITIONALLY: How can I call a chunk of SQL code made by more than one statement where statements are separated by a semicolon (;
)? Who already replied can edit his answer. Many thanks!