SQL & MySQL Tutorials

Use this learning hub to move from SQL fundamentals to practical MySQL queries. Start with database and table basics, then learn filtering, aggregation, joins and functions before working through exercises, sample datasets and application examples.

Primary key constraint

Tables & Keys

Build tables with suitable data types, primary keys and AUTO_INCREMENT IDs.

Primary Key tutorial
MySQL full-text search with MATCH AGAINST

Search Data

Move from WHERE and LIKE to regular expressions and full-text search.

MATCH ... AGAINST tutorial

Start Here

TopicWhat you learn
InstallationInstall and choose tools for working with MySQL.
SQL IntroductionSQL command categories and the basic query workflow.
DatabaseCreate, select, inspect and remove databases.
Table & RecordsUnderstand tables, rows, columns and relational structure.
Data TypesChoose suitable numeric, date, text and binary types.
CREATE TABLECreate a table and define its columns.
PRIMARY KEYIdentify each row uniquely and design reliable keys.
SHOW TABLESList databases, tables and metadata.
Sample Student DataCopy the practice tables used throughout the tutorials.

Core Querying & Data Changes

TopicWhat you learn
SELECTRetrieve columns and rows from a table.
WHEREFilter rows with conditions.
INSERTAdd single or multiple records.
UPDATEChange existing data safely.
DELETERemove matching rows safely.
ORDER BYSort rows and add deterministic tie-breakers.
LIMITReturn a limited range of ordered rows.
DISTINCTReturn unique result rows.
NULLWork correctly with missing or unknown values.

Filtering, Conditions & Search

Aggregation & Window Functions

JOINs, Subqueries & Set Logic

Function Reference Pillars

Date & Time FunctionsDates, intervals, formatting, grouping and practical date queries.
Math FunctionsNumeric, logarithmic, trigonometric, statistical and conversion functions.
String FunctionsLength, extraction, trimming, search, conversion, comparison and formatting.

Popular standalone function examples: CHARACTER_LENGTH(), CONCAT(), REPLACE(), and RAND().

Schema & Data Management

Applications, Security & Practice




Subscribe to our YouTube Channel here



Image
plus2net.com

17-06-2020

SELECT STUDENTID,CASE WHEN MARKS < 50 THEN 'FAIL' ELSE TO_CHAR(Marks) END AS STATUS FROM ASSESSMENT




ImageSQL Video Tutorials










✖
We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
© 2000-2026 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer