SQL is a language for querying and manipulating databases, while MySQL is a database management system that uses SQL. MySQL accepts SQL commands and returns data. A superkey uniquely identifies rows in a table. A candidate key is a minimal superkey, while a primary key is a chosen candidate key for a table. AJAX allows web pages to be updated asynchronously by exchanging data with a web server behind the scenes, without reloading the entire page.