SQL Reference

SQL – MySQL MID() Function

The MySQL MID() function extracts a substring from a string, starting at any position from the beginning or end of the string.

SQL Reference

SQL – MySQL NOW() Function

The MySQL NOW() function returns the current date and time as “YYYY-MM-DD HH:MM:SS” (string) or as YYYYMMDDHHMMSS.uuuuuu (numeric).

SQL Reference

SQL – MySQL NULLIF() Function

The MySQL NULLIF() function compares two expressions and returns NULL if they are equal. Otherwise, the first expression is returned.

SQL Reference

SQL – MySQL PERIOD_DIFF() Function

The MySQL PERIOD_DIFF() function returns the difference between two periods (both periods should be in the same format). The result will be in months.

HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress
HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress

Why 1SMARTchicken?

This site was built and is maintained to benefit my autistic son.
See More →

My Son's Name is Johnny

He was diagnosed as autistic quite late, at age four...
His story

Buy Me a Coffee

Thanks for your support!

1SMARTchicken Icon