Learning PHP and MySQL: by Knowledge flow by flow Knowledge
Author:flow, Knowledge [flow, Knowledge]
Language: eng
Format: azw3
Publisher: Knowledge flow
Published: 2015-03-16T04:00:00+00:00
IN
Equal to one of the multiple possible value
ID IN (100,120,134)
AS
Used to change name when viewing the result or the particular value
Select student AS ‘section a’
IS NOT DISTINCT FORM
Equal to value given or both are missing data
Loan IS NOT DISTINCT FORM-APPLICABLE
Conditions
SQL expression-
Case- It is one of the searching techniques of finding the matching case. It was used in SQL-92.
Example
CASE WHEN N > 0
THEN ‘POSITIVE VALUE’
WHEN<0
THEN ‘NEGATIVE VALUE’
ELSE
‘ZERO’
When- This condition is the source through which the data is compared with the output which is set is similar to its condition. That time the action which has to be take is defined using when the condition with the when statement is stated.
Example
CASE a
WHEN 1
THEN ‘ONE ORANGE’
WHEN 2
THEN ‘TWO ORANGES’
ELSE
‘CANNOT COUNT THAT VALUE’
Then- This statement is used to execute particular value or display particular value when the condition in WHEN statement is satisfied.
Example
CASE b
WHEN 3
THEN ‘three ORANGE’
WHEN 4
THEN ‘four ORANGES’
ELSE
‘CANNOT COUNT THAT VALUE’.
Else- When the when condition is not satisfied the process leads to another option, that is defined as else statement.
Example
WHEN 5
THEN ‘FIVE ORANGES’
ELSE
‘CANNOT COUNT THAT VALUE’.
End- It is used to terminate the program which leads the system to stop the execution.
Example
CASE x
WHEN 1
THEN ‘COUNT 1’
WHEN 2
THEN ‘COUNT 2’
ELSE ‘ERROR’
END
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9912)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9795)
The Mikado Method by Ola Ellnestam Daniel Brolund(9777)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8293)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7778)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7760)
Grails in Action by Glen Smith Peter Ledbrook(7696)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Windows APT Warfare by Sheng-Hao Ma(6808)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(6534)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6409)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(6404)
Kotlin in Action by Dmitry Jemerov(5062)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4316)
Functional Programming in JavaScript by Mantyla Dan(4037)
Solidity Programming Essentials by Ritesh Modi(3987)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3776)
Unity 3D Game Development by Anthony Davis & Travis Baptiste & Russell Craig & Ryan Stunkel(3719)
The Ultimate iOS Interview Playbook by Avi Tsadok(3694)
