MariaDB FROM Clause

MariaDB FROM Clause is used to fetch data from a table. It is also used to join tables which you will study later.

Syntax:


SELECT columns_names FROM table_name; 

Example:

Let's retrieve all employees from the table "Employees".


SELECT * FROM Employees; 

Output:

Mariadb From clause 1

Example2:

Select a specific column from the "Employees" table.


SELECT name FROM Employees; 

Output:

Mariadb From clause 2