- Keywords and spaces.
- Numbers (0-9), lowercase letters (a-z), uppercase letters (A-Z), the dollar sign ($), and the underscore (_).
- CREATE DATABASE yourschema;
- The Output panel.
- With a natural key, you are using unique columns, and the data in those columns exists outside the database (that is, in the business world). With a surrogate key, you are creating a column to hold a unique value for each row, and that value isn't used anywhere outside the database.
- # this is a single line comment
- /*
this is a
multi line
comment
*/ - Clustered indexes sort the data in order on disk and nonclustered indexes don't.
- If two or more queries are requesting the same data, creating locks that won't be resolved, MySQL will decide which is easiest to kill (usually based on how long it will take to roll back any given query).
- Yes.