How to fetch rows from a table with Condition? | WHERE Clause in #shorts | Basic Queries of MySQL

preview_player
Показать описание
Retrieving a Subset of Rows from a Table | How to fetch rows from a table with Condition? | WHERE Clause in #shorts | Basic Queries in MySQL Hindi

Problem
You have a table and want to see only rows that satisfy a specific condition.
Solution
Use the WHERE clause to specify which rows to keep. For example, to view all
employees assigned to department number 10:
1 select *
2 from emp
3 where deptno = 10
Discussion
The WHERE clause allows you to retrieve only rows you are interested in. If the
expression in the WHERE clause is true for any row, then that row is returned.
Most vendors support common operators such as equal to, greater than, less than etc Additionally,
you may want rows that satisfy multiple conditions; this can be done by specifying
AND, OR, and parentheses, as shown in the next recipe.

Related Tags:

where clause in mysql,where clause in sql,mysql where clause,mysql,where clause,where clause in mysql in hindi,sql where clause,mysql tutorial,mysql tutorial for beginners,mysql tutorial in hindi,mysql where clause in hindi,where clause in mysql query,using where clause in mysql,where,how to use where clause in mysql,mysql in windows,where vs having clause,how to use where clasuse in mysql,having clause in sql,sql where clause in hindi,install mysql,mysql,mysql tutorial,learn mysql,mysql course in hindi,mysql tutorial in hindi,mysql tutorial for beginners,mysql course,mysql in hindi,mysql crash course,conditional operators in mysql,mysql in windows,select data using where condition in mysql,count with if condition in mysql query - mysql,how to give multiple conditions in mysql,install mysql,how to use conditional operators in mysql,conditional operators tutorial in mysql,mysql or condition
Рекомендации по теме