Category: MySQL Tutorial

python tutorials and learn python

Created with Sketch.

MySQL IN

MySQL IN Summary: in this tutorial, you will learn how to use MySQL IN operator to determine if a specified value matches any value in a list of values. Introduction to the MySQL IN operator The IN operator allows you to determine if a value matches any value in a list of values. Here’s the…
Read more

MySQL OR Operator

MySQL OR Operator Summary: in this tutorial, you will learn how to use the MySQL OR operator to combine Boolean expressions. Introduction to the MySQL OR operator The MySQL OR operator is a logical operator that combines two Boolean expressions. A OR B Code language: SQL (Structured Query Language) (sql) If both A and B…
Read more

MySQL AND Operator

MySQL AND Operator Summary: in this tutorial, you will learn how to the MySQL AND operator to combine multiple Boolean expressions to filter data. Introduction to MySQL AND operator MySQL doesn’t have a built-in Boolean type. Instead, it uses the number zero as FALSE and non-zero values as TRUE. The AND operator is a logical…
Read more

MySQL DISTINCT

MySQL DISTINCT Summary: in this tutorial, you will learn how to use the MySQL DISTINCT clause in the SELECT statement to eliminate duplicate rows in a result set. Introduction to MySQL DISTINCT clause When querying data from a table, you may get duplicate rows. To remove these duplicate rows, you use the DISTINCT clause in the SELECT…
Read more

MySQL WHERE

MySQL WHERE Summary: in this tutorial, you will learn how to use the MySQL WHERE clause in the SELECT statement to filter rows from the result set. Introduction to MySQL WHERE clause The WHERE clause allows you to specify a search condition for the rows returned by a query. The following shows the syntax of the…
Read more

MySQL ORDER BY

MySQL ORDER BY Summary: in this tutorial, you will learn how to sort the rows in a result set using the MySQL ORDER BY clause. Introduction to the MySQL ORDER BY clause When you use the SELECT statement to query data from a table, the order of rows in the result set is unspecified. To…
Read more

MySQL Select

MySQL Select Summary: in this tutorial, you’ll learn how to use the MySQL SELECT statement without referencing any table. Typically, you use a SELECT statement to select data from a table in the database: SELECT select_list FROM table_name; Code language: SQL (Structured Query Language) (sql) MySQL doesn’t require the FROM clause. It means that you…
Read more

MySQL SELECT

MySQL SELECT Summary: in this tutorial, you will learn how to use the basic form of the MySQL SELECT statement to query data from a table. Introduction to MySQL SELECT statement The SELECT statement allows you to select data from one or more tables. To write a SELECT statement in MySQL, you use this syntax:…
Read more

MySQL Basics

MySQL Basics This MySQL basics section teaches you how to use SQL statements to manage data in MySQL. It’ll provide you with everything you need to know to work with MySQL effectively. Section 1. Querying data SELECT FROM – show you how to use simple SELECT FROM statement to query the data from a single…
Read more

How to Load the Sample Database into MySQL Server

How to Load the Sample Database into MySQL Server Summary: in this tutorial, you will learn how to load the sample database into your MySQL Server using the mysql program. Step 1 Download the classicmodels database from the MySQL sample database section. Step 2 Unzip the downloaded file into a temporary folder. You can use…
Read more