more wikis
 

Syntax

From Scratchpad

Descriptions are to be provided alongside the term, but the usage of the syntax should go on the individual pages.

Contents

[edit] Command-line statements (not relevant for GUI's like phpMyAdmin?)

  • USE (sets default database)
  • DESCRIBE (show underlying data structure of table--potentially specific to column)
  • SHOW
    • ... ENGINES (which storage engines are available)
    • ... DATABASES (show list of database names on server)
    • ... TABLES (show list of table names in database)
    • ... COLUMNS (show underlying data structure of particular columns)
  • SET (defines variables)

[edit] Statements grouped by application

[edit] Database statements

[edit] Table statements

[edit] Basic commands

[edit] Clauses, Operators, Optional filler words?